This example shows how you can use Log Parser to generate XML files that can then be formatted with a simple XSL file.
The command below generates an XML file containing all the distinct error messages in the System event log, with a link to the specified XSL file.
To run this example, type the following: ``

    LogParser file:Query.sql -xsllink:Table.xsl

To see the formatted Output.xml file, type the following command: `

    start Output.xml

`