XML oracle functions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bblasu
    New Member
    • Feb 2008
    • 1

    XML oracle functions

    Hi,

    I have an xml response as below having multiple elements.
    I want to Extract those values in oracle say for ex ...

    The value of nodes 'Y' and 'Z' for each value of 'X' .


    <VNRESPONSE>
    <GETRESPONSE>
    <X>6152369874 </X>
    <Y>8976</Y>
    <Z>the number is valid</Z>
    </GETRESPONSE>
    <GETRESPONSE>
    <X>6152369875 </X>
    <Y>8977</Y>
    <Z>the number is not valid</Z>
    </GETRESPONSE>
    <GETRESPONSE>
    <X>6152369878 </X>
    <Y>8974</Y>
    <Z>the number is no longer in use</Z>
    </GETRESPONSE>
    </VNgetvalue>

    it'll be greatful if i get smeone's help to resolve this problem..
    Thanks in Advance..
  • jkmyoung
    Recognized Expert Top Contributor
    • Mar 2006
    • 2057

    #2
    Could you show what you expect as output?

    Are you sorting the x values in any way?

    Comment

    Working...