- From: Darya Said-Akbari <darya_akbari@yahoo.com>
- Date: Wed, 19 Jun 2002 14:22:51 +0200 (CEST)
- To: Max Froumentin <mf@w3.org>
- Cc: batik-users@xml.apache.org, www-svg@w3.org, Vincent Hardy <vincent.hardy@sun.com>
Max, all is running well now. --- Max Froumentin <mf@w3.org> writes: <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> For better performance, I don't use the filesystem for the XML file but store the it directly to an org.w3c.dom.Document object. With your approach I am forced to save the XML file to the filesystem. Is there another way to make the org.w3c.dom.Document object available to "<xsl:value-of select="document('text.xml')/texts/txt[@id='anchorA']"/></svg:text>" ? regards, Darya __________________________________________________________________ Gesendet von Yahoo! Mail - http://mail.yahoo.de Yahoo! präsentiert als offizieller Sponsor das Fußball-Highlight des Jahres: - http://www.FIFAworldcup.com
Received on Wednesday, 19 June 2002 08:22:52 UTC