W3C home > Mailing lists > Public > www-svg@w3.org > June 2002

Re: [Fwd: Merging SVG and XML with XSL Transformation?]

From: Darya Said-Akbari <darya_akbari@yahoo.com>
Date: Wed, 19 Jun 2002 14:22:51 +0200 (CEST)
Message-ID: <20020619122251.74091.qmail@web20505.mail.yahoo.com>
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 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:22 GMT