Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - XSLT Developer's Guide

Sample XML Data File for XSLT Keys

Topics in this section use the following XML document. This document is a portion of the catalog at a large metropolitan public library, developed by Scootney Publishing as part of a promotional exhibit.

XML File (booksvariant.xml)

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="lib_cat.xsl"?>
<!DOCTYPE book [
<!ENTITY oumlaut "&#38;#246;">
]>
<lib_cat>
   <book isbn="991100-001" catnum="101.3490">
      <title>Jambing on the Trixels</title>
      <author>Tristan Randall</author>
      <publisher>Scootney Publishing</publisher>
      <copyright>2000</copyright>
      <pages>496</pages>
      <category>Fiction</category>
      <description>Tristan Randall scores another action-adventure hit with 
      this fast-paced tale of murder among the faculty teaching semantics at
      a small New England university.</description>
   </book>
   <book isbn="991100-002" catnum="432.9431">
      <title>For Love of a Toothpick</title>
      <author>J&oumlaut;rg Frey</author>
      <publisher>Scootney Publishing</publisher>
      <copyright>2000</copyright>
      <pages>175</pages>
      <category>Non-fiction</category>
      <description>Looking for a whimsical introduction to the
      mysterious world of miscellaneous dining and personal-grooming
      utensils? This is the book for you!</description>
   </book>
   <book isbn="991100-010" catnum="894.3207">
      <title>Desperation 101</title>
      <author>Jack Gode</author>
      <publisher>Scootney Publishing</publisher>
      <copyright>2000</copyright>
      <pages>262</pages>
      <category>Non-fiction</category>
      <description>Self-help guru Gode recounts his personal journey
      from confusion to certainty, with the help of a most unusual
      therapy: highway hypnosis.</description>
   </book>
   <book isbn="991100-008" catnum="562.1093">
      <title>Fretting Over Your Guitar</title>
      <author>Becki Culbert</author>
      <publisher>ScootMusic (a Division of Scootney Publishing)</publisher>
      <copyright>1998</copyright>
      <pages>160</pages>
      <category>Non-fiction</category>
      <description>In part a traditional "fake book," in part a profound
      exploration of the relationship between musician and instrument, 
this little volume surprises the reader on every page.</description>
   </book>
   <book isbn="991100-102" catnum="450.9043">
      <title>Quantum Superstring Electrodynamics for Newbies</title>
      <author>Becki Culbert</author>
      <publisher>Scootney Publishing</publisher>
      <copyright>2001</copyright>
      <pages>656</pages>
      <category>Non-fiction</category>
      <description>Multi-dimensional author Culbert turns her attention to
      Quantum Superstring Electrodynamics, clearly explaining every facet
      of this frighteningly complex topic in a mere 600-plus pages, many
      of them containing words understandable to the rankest of
      newcomers.</description>
   </book>
</lib_cat>