Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
742 B

  1. <?xml version='1.0' ?>
  2. <!-- Copyright (c) 2001 Microsoft Corporation -->
  3. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  4. <xsl:output encoding="utf-8" omit-xml-declaration ="yes"/>
  5. <xsl:template match="/">
  6. Node,<xsl:for-each select="COMMAND/RESULTS[1]/CIM/INSTANCE[1]//PROPERTY"><xsl:value-of select="@NAME"/>,</xsl:for-each><xsl:apply-templates select="COMMAND/RESULTS"/></xsl:template>
  7. <xsl:template match="RESULTS" xml:space="preserve"><xsl:apply-templates select="CIM/INSTANCE"/></xsl:template>
  8. <xsl:template match="INSTANCE" xml:space="preserve">
  9. <xsl:value-of select="../../@NODE"/>,<xsl:for-each select="PROPERTY"><xsl:value-of select="VALUE"/>,</xsl:for-each></xsl:template>
  10. </xsl:stylesheet>