[Home] [By Thread] [By Date] [Recent Entries]
Louis,
Two things. First, your template isn't matching since you don't have the namespaces lined up. Try writing your template like so: <xsl:template match='svg:svg' xmlns:svg="http://www.w3.org/2000/svg"> ... </xsl:template> (Even better would be to put that namespace declaration up at the top of the transform, with the others in the xsl:stylesheet start tag.) This way, your template will actually match the element in your source. Second: change your xsl:value-of (which says copy the string value of the node to output) to xsl:copy-of (not xsl:copy). xsl:copy-of makes a copy of the node (what's called a "deep copy", with all attributes, descendants etc. intact). I hope that helps, Wendell At 11:08 AM 5/8/2003, you wrote: The XSL looks like: ====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ====================================================================== XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



