Post-Processing Log Files
Note This content applies to the Windows Logo Kit (WLK). For the latest information using the new Windows Hardware Certification Kit (HCK), see Windows HCK User's Guide on the Windows Hardware Dev Center.
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 Msxsl.exe program, which is a free download from Microsoft. You can also design your own .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
Build date: 9/14/2012