|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Compact XPath syntax
At 2007-12-26 18:17 +0530, Mukul Gandhi wrote:
Incidentally, for the above example, I would write the expression as: //c[parent::b] //c[parent::f] (in these examples, we filter nodes using a predicate). Have you considered instead the following equivalent addresses: //b/c //f/c or //c (if you want to select all 'c' elements everywhere in the tree). Remembering, though, in all the above cases that "//" can be an expensive XPath address and should be used sparingly. I hope this helps. . . . . . . . . . . . Ken
|
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
|

Cart








