Subject: RE: [xsl] Context node is within a variable - how to get back? From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Sat, 30 Jun 2007 11:44:10 +0100 |
> This doesn't work because when I attempt to apply-templates > to /Root/Body, the context appears to be limited to the > variable - how can I get back to the document? Have a global variable pointing to the principal source document <xsl:variable name="root" select="/"/> so you can always refer to it. Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Context node is within a vari, Tristan Stevens | Thread | Re: [xsl] Context node is within a , Tristan Stevens |
Re: [xsl] XSL 2.0 and .NET and VB, Jirka Kosek | Date | Re: [xsl] Replacing default namespa, Martin Honnen |
Month |