Examples from Chapter 22 of The XML Bible, Gold Edition: XInclude
Listing 22-1: A valid document describing a single player
Listing 22-2: A valid team document
Listing 22-3: The New York Mets with players loaded from external entities
Listing 22-4: The New York Mets with players loaded from XLinks
Listing 22-5: The New York Mets with players loaded via server side includes
Listing 22-6: The New York Mets with players included by XInclude
Listing 22-7: The New York Mets with players referenced by absolute URLs
Listing 22-8: A division includes teams
Listing 22-9: A league includes divisions
Listing 22-10: Major League Baseball has two leagues
Listing 22-11: A DTD for pre-inclusion team documents
Listing 22-12: A DTD for post-inclusion team documents
Listing 22-13: A DTD for both pre- and post-inclusion team documents
Listing 22-14: The surnames of New York Mets players referenced by relative URLs with XPointer fragment identifiers
Listing 22-15: The surnames of New York Mets players
Listing 22-16: The full names of New York Mets players referenced by relative URLs with XPointer fragment identifiers
Copyright 2001
Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified at June 28, 2001