Examples from Chapter 11 of The XML Bible, Gold Edition, Attribute Declarations
Listing 11-1: A required ID attribute type
Listing 11-2: IDREF attributes
Listing 11-3: IDREFS attributes
Listing 11-4: Java source code with significant whitespace encoded in XML
Listing 11-5: The Luxembourg National Anthem in Letzeburgesh and English
Listing 11-6: A complete XML document using attributes to hold baseball statistics
Listing 11-7: The complete DTD for baseball statistics that uses attributes for most of the information
Copyright 1999, 2001
Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified at August 14, 2001