[quite urgent] HTML form => xml file

wxdqz

New Member
Hi all! I need help...
I have a HTML form, with some fields (that I DON'T know previously)
I have this XML file:
<database>
<record id="1">
...myfields...
</record>
<record id="2">
...myfields...
</record>
...
</database>

I MUST use this file, NOT real database like mysql...

I must do this:
take the form values and translates into an xml "record", then append it to my XML file.

I think that append is quite easy (use xerces function to append an xml fragment to my xml dom, right?)
but, how can I generate that fragment?

Thank you in advance and sorry form my poor English!
 
Top