Topic
  • 2 replies
  • Latest Post - ‏2012-10-03T19:20:27Z by MarkoRocko1
MarkoRocko1
MarkoRocko1
4 Posts

Pinned topic XPath master please advise

‏2012-10-03T18:25:20Z |

XML - with this
<OBR>
<OBX ID="A1">
<SetIDOBX>1</SetIDOBX>
<Name>Tom</Name>
</OBX>
<OBX ID="B2">
<SetIDOBX>2</SetIDOBX>
<Name>Dick</Name>
</OBX>
<OBX ID="C3">
<SetIDOBX>3</SetIDOBX>
<Name>Harry</Name>
</OBX>
</OBR>

Need this returned.

<OBX ID="B2">
<SetIDOBX>2</SetIDOBX>
<Name>Dick</Name>
</OBX>
<OBX ID="C3">
<SetIDOBX>3</SetIDOBX>
<Name>Harry</Name>
</OBX>

Can anyone send me an xpath expression to do this?
If you send more than one way that would be a bonus. Thanks!!!!!
Updated on 2012-10-03T19:20:27Z at 2012-10-03T19:20:27Z by MarkoRocko1
  • MarkoRocko1
    MarkoRocko1
    4 Posts

    Re: XPath master please advise

    ‏2012-10-03T18:27:30Z  
    What would be ideal is something like if SetIDOBX >1 return all nodes.
    I don't know how to do this.
  • MarkoRocko1
    MarkoRocko1
    4 Posts

    Re: XPath master please advise

    ‏2012-10-03T19:20:27Z  
    What would be ideal is something like if SetIDOBX >1 return all nodes.
    I don't know how to do this.
    Problem solved. Any other ways?
    /OBR/OBXSetIDOBX>1