[ | Stephen W. Cote ]

Version SPEC-

Refer to libXmlRequest SPEC- for the latest version.

Refer to the previous reference, libXmlRequest for addition examples. Refer to the XML Utility Example #2 (Engine Project) for further examples of the cache features.

The libXmlRequest.js script file contains all of the procedures used by the examples available on this page. The sample_data.xml XML file is used for demonstration data. To make use of this library, copy the libXmlRequest.js file to your server or local machine, and reference it from a particular web page. For example: <script type="text/javascript" src="libXmlRequest.js"></script>

The XmlRequest library contains a two public request functions, getXml and postXml, that may be used to send synchronous and asynchronous XML Http requests from Internet Explorer and Mozilla. The syntax for each function follows.

Example: var oXml = getXml("sample_data.xml");

In addition, the following utility functions are provided.

var oXml = getXml("sample_data.xml");
var aNodes = selectNodes(oXml,"/sample-data-root/the-data",oXml.documentElement);

<!-- BEGIN -->

[ demo data will go here ]

<!-- END -->