|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to change the content of xml through ASP
Hi, there
I have a xml that is automatically generated at server by using ASP code, now I can load the contend of the xml to one asp form by using the following code: set objXML = Server.CreateObject("Msxml2.DOMDocument.4.0") FileNumber = WorkFormID objXML.load(Server.MapPath("test/WorkOrderXML/" & FileNumber & ".xml")) ..... Now I want to let people be able to edit the content of the xml through the form, and save it to server. Could anyone kindly tell me how can I do this. JIe |
|
#2
|
|||
|
|||
|
Hello Casakwik. Why don't you post your ASP and your XML code? XML can be a little tricky (appending nodes, etc), which is why the code would be nice.
|
|
#3
|
|||
|
|||
|
I think I know what you want but correct me if I'm wrong. To be able to edit the contents of your XML file from a web page (form), right?
I wanted to do the same and I found a little tutorial at http://www.devx.com/asp/Article/16329/0/page/1 which tells you how to use one XLS to show the contents of your XML and another XLS which allows you to edit the contents using ASP script. I cannot show you my own adaptation since I still need to add some functionality so I have to direct you to the tutorial instead. Hope it works out for you. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > How to change the content of xml through ASP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|