I often create Xsl stylesheets to make my Xml documents more readable, especially when I’m going to send them to someone else to read. Add the following line, just below the <?xml declaration, using the path to your stylesheet:
This example comes from a data file that we use for testing. The application reads the xml data, but having an Xsl stylesheet makes it easy to read the data for entry into the app for testing.
In this example, we just email the testers a copy of both files and tell them to drag the xml file into Internet Explorer. Of course, you can save the stylesheet on a server and use a fully-qualified url in your <?xml-stylesheet declaration too.