home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="UTF-8"?>
- <xsl:stylesheet version="1.0"
- xmlns:e="http://schemas.microsoft.com/win/2004/08/events/event"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:output method="text" encoding="UTF-8"/>
- <xsl:param name="omit-levels"/>
- <xsl:template match="/">
- <xsl:for-each select="/Events/e:Event[e:DebugData/e:Message and
- not(contains($omit-levels, concat(' ', e:DebugData/e:LevelName, ' '))) and
- not(contains(e:DebugData/e:Message, ' (No Format Information found).'))]">
- <xsl:value-of select="concat('[', e:System/e:Execution/@ThreadID, '] ',
- substring(e:System/e:TimeCreated/@SystemTime, 12, 12), ' ',
- e:DebugData/e:Message, '
')"/>
- </xsl:for-each>
- </xsl:template>
- </xsl:stylesheet>
-