O'Reilly logo

Real World XML by Steven Holzner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. XML and Data Binding

XML is all about storing data. It turns out that Internet Explorer supports a number of techniques to let you extract that data without needing any programming at all: You can use data binding. We'll see how that works in this chapter.

In the previous chapter, we took a look at working with XML documents in Internet Explorer using the DOM. In that chapter, we used methods such as firstChild, lastChild, lastSibling, and so on to work through a document. Using methods such as those give you complete access to the data in an XML document. Regarding an XML document as a node tree can be confusing, however, especially if you forget that the character data in an element is stored in its own node.

There's another way ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required