Chapter 5 of The XML 1.1 Bible, Attributes, Empty Tags, and XSL
Listing 5-1: A Complete XML Document Using Attributes to Store Television Listings
Listing 5-2: A Complete XML Document Using Empty-Element Tags to Store Television Listings
Listing 5-3: An XSLT Style Sheet
Listing 5-4: An XSL Style Sheet with Instructions to Extract the DATE Attribute of the SCHEDULE Element
Listing 5-5: An XSL Style Sheet with Instructions to Extract STATION Elements
Listing 5-6: An XSL Style Sheet That Formats Shows
Listing 5-7: An XSL Style Sheet That Sorts by Start Time
Listing 5-8: An XSL Style Sheet that Places the Television Schedule in a Table
Listing 5-9: An XSL Style Sheet that Dynamically Calculates Column Spans for the Table
Copyright 2004
Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified March 1, 2004