This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: computed path expression


You can't do this in standard XSLT. Use the saxon:evaluate() extension
function:
<xsl:apply-templates select="saxon:evaluate($element)"/>

Mike Kay

> If I compute a path expression on the fly, how can I select it?
> 
> For example:
> <xsl:variable name="element">foo/bar</xsl:variable>
> 
> <xsl:apply-templates select="$element"/>
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]