Skip to Main Content

DevOps, CI/CD and Automation

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!

XMLTYPE.ExtractValue and xmlns="" doesn't work

Cezary-OracleOct 17 2008 — edited Oct 20 2008
Hi,



DB 9.2.0.4

I have put a simple xml into xmltype column:

<?xml version = '1.0' encoding = 'UTF-8'?>
<b:yyy xmlns:b="qwert">
<xxx xmlns="">
aaaaaaaaaaaa
</xxx>
</b:yyy>

I can't get value of xxx element:
Following sql doesn't work:

select Extract(x.indata,'//xxx'),ExtractValue(x.indata,'//xxx')
from testtable x

the query returns null values


Could someone tell me what is going wrong ?
Thansk in advance !


Regards,
Cezary
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 17 2008
Added on Oct 17 2008
4 comments
3,156 views