O'Reilly logo

Special Edition Using XML, Second Edition by - et al. David Gulbransen

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

Lists

Another common formatting technique involves lists. There are a number of objects that are used explicitly for the creation and formatting of lists. These include

  • list-block— This object contains the data and describes the formatting for a list of items.

  • list-item— This contains an individual list item that consists of a list-item-label object and list-item-body object.

  • list-item-label— This contains the label block (such as an individual character or graphics) for an individual list item.

  • list-item-body— This contains the block of data for an individual list item.

Now let's see how these objects work together to create a list. This list will contain a list of customers for an imaginary company. We start with the list-block object, which contains ...

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