Cams Ismael wrote:
<xsl:for-each select="document('')/*/par:paramfields/par:paramfield">
<xsl:variable name="value" select="./@field"/>
<xsl:apply-templates select="/traps/trap[(_at_)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