Home
Documentation
Case Studies
Sample Code
Test Suites
History
Tools
Download
Tools

XML for <SCRIPT> includes a number of tools that make development easier.

Saving and retrieving XML

In many instances, it is nice to be able to save an XML stream onto a client's hard drive. Sadly (or thankfully, depending on your perspective) this is made difficult if not impossible to do by the browsers. Each browser does have methods allowing this type of activity, but these methods are not cross platform and can raise serious security concerns with users.

XML for <SCRIPT> attempts to resolve this information by providing an interface for saving and retrieving XML streams using cookies. This interface allows programmers to save data for a specified period of time and retrieve that data when needed. It is not a requirement to save XML, any string data is supported by the interface.

For an example of the functionality provided by this interface, click the button below and see the documentation under the MISC tab.

Escaping XML into valid HTML

Escaping XML into valid HTML can be an error prone and expensive process. The escaped HTML is very difficult to read with the human eye and is much larger than the original XML source.

XML for <SCRIPT> attempts to resolve this situation by converting your XML into valid HTML not by escaping the XML, but by replacing the XML markup tags with high ascii characters which are not likely to be found in your XML data.

For an example of the functionality provided by this interface, click the button below and see the documentation under the MISC tab. This example is very useful if you have XML that you wish to hard code into HTML and place on your web page.