How to select an XML attribut with SQL
Hi,
I am parsing out XML data, using ExtractValue:
SELECT ExtractValue(xmlfield,'//xmlstring') FROM exampletbl
<exmpltag attribut="attvalue1234">nodevalue1234</exmpltag>
Now i want to select the attribut Value (attvalue1234). ExtractValue returns only the tag value (nodevalue1234).
Is it possible to extract the value of anattribut with SQL ?
thx for help
Ray
Subject
Written By
Posted
How to select an XML attribut with SQL
September 09, 2012 02:38AM
September 10, 2012 03:06AM
September 11, 2012 08:11AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.