Using the XML File Let me begin by reiterating that using Web Matrix isn't the best way to create an XML file unless you like to do a lot of typing and don't want to see what your data actually looks like. That said, the ability to create XML files is important. When you use the XML File page template, you get a basic tag that starts you on your way. All you need to do is begin typing the elements and attributes for your XML file. TIP Web Matrix provides a text editor for the XML files. This might seem problematic at first, but I've found it's quite useful. Most XML editors on the market, including XML Notepad, operate on the premise that the XML file you want to edit has "well-formed" XML. Some XML files won't meet this requirement in certain situations, such as some CONFIG files I've viewed. The fact that Web Matrix provides textediting functionality means you can view the errant XML file and fix it if required. The point is that Web Matrix provides you with another alternative-another tool for your toolkit. This section looks at a relatively simple example. Learning to type XML by hand is actually a good idea because it helps you see problems in automatically generated XML later. Some of the elusive issues behind a relatively simple packaging technique begin to make sense as you spend more time working with XML. With this in mind, consider the XML code in Listing 7-2. Listing 7-2. A Simple XML File