Home » Developer & Programmer » JDeveloper, Java & XML » Parsing XML (Oracle Database 11g Enterprise Edition Release 11.2.0.4.0)
Parsing XML [message #642067] Tue, 01 September 2015 15:38 Go to previous message
Duane
Messages: 557
Registered: December 2002
Senior Member
Any idea on how to get the value of "ns:return"? The value returned should be "0066012c76be4260b4b3f466b20e8be0"


<?xml version='1.0' encoding='utf-8'?>
  <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soapenvelope">
    <soapenv:Body>
      <ns:initializeResponse xmlns:ns="http://context.ws.blackboard">
         <ns:return>0066012c76be4260b4b3f466b20e8be0</ns:return>
      </ns:initializeResponse>
    </soapenv:Body>
</soapenv:Envelope>





Been trying this:

resp_extract    xmltype;

resp_extract := resp.extract('/soapenv:Envelope/soapenv:Body/child::node()', 'xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"');


I think if someone could show me how it's done then I'll understand what values to plug into where.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DBMS_EPG virtual path settings
Next Topic: 32-bit Java Application running in a 64-bit OS
Goto Forum:
  


Current Time: Fri Apr 26 10:27:19 CDT 2024