Re: My favourite XSLT enhancement requests

Subject: Re: My favourite XSLT enhancement requests
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 15 Sep 2000 10:42:45 GMT

> If anybody knows how to get back to the original documents once you've
> done apply-templates on a document(), I'd appreciate a hint.

you mean like this

<xsl:stylesheet ......>

<xsl:variable name="root" select="/">

<xsl:template match="mumble">
  <xsl:apply-templates
  select="document('foo.xml',extra-node-for-paul)"/>
...



<xsl:template match="mumblemumble">
  <xsl:apply-templates
  select="$root/take/me/home"/>
...

David


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread