Display XML data in HTML document



I want to create a way for clients to update their profile information on a website using XML. Each client will have their own custom form they can use to add or edit information. The plan is to build a secure login for their form. This form edit an XML document. Then their public profile with display the information they added. The XML data will be placed on the profile page in various locations so a basic table really wont work. I want to be able to the place the information in various parts of the web page.


Basically the xml file will look like this:


student.xml



<students>
<student>
<name>Jane Doe</name>
<email>email@email.com</email>
<school>School Name</school>
<coach>Coach Name</coach>
</student>
</students>


What is the proper way to load an XML file into a document?


How would I display the value of the "name" tag to display in an HTML tag?


How would I use a form to edit an XML file?


No comments:

Post a Comment