Skip to Main Content

Database Software

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

XPath Node Regular Expression

RPuttaguntaAug 4 2006 — edited Aug 7 2006
Hi,

Does xpath have a way of getting me all the child nodes with look like 'LEAF%'

where '%' is my wildcard character.

Eg:

SELECT EXTRACT
(XMLTYPE
('<ROOT><LEAF1>01</LEAF1>02<LEAF2></LEAF2><BRANCH>03</BRANCH></ROOT>'),
'/ROOT/*'
)
FROM DUAL;


I want to extract 'LEAF1' and 'LEAF2' from the xmltype. Is this possible?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 4 2006
Added on Aug 4 2006
9 comments
958 views