Figured it out.
in the xsl:
in the vb:Code:<xsl:if test="report[@status='Pass']"> <tr class="pass_section"> <td> <table width="100%"> <tr> <td class="whole" align="left"> <a class="sec_link" name="Sync Check" href="#top" title="Go to top">Sync Check</a> </td> <td class="whole" align="right"> </td> </tr> </table> </td> </tr> </xsl:if> <xsl:if test="report[@status='Fail']"> <tr class="fail_section"> <td> <table width="100%"> <tr> <td class="whole" align="left"> <a class="sec_link" name="Sync Check" href="#top" title="Go to top">Sync Check</a> </td> <td class="whole" align="right"> </td> </tr> </table> </td> </tr> </xsl:if>
Code:If errorCount = 0 Then xmlString &= "<report status=""Pass"">" & vbNewLine Else xmlString &= "<report status=""Fail"">" & vbNewLine End If




Reply With Quote