Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle 9i Extract/Parse XML from BLOB

SeshuGiriSep 26 2013 — edited Sep 29 2013

I have table with Blob column. In the blog column I have XML data (see below).

I wanted to parse xml and get the value of note '<GetTest>'. How do I achieve that?

Sample Table:

create table SAMPLE_XML_TABLE

(

  ID           NUMBER not null,

  XMLSTRING    BLOB,

);

<?xml version="1.0" standalone="no"?>

<FromResponse xmlns="http://www.somewebsite.com/FromResponse">

  <Code>0000</Code>

  <Seller>

  <SellerServer>

  <Version>01</Version>

  <Sample>

  <GetTest>I wanted to get this Text</GetTest>

  </Sample>

  </SellerServer>

  </Seller>

</FromResponse>

This post has been answered by Pleiadian on Sep 27 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 27 2013
Added on Sep 26 2013
7 comments
1,219 views