Given an XML with the following set up:
<eCrow.CrowGroup CorrelationID="ec367934-e7bd-4213-b0e5-d149c57eec61" >
<eCrow.01>fu</eCrow.01>
<eCrow.02>bar</eCrow.02>
<eCrow.03 CorrelationID="bfe7d35b-bbc1-4591-8d0d-9d42252039bc" >03003</eCrew.03>
</eCrow.CrowGroup>
How do I manage to get XPath to select the CorrelationID from within the node header: <eCrow.CrowGroup CorrelationID="ec367934-e7bd-4213-b0e5-d149c57eec61" >
, NOT the CorrelationID from eCrow.03
.
In regards to the link suggestion, I am probably doing something wrong but //eCrew.CrewGroup/*@CorrelationID
just selects the entire node.