Once again tsuji,
Thank you.
select extractvalue(xmltype(data),'/java/object/void[@property="dbHome"]/string') db_home
from config
DB_HOME
--------------------------------------------------------------------------------
C:\Portware
SQL>
..using your xpath, and following the extracvalue syntax using xpath from this link:
http://www.adp-gmbh.ch/ora/sql/extractvalue.html
..i am still having issues..forgive my novice status..
SQL> SELECT EXTRACTVALUE(data,'"//@value[../@key='Root']"')attr
2 from tm_data
3 /
SELECT...
Thank you for your response.
I am trying to follow this example using xmlnamespace
SQL> with t as (
2 select xmltype('<?xml version="1.0" encoding="ISO-8859-1"?>
3 <?xml-stylesheet type="text/xsl" href="../oper_fct.xsl"?>
4 <test abc:thisone="O1" xmlns="abc" xmlns:abc="abc"
5...
Howdy,
I am an Oracle DBA and new to XML parsing.
Given the following data sample, I would like to achieve two things.
1. extract only the value of the "Root" tag which is C:\Flintstone
2. extract the tag "TM_PORT" and its value
The column is a CLOB.
thank you
<?xml version="1.0"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.