XML.com: XML From the Inside Out
oreilly.comSafari Bookshelf.Conferences.

advertisement
 Resource Guide -> XML Browsers, Microsoft, JavaScript -> Displaying XML Data Islands with JavaScript

Displaying XML Data Islands with JavaScript

Date: Jun. 5, 2001
Link: http://www.devx.com/devxpress/gurl.asp?i=1X2199963X15578
Source Author or Organization: Tom Duffy, Development Exchange (DevX)

This tutorial shows how to take advantage of Internet Explorer 5's ability to embed XML data islands in HTML to produce an XML view of data.

Using an employee directory as a sample application, the article walks the reader through creation of an XML data source, making a data island in a Web page, binding data fields to the island, and scripting four functions and four buttons that utilize Active Data Objects (ADO) properties of the DSO objects to present the user with scrollable employee records.

The custom data-display pages are built using Microsoft XML (MSXML) DOMDocument objects, the Microsoft Data Source Object (DSO) and Javascript for the navigation system. Sample code is listed and available as a download.