XML Database (MOSC)

MOSC Banner

XMLTYPE Extract(*)

edited Jan 14, 2010 4:11AM in XML Database (MOSC) 2 commentsAnswered
 I have following data in the XMLTYPE TABLE

<?xml version="1.0"?> <ipo:parameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ipo="http://www.example.com/IPO" xsi:schemaLocation="http://www.example.com/IPO http://www.example.com/schemas/parameter.xsd"> ipo:parameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ipo="http://www.example.com/IPO" xsi:schemaLocation="http://www.example.com/IPO http://www.example.com/schemas/parameter.xsd">

<RSRV_PARM>

<TargetMin>1000</TargetMin>

<TargetMax>100000</TargetMax>

<TargetIncr>1000</TargetIncr>

</RSRV_PARM>

</ipo:parameters>

</ipo:parameters>

I am doing following query

SELECT r.rp.EXTRACT ('/TargetMin/text()').getstringval() r.rp.EXTRACT

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center