libXmlRequest

SPEC-1.0.39.02.03.2003

Test

[ whitefrost.com | Stephen W. Cote ]

Version SPEC-1.0.39.02.03.2003.

Refer to libXmlRequest SPEC-1.5.1.0909.2005 for the latest version.

Refer to the previous reference, libXmlRequest 1.0.0.11.04.2002 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.

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

<!-- BEGIN -->

[ demo data will go here ]

<!-- END -->