x_nick2001 Posted December 9, 2003 Posted December 9, 2003 I would like to be able to create a node after the last one enter so lets say we have this xml file: <?xml version="1.0" encoding="utf-8" ?> <DVDList> <DVD> <DVDName>Matrix</DVDName> <Duration>2:00:00</Duration> <Rating>PG-13</Rating> </DVD> </DVDList> I would like to be able to insert another DVD so that it would like this : <?xml version="1.0" encoding="utf-8" ?> <DVDList> <DVD> <DVDName>Matrix</DVDName> <Duration>2:00:00</Duration> <Rating>PG-13</Rating> </DVD> <DVD> <DVDName>Matrix Reloaded</DVDName> <Duration>2:15:00</Duration> <Rating>PG-13</Rating> </DVD> </DVDList> Is there any way to add this second package of element ???waiting for answer Quote
Gazzo Posted December 10, 2003 Posted December 10, 2003 Off the top of my head I can't remember the exact steps but you could load it into an XmlDataDocument and navigate to the DVDList (DocumentElement) and use the CreateElement and AppendChild methods. Good Luck Quote
x_nick2001 Posted December 10, 2003 Author Posted December 10, 2003 Tx I'll try to find something about what you said I'll post it here if I do till that time if someone find a way feel free to post it :D Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.