[Home] [By Thread] [By Date] [Recent Entries]
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,
|

Cart



