xsl-list
[Top] [All Lists]

RE: XPATH query from variable

2003-03-03 17:02:38

<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(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


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



<Prev in Thread] Current Thread [Next in Thread>