[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Best Way to Select Following Elements With An Anc
On 22/03/2014 12:46, Eliot Kimber wrote
: I have a document where each child of the root element establishes a unique content with regard to the output result (in this case, corresponding to InDesign frames). well if you know there's a dita acestor, count(ancestor::dita | $myDitaAncestor) = 1 can be written ancestor::dita is $myDitaAncestor you could also do following::* union $myDitaAncestor//* but I'd guess that's less efficient. Something tells me you should be using a key, but keying the dita elements on all its descendents sounds a bit expensive.
|
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
|