setNode: Changing Values in an XML-file
It's hard to make AJAX applications and still concentrate on the user-interface side of things. This simple ASPX / C# web-service can function as a sparring partner for your front-end code.
Please be advised however that there is no security to this whatsoever.
This is only meant as something for front-end code to talk to, before a database developer can make a proper web-service with all the proper security and database voodoo.
Setting the Values of XML-nodes in an External File
This example form sets the values in a small test xml-file. By "posting" or "getting" the form, the values can be changed.
The "setNode.php" or ("setNode.aspx") is called in the AJAX script to read and write nodes in the XML files.
Required Files
- Example Markup: setNode.html
- Example XML: setNode.xml
- Web-service Source: ClassBehaviours.zip
Comments on this Article