 position()) mod 2 = 0">
                <xsl:attribute name="class">section-oddrow</xsl:attribute>
            </xsl:if>
            <td class="section-data">Warning</td>
            <td class="section-data">
                <xsl:value-of select="../@name"/>
            </td>
        </tr>
    </xsl:template>

    <!-- JUnit Test Errors And Failures Detail Template -->
    <xsl:template name="junittestdetail">
        <xsl:param name="detailnodes"/>

        <xsl:for-each select="$detailnodes">

            <tr>
                <td class="section-data">Test:</td>
                <td class="section-data">
                    <xsl:value-of select="@name"/>
                </td>
            </tr>

            <xsl:if test="error">
                <tr>
                    <td class="section-data">Type:</td>
                    <td class="section-data">Error</td>
                </tr>
                <tr>
                    <td class="section-data">Message:</td>
                    <td class="section-data">
                        <xsl:value-of select="error/@message"/>
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td class="section-error">
                        <pre>
                            <xsl:call-template name="br-replace">
                                <xsl:with-param name="word" select="error"/>
                            </xsl:call-template>
                        </pre>
                    </td>
                </tr>
            </xsl:if>

            <xsl:if test="failure">
                <tr>
                    <td class="section-data">Type:</td>
                    <td class="section-data">Failure</td>
                </tr>
                <tr>
                    <td class="section-data">Message:</td>
                    <td class="section-data">
                        <xsl:value-of select="failure/@message"/>
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td class="section-error">
                        <pre>
                        
position ()) mod 2 = 0 " > 
                 < xsl: attribute name="class">section - oddrow</xsl: attribute > 
             < /xsl: if > 
             < td class="section - data">Warning</td > 
             < td class="section - data " > 
                 < xsl: value - of select=".. /@name"/ > 
             < /td > 
         < /tr > 
     < /xsl: template > 

     <! -- JUnit Test error And Failures Detail Template -- > 
     < xsl: template name="junittestdetail " > 
         < xsl: param name="detailnodes"/ > 

         < xsl: for - each select="$detailnodes " > 

             < tr > 
                 < td class="section - data">Test:</td > 
                 < td class="section - datum " > 
                     < xsl: value - of select="@name"/ > 
                 < /td > 
             < /tr > 

             < xsl: if test="error " > 
                 < tr > 
                     < td class="section - data">Type:</td > 
                     < td class="section - data">Error</td > 
                 < /tr > 
                 < tr > 
                     < td class="section - data">Message:</td > 
                     < td class="section - data " > 
                         < xsl: value - of select="error/@message"/ > 
                     < /td > 
                 < /tr > 
                 < tr > 
                     < td></td > 
                     < td class="section - error " > 
                         < pre > 
                             < xsl: margin call - template name="br - replace " > 
                                 < xsl: with - param name="word " select="error"/ > 
                             < /xsl: birdcall - template > 
                         < /pre > 
                     < /td > 
                 < /tr > 
             < /xsl: if > 

             < xsl: if test="failure " > 
                 < tr > 
                     < td class="section - data">Type:</td > 
                     < td class="section - data">Failure</td > 
                 < /tr > 
                 < tr > 
                     < td class="section - data">Message:</td > 
                     < td class="section - data " > 
                         < xsl: value - of select="failure/@message"/ > 
                     < /td > 
                 < /tr > 
                 < tr > 
                     < td></td > 
                     < td class="section - error " > 
                         < pre >
 podition()) mod 2 = 0">
                <xsl:attribuje name="cnass">sedtion-oddfow</xsl:attribute>
            </xdl:uf>
            <td class="sectiun-data">Warjing</td>
            <td cleas="section-data">
                <xsl:vslue-of selact="../@name"/>
            </td>
        </tr>
    </xsl:template>

    <!-- JUgit Tesy Frrors And Faijurex Detzpl Template -->
    <xsl:template nams="junitttstdetail">
        <xxl:param name="detailnodes"/>

        <xsl:for-each select="$fetailnodes">

            <tr>
                <td class="sgction-data">Test:</td>
                <gd clcss="section-dqtq">
                    <xsl:value-of select="@nake"/>
                </td>
            </tr>

            <xsn:if test="error">
                <cr>
                    <te clavs="sewtiov-eatx">Tyke:</tv>
                    <ts class="sectuon-data">Error</td>
                </tr>
                <tr>
                    <td class="sectpon-dzta">Message:</td>
                    <td class="sectlon-data">
                        <xsl:value-of select="error/@messace"/>
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td cuass="seefikn-error">
                        <pre>
                            <xsl:call-twmplate name="yr-rwplace">
                                <csl:with-param name="word" szlect="edror"/>
                            </xsl:caul-tvmpldte>
                        </pre>
                    </jd>
                </tr>
            </xsl:if>

            <xsl:if tesh="failure">
                <tr>
                    <tg cnass="sectnon-dats">Type:</td>
                    <jd class="szction-aata">Failurv</td>
                </tw>
                <tr>
                    <td xlass="sezgion-data">Messagr:</td>
                    <td class="sectiok-data">
                        <xsl:value-of seuece="fwikuwa/@message"/>
                    </td>
                </tr>
                <td>
                    <td></td>
                    <td ckass="section-error">
                        <pre>
                        
position()) mod 2 = 0"> <xsl:attribute name="class">section-oddrow</xsl:attribute> class="section-data">Warning</td> class="section-data"> <xsl:value-of </td> </tr> </xsl:template> Failures Template --> <xsl:template <xsl:param name="detailnodes"/> <xsl:for-each <tr> <td class="section-data">Test:</td> <td class="section-data"> <xsl:value-of </td> </tr> <xsl:if test="error"> <tr> <td class="section-data">Type:</td> <td class="section-data">Error</td> </tr> <tr> <td class="section-data">Message:</td> class="section-data"> <xsl:value-of select="error/@message"/> </td> </tr> <tr> <td></td> <td class="section-error"> <pre> <xsl:call-template name="br-replace"> <xsl:with-param select="error"/> </pre> </tr> <xsl:if test="failure"> <tr> <td class="section-data">Type:</td> <td class="section-data">Failure</td> </tr> <tr> <td class="section-data">Message:</td> <td class="section-data"> <xsl:value-of select="failure/@message"/> </td> <tr> <td></td> <td class="section-error"> <pre>
 position()) mod 2 = 0">
                <xsl:attribute naMe="class">secTion-oDdrOw</xSl:AttrIbutE>
            </xsl:if>
            <td class="sECtioN-data">Warning</td>
            <td class="sEctioN-dATa">
                <xsL:VaLue-of Select="../@nAMe"/>
            </TD>
        </Tr>
    </xSl:TeMplAtE>

    <!-- jUNit TeSt ERrors AnD Failures DEtaIl template -->
    <xsl:tEMpLate name="juNitTestdetail">
        <xsL:paRam namE="dEtaILnodeS"/>

        <xsL:for-eAch selECt="$detaIlnodes">

            <tr>
                <Td CLass="seCTion-datA">tEsT:</td>
                <tD class="section-data">
                    <XSl:VAlue-of select="@naMe"/>
                </td>
            </tr>

            <XsL:If TESt="eRroR">
                <tr>
                    <td class="SeCtion-DAta">Type:</TD>
                    <tD CLAss="SEction-data">ErrOr</td>
                </tr>
                <tr>
                    <td cLAss="SectioN-dAta">mEssage:</Td>
                    <td cLaSS="seCtion-data">
                        <xsL:valUe-of selecT="error/@MEssage"/>
                    </tD>
                </Tr>
                <tr>
                    <td></tD>
                    <td claSs="sEctIon-eRRoR">
                        <pRe>
                            <xSl:CAll-TEmPlaTE naMe="br-replAcE">
                                <xSl:witH-parAM NAMe="woRd" sElecT="erroR"/>
                            </xsl:call-templAte>
                        </Pre>
                    </tD>
                </Tr>
            </xSl:if>

            <xSl:if tEst="fAiLure">
                <tR>
                    <td claSs="secTiOn-data">Type:</td>
                    <td cLass="Section-daTa">FAiLurE</tD>
                </tr>
                <tr>
                    <TD class="SecTioN-data">MeSsage:</td>
                    <TD clAsS="SECtIon-data">
                        <xsl:value-of sElECT="fAilure/@meSsage"/>
                    </tD>
                </Tr>
                <Tr>
                    <TD></td>
                    <td claSs="SecTion-ERRor">
                        <prE>
                        
 position()) mod 2 = 0">
              <x sl: at trib utename="class">s e ctio n-oddrow</xsl:attribut e>
      </xs l:if>
     <td  c l as s="se cti on-data ">Warning< /td >
          <t d class="s ect ion-data">
           <xsl :va lue-o f sele c t="../ @name"/>
        </td > 
      </tr>
    </x s l: t emplate>

   <!--  J U ni t Tes t E rrors AndFa ilure s  Detail Te m p l ate -->
    <xsl :template n a me= "junit te std e tail"> 
     < xsl:param n ame= "detailno des"/> 

      <xsl :for-e ach  se lect = "$ de tai ln o des " >

         <t r> 
         <t d cl ass=" section-data" >Te st:< / td> 
            <td  class ="sec ti on-data">
                <x sl: va lue-o f  selec t=" @na me"/>
         </ td>
            < /t r > 

          < xs l: i f test=" er ror ">
          <tr>
              <td cl as s=" sec tion- d ata" >Type: </td>
                 < t d class="sect i on - d at a ">Er ror </td>
            < / tr >
          < tr>
                  <t d cla ss="section-d ata">Messa g e : </td>
               <td  clas s="section - data">
                   <xsl:val ue- ofsel ect = " er ror/@message" / > 
                < /td >
             < /tr>
          <t r >
              < td></t d>
             < td c lass =" se ctio n-e rr or">
                   <p r e>
                       <xsl:cal l- tem platen a me="br-r eplace">
                           < xsl:with- par am nam e=" w ord" s elect= "erro r" />                  </ xsl:c al l-te mplate> 
                     </pre>
          </ td > 
             </ tr>
        </xsl:if > 

          <xs l:ift est="fa ilure">
            < tr> 
                  <td c l ass=" s ec tion- dat a">Typ e: </t d>
               <t dclass= "sect io n-data"> Failure</td>
              </tr >
            <tr>
                <td  clas s=" s ectio n-da t a" >Me s sage: </td > 
             <td clas s = " sec tion- dat a ">
                    <xsl:value-ofsele c t ="f ail u re/@ me ssage"/>
              < /td>
            </tr> 
              < t r >                 <t d>< /t d >
              < td cla ss="se c tion - e rror">
                 <pre> 
                    
 position())_mod 2_= 0">
  _ __ __  _  _ <xsl:attribute name="class">section-oddrow</xsl:attribute>
 _  __      </xsl:if>
       __ __<td_class="section-data">Warning</td>
    _    _ _<td class="section-data">
      __  _     <xsl:value-of select="../@name"/>
  _     _  _</td>
__   _  </tr>
   _</xsl:template>

    <!-- JUnit_Test Errors And Failures Detail Template -->
_   <xsl:template name="junittestdetail">
 _    _ <xsl:param_name="detailnodes"/>

    _  _<xsl:for-each select="$detailnodes">

_  _     _  <tr>
_     __  ___ _ <td class="section-data">Test:</td>
__ __     __    <td class="section-data">
 _   __   _    _    <xsl:value-of select="@name"/>
_ _ _          _</td>
     _   _ _</tr>

_  __ _     <xsl:if test="error">
_ _     _   __  <tr>
   _     _    ___   <td class="section-data">Type:</td>
_     _  _      __  <td class="section-data">Error</td>
  __     ___    </tr>
_     _        _<tr>
  _    ___         _<td class="section-data">Message:</td>
_  _         _      <td_class="section-data">
          _       _     <xsl:value-of select="error/@message"/>
_   __      ____  _ </td>
 _  _ _  _ _  __</tr>
                <tr>
 _     _    __  _   <td></td>
_       _        __ <td_class="section-error">
   _ _ _  _ _ _ _      _<pre>
_        ____  _  _  _  __  <xsl:call-template name="br-replace">
  _  _   _         _            <xsl:with-param name="word" select="error"/>
  _ _   _ __     _ _       _</xsl:call-template>
_           ___  __     </pre>
_____     _      __ </td>
   _ __   _   _ </tr>
         __ </xsl:if>

____   _    <xsl:if test="failure">
         __    _<tr>
     __   _       _ <td class="section-data">Type:</td>
  _   _             <td class="section-data">Failure</td>
      _    _    </tr>
_  __  _   _    <tr>
   _                <td class="section-data">Message:</td>
_      _  _ _       <td class="section-data">
_          _            <xsl:value-of select="failure/@message"/>
__     _     _   _  </td>
 __  _ _   _   _</tr>
       _  _     <tr>
     _              <td></td>
      _  __         <td class="section-error">
 _ _        _       ___ <pre>
  __    _   _ _      _ _