468,550 Members | 2,429 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,550 developers. It's quick & easy.

Use a form (asp or html) to append existing xml file

I have a database that uses an xml file for searching. I need a form where a user can enter the data to append to end of this xml file. The user will enter data like below:

Expand|Select|Wrap|Line Numbers
  1. <subname>
  2.  <name>Sub1</name>
  3. </subname>
I have been trying to modify some scripts that I have found, but not getting anywhere.

Apr 10 '12 #1
1 1715
9,735 Expert Mod 8TB
So I think the first step would be to create an HTML page (form) that gathers the user's input. Use text boxes etc. to allow them to provide you with the information.

Once they submit the form to the server, retrieve the data that the user entered and validate it to make sure it is what you are expecting.

If the data is valid, use your server-side code generate the XML that needs to be appended to the file...open the file and append the text.

I'm not sure what stage you're stuck on.

Apr 10 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

7 posts views Thread by nonpareil | last post: by
8 posts views Thread by b83503104 | last post: by
2 posts views Thread by vbMark | last post: by
6 posts views Thread by shalakasan | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.