CHAPTER 8 SCRIPTING IN THE BROWSER 239 (Web hosting account)
CHAPTER 8 SCRIPTING IN THE BROWSER 239 Table 8-2. readyState Property Values Constant Value Description LOADING 1 Indicates that the loading process has started and the data is being retrieved. LOADED 2 Indicates that the data has been retrieved and that the parser is parsing the XML document. At this point, the object model is not available. INTERACTIVE 3 Indicates that some data has been parsed, and the object model is available on a partial data set. At this stage, the object model is read-only. COMPLETED 4 Indicates that the loading process is finished. Doesn t indicate whether the document was successfully loaded. onreadystatechange This event fires every time the readyState property changes. You can use it to assign a handler for the event: oDocument.onreadystatechange = processXML; MSXML Node Interface Additions MSXML includes the following additions to the Node interface: xml nextNode() selectNodes() selectSingleNode() transformNode() transformNodeToObject() xml The xml property is a read-only property that returns the serialized contents of a node. In other words, it converts the raw XML into a text format: var strXML = oDocument.xml;
We recommend you use shared web hosting services, because many users agree that it is cheap, reliable and customer-satisfying webhost.