Share via


Post-Processing Log Files

One of the great advantages of having XML-based log files is being able to process them through a standard XSL Transformation (XSLT).

DTM Logger provides the following standard XML transformation templates:

  • Normalise.xslt converts the flat raw XML traces to a test->machine->process->thread hierarchy.
  • Visualise.xslt converts the normalized XML log file to an HTML file that shows the test results.

To perform the transformation, you can use the Bb931935.internet_link_sm(en-us,MSDN.10).gifMsxsl.exe program, which is a free download from Microsoft. You can also design your own Bb931935.internet_link_sm(en-us,MSDN.10).gif.NET transformation program.

Example transformation

The following example command transforms a log file to a normalized view of the test case in which the traces are organized in a test->machine->process->thread hierarchy:

msxsl.exe mytest.m.xml normalise.xslt /o normalised.xml 

See Also

Logging in DTM, Getting Started with DTM Logger, Logger XML Schema

Send feedback on this topic
Built on December 10, 2009