RE: Need help how to join XMLTable construct?????
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>