Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Html formdata to Xml

Status
Not open for further replies.

ozwebsites

Technical User
Jul 16, 2005
1
AU
This question must have been asked a million times, but I have searched high and low, and cannot find the solution.

I will try and be specific.

Current Handling.
We have a html form, which calls a data.xml file and displays the results of that data.xml file. All works great.

What we want.
I want to create an html form for users to ENTER data. The form is then submitted and the data populates a user chosen (from the form) xxxx.xml file.
This then adds a field to a html form, which when clicked displays the users data ( which is now saved on our server)

The Reasoning.

We use a flash charting software, which shows birth weight progress. The data we manually input and save as example.xml.

We then call the example.xml from within a new html page , which when published displays the flash populated with the data from example.xml.

I want to totally automate this for our members so they can do the following.

Form Fields .(user created )
name of html file example babydaniel.html
name of xml file example babydaniel.xml
the corresponding data entries for the xml file , ie. birth weight, week later weight etc etc

Is it then possible and feasible and how lol, to then get this info onto the net via user submission??

This problem is driving me crazy, fingers crossed :)
 
This is an ideal situation for XForms....However....

Will your form be HTML or Flash? How will the flash know which XML file to call? Apart from that, you just need some kind of server page that will take the form variables and save them to an XML file. ASP, PHP or similar will do the job.

Jon

"Asteroids do not concern me, Admiral. I want that ship, not excuses.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top