summaryrefslogtreecommitdiff
path: root/tools/regression/xsl_reports/xsl/v2/boostbook_log.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/xsl_reports/xsl/v2/boostbook_log.xsl')
-rw-r--r--tools/regression/xsl_reports/xsl/v2/boostbook_log.xsl42
1 files changed, 42 insertions, 0 deletions
diff --git a/tools/regression/xsl_reports/xsl/v2/boostbook_log.xsl b/tools/regression/xsl_reports/xsl/v2/boostbook_log.xsl
new file mode 100644
index 0000000000..009f0eb27c
--- /dev/null
+++ b/tools/regression/xsl_reports/xsl/v2/boostbook_log.xsl
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Copyright MetaCommunications, Inc. 2003-2007.
+
+Distributed under the Boost Software License, Version 1.0. (See
+accompanying file LICENSE_1_0.txt or copy at
+http://www.boost.org/LICENSE_1_0.txt)
+
+-->
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:func="http://exslt.org/functions"
+ xmlns:meta="http://www.meta-comm.com"
+ extension-element-prefixes="func"
+ exclude-result-prefixes="func meta"
+ version="1.0">
+
+<xsl:output method="html" encoding="UTF-8"/>
+<xsl:template match="/">
+ <html>
+ <head>
+ <title>BoostBook build log for <xsl:value-of select="build/@timestamp"/></title>
+ <style>
+ span.failure { background-color: red; }
+ </style>
+ </head>
+ <body>
+ <xsl:apply-templates/>
+ </body>
+ </html>
+</xsl:template>
+ <xsl:template match="build">
+ <pre>
+ <xsl:apply-templates/>
+ </pre>
+ </xsl:template>
+
+ <xsl:template match="line">
+ <span class="{@type}"><xsl:value-of select="text()"/></span><br/>
+ </xsl:template>
+</xsl:stylesheet> \ No newline at end of file