This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: My favourite XSLT enhancement requests
> 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