- From: Max Froumentin <mf@w3.org>
- Date: Tue, 18 Jun 2002 15:38:33 +0200
- To: Darya Said-Akbari <darya_akbari@yahoo.com>
- Cc: batik-users@xml.apache.org, www-svg@w3.org, Vincent Hardy <vincent.hardy@sun.com>
Darya Said-Akbari <darya_akbari@yahoo.com> writes:
> As you mentioned, I also want to maintain the
> attributes in infile.svg. However here you can see
> that this is not the case.
>
> Do you have an idea?
Ah, er, yes. My mistake:
<xsl:template match="svg:text[.='anchorA']">
<svg:text>
<xsl:copy-of select="@*"/>
<xsl:value-of
select="document('text.xml')/texts/txt[@id='anchorA']"/></svg:text>
</xsl:template>
</xsl:stylesheet>
Attributes should be created after an element.
Max.
Received on Tuesday, 18 June 2002 09:39:00 UTC