libXmlRequest

Deprecated - Refer to libXmlRequest SPEC-1.9.13.0427.2008

[ whitefrost.com | Stephen W. Cote ]

Version: SPEC-1.1.102.1706.2003.
Download: libXmlRequest.js.
Demonstration: Example Suite. Also refer to example at the bottom of this page.

The Example Suite for this version serves as a decent stress test (similar to the following Example #3). Refer to the previous references libXmlRequest 1.0.0.11.04.2002 and libXmlRequest SPEC-1.0.39.02.03.2003 for addition examples. Refer to the XML Utility Example #2 and XML Utility Example #3 (Engine for Web Applications) for further examples of the cache and pool 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");

The following property accessors are exposed:

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 -->