|
[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: Referencing original root when using document func
Subject: Re: Referencing original root when using document function
From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>
Date: Tue, 01 Apr 2003 14:45:01 +0200
|
Cams Ismael wrote:
<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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
| RSS 2.0 |
|
| Atom 0.3 |
|
|