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: Variables in XPath expressions



> 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

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