Hi everybody, Thank you for the answer. Both "." and "node()" worked for the node itself. I have another question: I want to copy the content of another node: Here is my algorithm: " If you encouter the tag <img>, then you must copy the content of the tag <image>". I tried to write something like that, but it didn't work: <xsl:template match="static/img" foa:name="image" foa:class="image" foa:group="image"> <fo:instream-foreign-object foa:name="image" foa:group="image" xsl:use-attribute-sets=" image"> <xsl:copy-of select="static/image"/> </fo:instream-foreign-object > </xsl:template> Any solution ? By the way, does anyone know where I can get usable informations about XSLT (I tried http://www.w3.org/TR/2002/WD-xslt20-20020816/, but I find the site unclear). Thanks in advance, Marc. > If I understand the problem correctly, try replacing > the xsl:apply-templates with: > <xsl:copy-of select="."/> > Worked for me. (I also had to declare the svg > namespace, presumably you've taken care of that.) ===== C'est au pied du mur qu'on voit le mieux le mur. ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.comReceived on Tuesday, 27 August 2002 12:20:16 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:09 GMT