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.

28 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. <DIV STYLE="BACKGROUND-COLOR: green">
  5. <H1 STYLE="font-family:'Times New Roman';color: yellow">Property Information for Disk
  6. <xsl:value-of select="CIM//PROPERTY[@NAME='Caption']/VALUE"/>
  7. </H1>
  8. <DD>
  9. <TABLE STYLE="BACKGROUND-COLOR: light green; BORDER-BOTTOM: yellow ridge; BORDER-LEFT: yellow ridge; BORDER-RIGHT: yellow ridge; BORDER-TOP: yellow ridge;WIDTH: 75%">
  10. <TR STYLE="font-size:12pt; font-family:Impact;color: gold">
  11. <TD>Property</TD>
  12. <TD>Type</TD>
  13. <TD>Originating Class</TD>
  14. <TD>Value</TD>
  15. </TR>
  16. <xsl:for-each select="CIM//PROPERTY">
  17. <TR STYLE="font-family:Georgia; font-size:12pt; padding:0px 6px;color: white">
  18. <TD><xsl:value-of select="@NAME"/></TD>
  19. <TD><xsl:value-of select="@TYPE"/></TD>
  20. <TD><xsl:value-of select="@CLASSORIGIN"/></TD>
  21. <TD STYLE="font-family:'Courier New';color: yellow"><xsl:value-of select="VALUE"/></TD>
  22. </TR>
  23. </xsl:for-each>
  24. </TABLE>
  25. </DD>
  26. </DIV>
  27. </xsl:template>
  28. </xsl:stylesheet>