Subject: Re: [xsl] Referencing original root when using document function From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx> Date: Tue, 01 Apr 2003 14:45:01 +0200 |
<xsl:for-each select="document('')/*/par:paramfields/par:paramfield"> <xsl:variable name="value" select="./@field"/> <xsl:apply-templates select="/traps/trap[@type=$value]"/> </xsl:for-each>
However this doesn't work. How to I indicate in the Xpath expression, that I want to use my original document again ?
Save original root into a variable before for-eaching. -- Oleg Tkachenko http://www.tkachenko.com/blog Multiconn Technologies, Israel
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Referencing original root, David Carlisle | Thread | RE: [xsl] Referencing original root, Jarno . Elovirta |
RE: [xsl] How do you set the action, Michael Kay | Date | [xsl] Parameterized sort, Kim Tran |
Month |