How to parse xml using plsql [message #382489] |
Thu, 22 January 2009 11:21 |
Mariane
Messages: 1 Registered: January 2009
|
Junior Member |
|
|
Hello everyone,
I am new to xml and Oracle and have the following question.
I have a xml file like:
<HL>
<ID>
<NUMBER>1234</NUMBER>
<YEAR>2007</YEAR>
.... etc
</ID>
<PERSON>
<NAME>JOHN</NAME>
....etc
</PERSON>
<ADDRESS>
<STREET></STREET>
</ADDRESS>
... etc
</HL>
Now I need to select the value of element <NUMBER>.
How can I do that using PL/SQL?
I have been reading a lot about the XMLDOM in Oracle but I find it hard to grasp without an example that means something to me.
Can someone help me?
Thanks in advance.
regards
|
|
|
|