Navigation: Actions > Files >
Transform XML Log Action
The Transform XML Log action creates a step to:
|•||Convert an XML log file into another format, such as an HTML build report or RSS feed, with optional filtering of builds and step output|
|•||Apply an XSLT stylesheet to any XML document|
|•||Format (indent) an XML document|
When this action is built, the following logic is executed:
1) If the Close tags field is checked and if there are any missing step, build, or logs tags, the log file is copied and the closing tags added to the copy (the copy is deleted after the action finishes unless no stylesheet was specified).
2) If an XSLT stylesheet was specified,
2a) If any custom filtering was specified on the Filter tab, the values are passed to the stylesheet (via its param tags).
2b) The stylesheet is applied to the input document and written to the output file. If the default stylesheet is used for an XML log file, an HTML document is generated containing the specified build output and including summary and detail sections.
3) If Format (indent) is checked, the input file is formatted (indented).
4) If Display output file is checked, the output file is launched in the associated viewer (based on the file's extension).
|•||This action requires that the MSXML parser (version 3.0 or later) be installed in order to generate its output (unless no XSLT stylesheet is specified).|
|•||It is recommended that any active scanning anti-virus software be disabled on the build box, as this can interfere with Visual Build writing to its log file (and also slows down builds).|