Leaked source code of windows server 2003
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.

25 lines
1.1 KiB

  1. <?xml version="1.0"?>
  2. <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
  3. <xsl:template match="/">
  4. <TABLE STYLE="border:1px solid black">
  5. <TR STYLE="font-size:12pt; font-family:Verdana; font-weight:bold; text-decoration:underline">
  6. <TD>Name</TD>
  7. <TD STYLE="background-color:lightgrey">Type</TD>
  8. <TD>Value</TD>
  9. </TR>
  10. <xsl:for-each select="CIM//INSTANCE/PROPERTY">
  11. <TR STYLE="font-family:Verdana; font-size:12pt; padding:0px 6px">
  12. <TD><xsl:value-of select="@NAME"/></TD>
  13. <TD STYLE="background-color:lightgrey"><xsl:value-of select="@TYPE"/></TD>
  14. <TD><xsl:value-of select="VALUE"/></TD>
  15. </TR>
  16. </xsl:for-each>
  17. <xsl:for-each select="CIM//CLASS/PROPERTY">
  18. <TR STYLE="font-family:Verdana; font-size:12pt; padding:0px 6px">
  19. <TD><xsl:value-of select="@NAME"/></TD>
  20. <TD STYLE="background-color:lightgrey"><xsl:value-of select="@TYPE"/></TD>
  21. <TD><xsl:value-of select="VALUE"/></TD>
  22. </TR>
  23. </xsl:for-each>
  24. </TABLE>
  25. </xsl:template>
  26. </xsl:stylesheet>