Partager via


Step 1: Creating the Sales.xml File

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

For this tutorial, you will create a Sales.xml file.

To create the Sales.xml file

  1. Use the Copy and Paste commands to place the following text into your HTML editor.

    <?xml version="1.0" ?>
    <sales>
       <summary>
          <heading></heading> 
          <subhead></subhead> 
          <description></description> 
       </summary>
       <data>
          <region>
             <name></name> 
             <quarter number="" books_sold="" /> 
             <quarter number="" books_sold="" /> 
             <quarter number="" books_sold="" /> 
             <quarter number="" books_sold="" /> 
          </region>
          <region>
             <name></name> 
             <quarter number="" books_sold="" /> 
             <quarter number="" books_sold="" /> 
             <quarter number="" books_sold="" /> 
             <quarter number="" books_sold="" /> 
          </region>
          <region>
             <name></name> 
             <quarter number="" books_sold="" /> 
             <quarter number="" books_sold="" /> 
             <quarter number="" books_sold="" /> 
             <quarter number="" books_sold="" /> 
          </region>
       </data>
    </sales>
    
  2. Save the file as Sales.xml.

  3. To view the file in Internet Explorer, open Sales.xml.

The next step is to create the XML style sheet that will create a sales report from this data.

See Also

Tasks

Step 2: Matching Patterns
Tutorial: Getting Started with XSLT

Concepts

Exploring XSLT Capabilities
XSLT Developer Guide