XML Database (MOSC)

MOSC Banner

RE: Need help how to join XMLTable construct?????

edited Jun 25, 2013 11:27AM in XML Database (MOSC) 2 commentsAnswered
Hi Gurus,

I have the following the XML document generated by the dotNet from the website and stored in the CLOB column inside Oracle. Basically I would like to join the <ShowsAndAnimals> node with <Exhibitors>, <Classes> and </ShowFees>.

The output I am looking for is

For each show num, you have 3 classes

so, this doc should produce 6 records (3*2) and one record for the <ShowFees> node. In my sample , I have only one <ShowFees>  node but can have multiple nodes depending on the show number.

<ShowEntry xmlns="http://oracle.com/Entry.xsd">
  <ShowsAndAnimals>
    <ID>1</ID>
    <ShowNum>156</ShowNum>
    <ShowID>110</ShowID>
    <AnimalsID>-2</AnimalsID>

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