[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Folks,
Is there a way in XSL to take an XPath query described in a parameter or variable, and reference this parameter in the select attribute of say, xsl:for-each to iterate through the node set described by the query.
ie.
<xsl:variable name="myPath" select="'/my/XPath/@query'"/>
<xsl:for-each select="{$myPath}">
...
</xsl:for-each>
We were under the impression that using the curly braces might achieve this, but haven't had any luck so far.
Regards,
James W.
Does XSL support an eval?
Subject: Does XSL support an eval? From: JamesW@xxxxxxxxxxxxxxx Date: Tue, 2 May 2000 02:23:10 +1000 |
Folks,
Is there a way in XSL to take an XPath query described in a parameter or variable, and reference this parameter in the select attribute of say, xsl:for-each to iterate through the node set described by the query.
ie.
<xsl:variable name="myPath" select="'/my/XPath/@query'"/>
<xsl:for-each select="{$myPath}">
...
</xsl:for-each>
We were under the impression that using the curly braces might achieve this, but haven't had any luck so far.
Regards,
James W.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: numbering sorted list, David Carlisle | Thread | Re: Does XSL support an eval?, David Halsted |
Re: Processor version detection sty, Tony Graham | Date | Re: Processor version detection sty, David Marston/CAM/Lo |
Month |