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

XSLT Output File (in HTML Format)

The complete file produced as output from the XSLT processor is shown here. To view this file after you finished the tutorial:

  1. View Sales.xml in Internet Explorer.
  2. If you installed the Internet Explorer Tools for Validating XML and Viewing XSLT Output, right-click in Internet Explorer and then click View XSL Output.
    <html>
    <head>
    <META http-equiv="Content-Type" content="text/html; charset=UTF-16">
    <title>Scootney Publishing</title>
    </head>
    <body>
    <div style="position:absolute;font-size:96;font-family:Times New Roman;color:#F0F0F0;z-index:-1">Scootney Publishing</div>
    <h1>Scootney Publishing</h1>
    <h2>Regional Sales Report</h2>
    <p>Sales report for the West Coast, Central and East Coast regions.</p>
    <table>
    <tr>
    <th>Region\Quarter</th>
    <th>Q1</th>
    <th>Q2</th>
    <th>Q3</th>
    <th>Q4</th>
    <th>Total</th>
    </tr>
    <tr>
    <th style="text-align:left">West Coast</th>
    <td style="color:green;
          text-align:right;
       ">24,000</td>
    <td style="color:green;
          text-align:right;
       ">38,600</td>
    <td style="color:green;
          text-align:right;
       ">44,030</td>
    <td style="color:red;
          text-align:right;
       ">21,000</td>
    <td style="text-align:right;font-weight:bold;">127,630</td>
    </tr>
    <tr>
    <th style="text-align:left">Central</th>
    <td style="color:red;
          text-align:right;
       ">11,000</td>
    <td style="color:red;
          text-align:right;
       ">16,080</td>
    <td style="color:green;
          text-align:right;
       ">25,000</td>
    <td style="color:green;
          text-align:right;
       ">29,000</td>
    <td style="text-align:right;font-weight:bold;">81,080</td>
    </tr>
    <tr>
    <th style="text-align:left">East Coast</th>
    <td style="color:green;
          text-align:right;
       ">27,000</td>
    <td style="color:green;
          text-align:right;
       ">31,400</td>
    <td style="color:green;
          text-align:right;
       ">40,100</td>
    <td style="color:green;
          text-align:right;
       ">30,000</td>
    <td style="text-align:right;font-weight:bold;">128,500</td>
    </tr>
    </table>
    <div style="font-size:9">Copyright 2000, Scootney Publishing. All Rights Reserved.</div>
    </body>
    </html>