Re: Variables in XPath expressions

Subject: Re: Variables in XPath expressions
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 29 Mar 2000 12:09:42 GMT
> It can only be used when adding an attribute to an element
> which is to go into the output tree?
> And nowhere else?

No.

It can only be used in an attribute declared to be an "Attribute Value
template" in the XSLT recommendation.

There is no other possible description, the list of which elements take
AVT arguments and which don't is somewhat arbitrary. You just have
to check in each case. But attributes (select, test etc) that take xpath
expressions are never interpreted as AVT, as Michael said.

David


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


Current Thread