DBAsupport.com Forums - Powered by vBulletin
Results 1 to 10 of 18

Thread: read xml to table

Threaded View

  1. #1
    Join Date
    Apr 2005
    Posts
    15

    read xml to table

    hi

    below is a sample xml data i have. i want to read this file and store it into a table using oracle procedure.

    < Access>
    < User email="test@domain.com" phone="+44 (0) 999 999 9999" first_name="fname" name="fname lname" last_name="lname">
    < BasicSignon>loginA< / BasicSignon>
    < Userclasses>
    < Userclass name="Site User" />
    < Userclass name="European Admin" />
    < Userclass name="Sales Admin" />
    < / Userclasses>
    < / User >
    < / Access>


    i tried something similar to as in http://www.oracle-base.com/articles/...ocuments8i.php. However i didnot find a way to process the child nodes and also the attibutes of the nodes (like email, phone in User node).

    if anyone got an example source, please help me. thanks in advance.

    -sudhi
    Last edited by spicysudhi; 06-24-2005 at 06:16 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width