This is the same data that you saw defined using XML in Chapter 2. The object with the
book property contains
chapters properties. The
chapters property contains several
chapter subelements, each with a
number and a
title property. This can be best visualized when looking at it as XML data. You will remember it as the exact same XML that was used in the previous section, "The XMLDocument Object,” as shown in this code:
<book title="Programming Atlas" author="Christian Wenz"> <chapters> <chapter number="1" title="Introduction" ...