Hi
I have an xml file that has various nodes within each section.
What I would like to be able to do using xpath queries is to select all <item> nodes that dont have a specific child node of <broaderItem>.
Example snippet:
SO in the example above I would only want to have the first node returned but not the second as it contains the <BroaderItem> tag.
Any help would be greatly appreciated.
thanks in advance
nidgep
I have an xml file that has various nodes within each section.
What I would like to be able to do using xpath queries is to select all <item> nodes that dont have a specific child node of <broaderItem>.
Example snippet:
Code:
[COLOR=blue]
<Item Id="1" ConceptId="1" Obsolete="false" AddedInVersion="2.00" LastUpdatedInVersion="2.00" AToZ="false" Category="true" Preferred="true">
<Name>Adult care services</Name>
<ScopeNotes>All matters relating to the help and support of adult individuals.</ScopeNotes>
</Item>
<Item Id="2" ConceptId="2" Obsolete="false" AddedInVersion="2.00" LastUpdatedInVersion="2.00" AToZ="false" Category="true" Preferred="true">
<Name>Carers</Name>
<ScopeNotes>Information relating to carers. Carer files would typically be organised by name and some form of identifier.</ScopeNotes>
<BroaderItem Id="1" ConceptId="1" Default="true">Adult care services</BroaderItem>
</Item>[/color]
Any help would be greatly appreciated.
thanks in advance
nidgep