This article explains a useful way to embed data in an HTML document, and store it on the client, using XML. With XML becoming ever more pervasive and the client side implementation gaining a lot of ground, you will probably find yourself using this technique in many projects.
The Why and How of XML Data Islands - Showing the complete data (Page 3 of 4 )
You may complete this picture by adding the other two DATAFLDs, namely student id and legacySkill, and your display would be as shown in the next picture. Some additional formatting has been added to make the display a little more jazzy. You may also notice that the data may be accessed in any order and need not follow the same one as in the original XML. If you choose not to show this data, you may leave them out as in Basic.htm.
Referencing an XML file on a web server
In Simple.htm the XML file was hard coded into the page. Instead of this you may also reference a file on the web server by referencing its "src" property as shown in the next snippet.