[Home] [By Thread] [By Date] [Recent Entries]
Hi Folks, I am positioned in the XML tree at the first <A> element, within a <parent> element. Requirement: There must be only one <A> element within <parent>. Here are two XPath expressions to check that there is only one <A> element: count(../A) eq 1 or not(following-sibling::A) Which XPath expression evaluates faster? /Roger
|

Cart



