home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / WindowsServerTrial / server.iso / sources / install.wim / 2 / Windows / System32 / gatherWiredInfo.xslt < prev    next >
Extensible Markup Language  |  2006-09-18  |  743b  |  17 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsl:stylesheet version="1.0"
  3.     xmlns:e="http://schemas.microsoft.com/win/2004/08/events/event"
  4.     xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  5. <xsl:output method="text" encoding="UTF-8"/>
  6. <xsl:param name="omit-levels"/>
  7. <xsl:template match="/">
  8. <xsl:for-each select="/Events/e:Event[e:DebugData/e:Message and
  9.     not(contains($omit-levels, concat(' ', e:DebugData/e:LevelName, ' '))) and
  10.     not(contains(e:DebugData/e:Message, ' (No Format Information found).'))]">
  11. <xsl:value-of select="concat('[', e:System/e:Execution/@ThreadID, '] ',
  12.     substring(e:System/e:TimeCreated/@SystemTime, 12, 12), ' ',
  13.     e:DebugData/e:Message, ' ')"/>
  14. </xsl:for-each>
  15. </xsl:template>
  16. </xsl:stylesheet>
  17.