RE: [xsl] XPATH query from variable

Subject: RE: [xsl] XPATH query from variable
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Tue, 4 Mar 2003 00:02:38 -0000
> 
> <xsl:value-of select="$clickThroughImages/../../position()"/>
> 

This is a syntax error in XPath 1.0 ("position()" is not a valid step in
a path expression), and it is a type error in XPath 2.0 (the rhs operand
of "/" must have type "node*").

So a discussion as to why it doesn't work is somewhat academic.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


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


Current Thread