I thought I would post the XSL that I currently have as well:
Code:
<xsl:for-each select=".//EXECUTE_PROGRAM">
<xsl:variable name="cmd_line" select="COMMAND_LINE"/>
<xsl:variable name="exe_name" select="PATHNAME"/>
<xsl:if test="(contains($cmd_line, '/S=Active') or contains($cmd_line, '/S=Success') or contains($cmd_line, '/S=Failed')) and contains($exe_name,'WISSTAT.EXE')">
<xsl:element name="COMMAND_LINE">
<!-- <xsl:attribute name="GenErr">False</xsl:attribute>
<xsl:attribute name="Msg">WARNING: Flags warning</xsl:attribute>
<xsl:attribute name="Itm">False</xsl:attribute> -->
<xsl:value-of select="COMMAND_LINE"/>
</xsl:element>
</xsl:if>
</xsl:for-each>
This is the "Positive" of what I am looking for and brings back only those lines that meet that condition. I could put a "not" in front of it but then it would still bring back valid nodes even though they have the desired string and this isn't what I am looking for either. Any help would be greatly appreciated.