Step 1: Creating the Sales.xml File
A version of this page is also available for
4/8/2010
For this tutorial, you will create a Sales.xml file.
To create the Sales.xml file
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>
Save the file as Sales.xml.
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