xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: Does XSL support an eval?


Subject: Re: Does XSL support an eval?
From: "David Halsted" <halstedd@xxxxxxxxxx>
Date: Mon, 1 May 2000 13:35:14 -0400

Try Saxon, which includes just such a function.
 
Dave Halsted
----- Original Message -----
From: JamesW@xxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxx
Sent: Monday, May 01, 2000 12:23 PM
Subject: Does XSL support an eval?


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
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor