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:
<xsl:template match='svg'>
<fo:block space-before.optimum="2pt" space-after.optimum="2pt">
TEST
<fo:instream-foreign-object>
<xsl:value-of select="."/>
<!--<xsl:copy/>--><!--also tried this-->
</fo:instream-foreign-object>
</fo:block>
</xsl:template>
======================================================================
Wendell Piez
mailto:wapiez(_at_)mulberrytech(_dot_)com
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