Xpath to select nodes with distinct attribute value
Getting a list of nodes with distinct value in an attribute using xpath (and a valid one for an orchestration's expressoin shape as well...) -
/*[local-name()='MyElement' and namespace-uri()='MyNamespace']/*[not(@MyAttribute=preceding-sibling::*/@MyAttribute)]
/*[local-name()='MyElement' and namespace-uri()='MyNamespace']/*[not(@MyAttribute=preceding-sibling::*/@MyAttribute)]

1 Comments:
slick. perfect. thank you
By
jeremyBok, at 02/02/07 15:26
Post a Comment
<< Home