Web Services, Part VI: XML Parsing and Loading from JavaScript: A Final Word - Doc JavaScript | WebReference

Web Services, Part VI: XML Parsing and Loading from JavaScript: A Final Word - Doc JavaScript


Web Services, Part VI: XML Parsing and Loading from JavaScript

A Final Word

In this column we continued our series on Web services. We focused here on connecting XML files to JavaScript. This is the first in a miniseries about XML loading and manipulating of the DOMDocument object. We showed you in this column how to describe the tree-like DOMDocument object. Understanding this tree will be more important in upcoming columns, as they will concentrate on manipulating and querying this tree. In this column, we focused more on parsing and loading XML files. We showed you how to monitor XML parsing and loading with the readyState property and the onreadystatechange event handler. We explained how to set synchronous loading on and off with the async property. We covered the error object, IXMLDOMParseError, and all its many properties that will help you to pinpoint parsing errors for your users.

In this column you have learned:

http://www.internet.com


Produced by Yehuda Shiran and Tomer Shiran
All Rights Reserved. Legal Notices.
Created: January 14, 2002
Revised: January 14, 2002

URL: http://www.webreference.com/js/column101/6.html