It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming XML Forum

how to convert two XML onto a new format using VS2008

how to convert two XML onto a new format using VS2008

Postby anniecheng0816 on Tue Oct 21, 2008 10:30 am

these are the two XML files.
XML1.xml
<?xml version="1.0" encoding="UTF-8"?>

<pets>

<pet name="Maximillian" type="pot bellied pig" age="3">
<friend name = "Augustus"/>
<frined name = "Nigel"/>
</pet>


<pet name="Augustus" type="goat" age="2">
<friend name = "Maximillian"/>
</pet>

<pet name="Nigel" type="chipmunk" age="2">
<friend name = "Maximillian"/>
</pet>
<pets>

XML2.xml
<?xml version="1.0" encoding="UTF-8"?>

<cat>

<cat name="Chader" type="pot bellied pig" age="3">
<partner name = "Lucky"/>
<partner name = "Nisom"/>
</cat>


<cat name="Yamilia" type="chipmunk" age="2">
<partner name = "Chader"/>
</cat>

<cat name="Suili" type="goat" age="2">
<partner name = "Chader"/>
</cat>
<cat>

how to convert the two XML file onto a new format(userxml),and change the word in the text as blow,
Xml1.xml Xml2.xml Usrxml
pet cat animal
friend partner companion

actually it is a table.

after convert, how to save the userxml table at the oracle database?
thank you .
anniecheng0816
 
Posts: 5
Joined: Mon Oct 20, 2008 4:15 pm

Who is online

Users browsing this forum: No registered users and 0 guests