Share via


Step 1: Creating the Sales.xml File (Windows Embedded CE 6.0)

1/6/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

Tutorial: Getting Started with XSLT
Step 2: Matching Patterns

Concepts

Exploring XSLT Capabilities
XSLT Developer Guide