buildframework/helium/tools/preparation/overlayLog_to_html.xslt
author Richard Taylor <richard.i.taylor@nokia.com>
Tue, 02 Mar 2010 17:13:53 +0000
branchfix
changeset 372 e6d6373c0c3a
parent 1 be27ed110b50
permissions -rw-r--r--
merge

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
    <xsl:template match="/commentLog">
        <html>
            <head>
                <title>
                    <xsl:text>Overlay branch summary</xsl:text>
                </title>
            </head>
            <body>
                <h2>
                    <xsl:text>Overlay branch summary</xsl:text>
                </h2>
                <p/>
                <xsl:text>Total number of overlay branches = </xsl:text>
                <xsl:value-of select="count(branchInfo)"/>
                <p/>
                <xsl:apply-templates select="branchInfo"/>
            </body>
        </html>
    </xsl:template>
    <xsl:template match="branchInfo">
        <b>
            <xsl:text>File: </xsl:text>
        </b>
        <xsl:value-of select="@file"/>
        <br/>
        <b>
            <xsl:text>Category: </xsl:text>
        </b>
        <xsl:value-of select="@category"/>
        <br/>
        <b>
            <xsl:text>Error: </xsl:text>
        </b>
        <xsl:value-of select="@error"/>
        <br/>
        <b>
            <xsl:text>Originator: </xsl:text>
        </b>
        <xsl:value-of select="@originator"/>
        <br/>
        <xsl:value-of select="text()"/>
        <p/>
        <p/>
        <p/>
    </xsl:template>
</xsl:stylesheet>