2008-11-18 16:45:23 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
|
|
|
|
|
|
<xsl:template match="@*|node()">
|
|
|
|
<xsl:copy>
|
|
|
|
<xsl:apply-templates select="@*|node()"/>
|
|
|
|
</xsl:copy>
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
<xsl:template match="line">
|
|
|
|
<line>
|
|
|
|
<xsl:if test="contains(text(), ' *** ') or
|
|
|
|
contains(text(), 'LaTeX Error') or
|
2010-07-26 15:35:49 +00:00
|
|
|
contains(text(), 'BUILD FAILED') or
|
2011-01-12 08:48:25 +00:00
|
|
|
starts-with(text(), 'FAIL:') or
|
2009-11-30 11:43:43 +00:00
|
|
|
contains(text(), 'FAILURE') or
|
2011-01-12 08:48:25 +00:00
|
|
|
contains(text(), '[ERROR]') or
|
2008-11-18 16:45:23 +00:00
|
|
|
contains(text(), ' error: ') or
|
|
|
|
true">
|
|
|
|
<xsl:attribute name="error"></xsl:attribute>
|
|
|
|
</xsl:if>
|
|
|
|
<xsl:apply-templates select="@*|node()"/>
|
|
|
|
</line>
|
|
|
|
</xsl:template>
|
|
|
|
|
2009-11-30 11:43:43 +00:00
|
|
|
</xsl:stylesheet>
|