I have a very simple XML document that is stored as a VARCHAR2 in an Oracle 10g table. Below is an example of the XML. I want to take the XML and insert it into a global temp table as a single record. I've seen a couple other questions related to this topic but they were a little mor complex than I need. Anyone show me how to grab the data out of this XML? Thanks
<Document>
<A1>
<D1>dzzz</D1>
<P1>pzzz</P1>
<AA1>abcd</AA1>
<PP1>TEMP</PP1>
<Desc>TEMP DESC</Desc>
<Price>1.81568</Price>
<Qty>278</Qty>
<Location>E</Location>
</A1>
</Document>