[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: combining two variables to generate XPATH
bix xslt wrote:
Is that FAQ outdated?? I know that the following code works just fine: This is legal, as long as $node represents a nodeset (which it does here).
This is not legal. The only place a variable reference can appear in a Path Expression is at the beginning. $node is OK here, but $branch is not. Various previous messages suggest using evaluate() or name tests to solve your problem. They should work. -- -------------------------- Jeff Kenton DataPower Technology, Inc. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|