- From: Eyrignoux Marc <eyrignou@yahoo.fr>
- Date: Tue, 27 Aug 2002 18:20:14 +0200 (CEST)
- To: www-xsl-fo@w3.org
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.com
Received on Tuesday, 27 August 2002 12:20:16 UTC