View Full Version : Using ASP to create/edit an XML/RSS file

03-07-2007, 12:01 PM

i am currently doing a project for my course, i have to take input from a form (HTML based) and convert all that input to an XML file. i have managed to get everything from the form into an XML file (and RSS valid). but everytime i hit the submit button, everything from the form is created into an XMl but it over rights the XML with the new information from the form.

could someone possibly help with this? i have tried reading the file into the ASP then adding the new information onto the end.

i know that what i am trying to do is a little like a forum, where it takes input and adds it to an XML file of some sort to be pulled into the website with the style sheet

EDIT: i forgot to add about XMLDOM, which i believe is the thing to use for it

03-07-2007, 12:11 PM
Check this one (http://xmlfiles.com/articles/michael/appendxml/)I think this is exactly what you are looking for.

03-07-2007, 12:25 PM
Thank, i have tried something that looks just like that form another site.

i added that to my code and changed it to fit with all the right tag names, but all it did was show the highest child elements and it changed the root element.

maybe i did it wrong but it looks right. i guess i will try again :)