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

Sample XML Data File for XSLT Sorting

The following XML file contains data about a vendor's products. It is used throughout the Sorting with XSLT section.

XML File (prodsort.xml)

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="prodsort.xsl" ?>
<products>
    <product prodID="AX5608">
        <name>FooBar</name>
        <version>1.5</version>
        <descr>Processes foo objects using standard FB API</descr>
        <categ>Software</categ>
        <price curr="USD">149.99</price>
        <units>each</units>
    </product>
    <product prodID="CB3241">
        <name>TrixelMaker</name>
        <version>3.0</version>
        <descr>Burns multiple trixels from single master (requires Wooden Rings 1.6 or greater)</descr>
        <categ>Hardware</categ>
        <price curr="EU">178.49</price>
        <units>each</units>
    </product>
    <product prodID="WD3241">
        <name>Widgetry Magick</name>
        <version>1.0</version>
        <descr>Time-stamps Virtual Widgets</descr>
        <categ>Software</categ>
        <price curr="GBP">46.80</price>
        <units>each</units>
    </product>
    <product prodID="WR9843">
        <name>Wooden Rings Workbench</name>
        <version>4.5</version>
        <descr>Enhances WRWB 4.0 with "peel'n'play" capability</descr>
        <categ>Craftware</categ>
        <price curr="USD">129.95</price>
        <units>each</units>
    </product>
    <product prodID="WR9840">
        <name>Wooden Rings Workbench</name>
        <version>4.0</version>
        <descr>Applies Widgetry Magick timestamps to Wooden Rings 1.6 or greater</descr>
        <categ>Craftware</categ>
        <price curr="USD">109.95</price>
        <units>each</units>
    </product>
    <product prodID="WR1016">
        <name>Wooden Rings</name>
        <version>1.6</version>
        <descr>Our best-selling oaken toroids</descr>
        <categ>Craftware</categ>
        <price curr="USD">27.99</price>
        <units>dozen</units>
    </product>
    <product prodID="WD">
        <name>Virtual Widgets</name>
        <version>3.5</version>
        <descr>Logs critical events and properties over any object's lifetime</descr>
        <categ>Middleware</categ>
        <price curr="GBP">109.99</price>
        <units>each</units>
    </product>
</products>