common/tools/brag/brag.xsl
changeset 754 79bd241158d3
parent 753 5069de517698
child 882 6ae47dc5d707
equal deleted inserted replaced
753:5069de517698 754:79bd241158d3
   106 	<xsl:for-each select="phase[count(step/failures/failure/@package) != count(step/failures/failure)]">
   106 	<xsl:for-each select="phase[count(step/failures/failure/@package) != count(step/failures/failure)]">
   107 		<h3>Phase: <xsl:value-of select="@name"/></h3>
   107 		<h3>Phase: <xsl:value-of select="@name"/></h3>
   108 		<xsl:for-each select="step[count(failures/failure/@package) != count(failures/failure)]">
   108 		<xsl:for-each select="step[count(failures/failure/@package) != count(failures/failure)]">
   109 			<h4>Step: <xsl:value-of select="@name"/></h4>
   109 			<h4>Step: <xsl:value-of select="@name"/></h4>
   110 			<xsl:for-each select="failures[count(failure/@package) != count(failure)]">
   110 			<xsl:for-each select="failures[count(failure/@package) != count(failure)]">
   111 				<dl><dt><xsl:value-of select="@level"/></dt><dd>
   111 				<xsl:variable name="severity" select="@level"/>
       
   112 				<dl><dt><xsl:value-of select="@level"/> (<xsl:value-of select="count(/buildStatus/phase/step/failures[@level = $severity]/failure[count(@package) = 0])"/>)</dt><dd>
   112 				<ul>
   113 				<ul>
   113 				<xsl:for-each select="failure[count(@package) = 0]">
   114 				<xsl:for-each select="failure[count(@package) = 0]">
   114 					<li><xsl:value-of select="."/></li>
   115 					<li><xsl:value-of select="effect"/></li>
       
   116 					<xsl:if test="@unreported_causes != '0'">
       
   117 						<br/>(Too much text to show everything; <xsl:value-of select="@unreported_causes"/> lines not shown.)
       
   118 					</xsl:if>
       
   119 					<xsl:for-each select="causes">
       
   120 						<pre><xsl:value-of select="."/></pre>
       
   121 					</xsl:for-each>
   115 				</xsl:for-each>
   122 				</xsl:for-each>
   116 				</ul>
   123 				</ul>
   117 				</dd></dl>
   124 				</dd></dl>
   118 			</xsl:for-each>
   125 			</xsl:for-each>
   119 		</xsl:for-each>
   126 		</xsl:for-each>