[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: ancestor
Your equation says...
select all the 'inlineequation' elements from the document except those whom have an ancestor that has any child whose literal value is equal to the string 'table'. what you want to say is... select all the inlineequation elements that do not have an ancestor who local-name() is 'table'. //inlineequation[not(ancestor::*[local-name() = 'table')] or better yet just state... //inlineequation[not(ancestor::table)] You're right, this is expensive... but without sample XML I can't suggest any optimizations for you. None-the-less, this will get you started down the right path. Best regards, <M:D/> Jiang, Peiyun wrote: Hi,
|
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
|