convert xml to another xml  
Author Message
Hasibit





PostPosted: Visual Basic Express Edition, convert xml to another xml Top

hi!

i have 2 xml-files with different structures.

xml-file1: (odered by films!) =

<films>
<film>
<info>
.....
</info>
<locations>
<number>
<number>
</locations>
</film>
....
</films>

xml-file 2: (odered by locations!)

<locations>
<location>
<info>
...
</info>
<films>
<film>
<name></name>
<time></time>
</film>
</films>
</location>
....
</locations>

i want to copy the data from the xml-file1 (ordered by films) to the xml-file2 (ordered by locations).

can you help me

thx,
hasibit






Visual Studio Express Editions43  
 
 
DeborahK





PostPosted: Visual Basic Express Edition, convert xml to another xml Top

That is one of the key purposes of XSL. Check out:

http://samples.gotdotnet.com/quickstart/howto/doc/Xml/TransformXml.aspx

Here is another post that may also help:

http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=237240&SiteId=1