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

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