home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / WindowsServerTrial / server.iso / sources / appcompat.xsl < prev    next >
Extensible Markup Language  |  2008-01-19  |  14KB  |  328 lines

  1. <?xml version="1.0"?>
  2.  
  3. <xsl:stylesheet
  4.   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  5.   xmlns="http://www.w3.org/TR/REC-html40"
  6.   version="1.0">
  7.     <xsl:output method="html"/>
  8.  
  9.     <xsl:template match="/">
  10.         <html>
  11.             <head>
  12.                 <title></title>
  13.             </head>
  14.             <body>
  15.                 <xsl:for-each select="CompatReport/WarnAllApps">
  16.                     <table>
  17.                         <tr>
  18.                             <td style="width: 20px" valign="top">
  19.                                 <xsl:element name="img">
  20.                                     <xsl:attribute name="src">
  21.                                         <xsl:value-of select="AppHead" />
  22.                                     </xsl:attribute>
  23.                                     <xsl:attribute name="align">
  24.                                         <xsl:copy-of select="'center'" />
  25.                                     </xsl:attribute>
  26.                                 </xsl:element>
  27.                             </td>
  28.                             <td>
  29.                                 <font size = "2" face="Segoe UI" color="#1370AB">
  30.                                     <xsl:copy-of select="Message"/>
  31.                                 </font>
  32.                             </td>
  33.                         </tr>
  34.                     </table>
  35.                     <br />
  36.                 </xsl:for-each>
  37.  
  38.                 <UL>
  39.                     <xsl:for-each select="CompatReport/HardBlocks">
  40.                         <font size = "2" face="Segoe UI" color="black">
  41.                             <xsl:value-of select="Message2"/>
  42.                         </font>
  43.                     </xsl:for-each>
  44.                 </UL>
  45.  
  46.                 <xsl:for-each select="CompatReport/HardBlocks">
  47.                     <table>
  48.                         <tr>
  49.                             <td style="width: 20px" valign="top">
  50.                                 <xsl:element name="img">
  51.                                     <xsl:attribute name="src">
  52.                                         <xsl:value-of select="AppHead" />
  53.                                     </xsl:attribute>
  54.                                     <xsl:attribute name="align">
  55.                                         <xsl:copy-of select="'center'" />
  56.                                     </xsl:attribute>
  57.                                 </xsl:element>
  58.                             </td>
  59.                             <td>
  60.                                 <font size = "2" face="Segoe UI" color="#1370AB">
  61.                                     <xsl:copy-of select="Message"/>
  62.                                 </font>
  63.                             </td>
  64.                         </tr>
  65.                     </table>
  66.                     <br />
  67.                 </xsl:for-each>
  68.  
  69.                 <UL>
  70.                     <xsl:for-each select="CompatReport/HardBlocks">
  71.                         <font size = "2" face="Segoe UI" color="black">
  72.                             <xsl:copy-of select="Message5"/>
  73.                         </font>
  74.                     </xsl:for-each>
  75.                 </UL>
  76.                 <UL>
  77.                     <UL>
  78.                         <xsl:for-each select="CompatReport/HardBlocks/OcNames/OcName">
  79.                             <font size = "2" face="Segoe UI" color="black">
  80.                                 <li>
  81.                                     <xsl:copy-of select="Name"/>
  82.                                 </li>
  83.                             </font>
  84.                         </xsl:for-each>
  85.                     </UL>
  86.                 </UL>
  87.                 <xsl:for-each select="CompatReport/HardBlocks/OcNames">
  88.                     <UL>
  89.                         <UL>
  90.                             <a href="#{generate-id(.)}">
  91.                                 <font size = "2" face="Segoe UI" color="blue">
  92.                                     <xsl:value-of select="./Help"/>
  93.                                 </font>
  94.                             </a>
  95.                         </UL>
  96.                     </UL>
  97.                 </xsl:for-each>
  98.  
  99.  
  100.  
  101.                 <UL>
  102.                     <xsl:for-each select="CompatReport/HardBlocks">
  103.                         <font size = "2" face="Segoe UI" color="black">
  104.                             <xsl:copy-of select="Message3"/>
  105.                         </font>
  106.                     </xsl:for-each>
  107.                 </UL>
  108.                 <UL>
  109.                     <UL>
  110.                         <xsl:for-each select="CompatReport/HardBlocks/AppNames/AppName">
  111.                             <font size = "2" face="Segoe UI" color="black">
  112.                                 <li>
  113.                                     <xsl:copy-of select="Name"/>
  114.                                 </li>
  115.                             </font>
  116.                         </xsl:for-each>
  117.                     </UL>
  118.                 </UL>
  119.                 <xsl:for-each select="CompatReport/HardBlocks/AppNames">
  120.                     <UL>
  121.                         <UL>
  122.                             <a href="#{generate-id(.)}">
  123.                                 <font size = "2" face="Segoe UI" color="blue">
  124.                                     <xsl:value-of select="./Help"/>
  125.                                 </font>
  126.                             </a>
  127.                         </UL>
  128.                     </UL>
  129.                 </xsl:for-each>
  130.  
  131.                 <UL>
  132.                     <xsl:for-each select="CompatReport/HardBlocks">
  133.                         <font size = "2" face="Segoe UI" color="black">
  134.                             <xsl:copy-of select="Message2"/>
  135.                         </font>
  136.                     </xsl:for-each>
  137.                 </UL>
  138.                 <UL>
  139.                     <UL>
  140.                         <xsl:for-each select="CompatReport/HardBlocks/DrvNames/DrvName">
  141.                             <font size = "2" face="Segoe UI" color="black">
  142.                                 <li>
  143.                                     <xsl:copy-of select="Name"/>
  144.                                 </li>
  145.                             </font>
  146.                         </xsl:for-each>
  147.                     </UL>
  148.                 </UL>
  149.                 <xsl:for-each select="CompatReport/HardBlocks/DrvNames">
  150.                     <UL>
  151.                         <UL>
  152.                             <a href="#{generate-id(.)}">
  153.                                 <font size = "2" face="Segoe UI" color="blue">
  154.                                     <xsl:value-of select="./Help"/>
  155.                                 </font>
  156.                             </a>
  157.                         </UL>
  158.                     </UL>
  159.                 </xsl:for-each>
  160.  
  161.  
  162.                 <UL>
  163.                     <xsl:for-each select="CompatReport/HardBlocks">
  164.                         <font size = "2" face="Segoe UI" color="black">
  165.                             <xsl:value-of select="Message0"/>
  166.                         </font>
  167.                     </xsl:for-each>
  168.                 </UL>
  169.  
  170.                 <UL>
  171.                     <UL>
  172.                         <xsl:for-each select="CompatReport/HardBlocks/UnDrvNames/UnDrvName">
  173.  
  174.                             <font size = "2" face="Segoe UI" color="black">
  175.                                 <li>
  176.                                     <xsl:copy-of select="Name"/>
  177.                                 </li>
  178.                             </font>
  179.                         </xsl:for-each>
  180.                     </UL>
  181.                 </UL>
  182.  
  183.                 <xsl:for-each select="CompatReport/HardBlocks/UnDrvNames">
  184.                     <UL>
  185.                         <UL>
  186.                             <a href="#{generate-id(.)}">
  187.                                 <font size = "2" face="Segoe UI" color="blue">
  188.                                     <xsl:value-of select="./Help"/>
  189.                                 </font>
  190.                             </a>
  191.                         </UL>
  192.                     </UL>
  193.                 </xsl:for-each>
  194.  
  195.                 <UL>
  196.                     <xsl:for-each select="CompatReport/HardBlocks">
  197.                         <font size = "2" face="Segoe UI" color="black">
  198.                             <xsl:copy-of select="Help"/>
  199.                         </font>
  200.                     </xsl:for-each>
  201.                 </UL>
  202.  
  203.                 <xsl:for-each select="CompatReport/SoftOcBlocks">
  204.                     <table>
  205.                         <tr>
  206.                             <td style="width: 20px" valign="top">
  207.                                 <xsl:element name="img">
  208.                                     <xsl:attribute name="src">
  209.                                         <xsl:value-of select="AppHead" />
  210.                                     </xsl:attribute>
  211.                                     <xsl:attribute name="align">
  212.                                         <xsl:copy-of select="'center'" />
  213.                                     </xsl:attribute>
  214.                                 </xsl:element>
  215.                             </td>
  216.                             <td>
  217.                                 <font size = "2" face="Segoe UI" color="#1370AB">
  218.                                     <xsl:copy-of select="Message"/>
  219.                                 </font>
  220.                             </td>
  221.                         </tr>
  222.                     </table>
  223.                     <br />
  224.                 </xsl:for-each>
  225.  
  226.                 <UL>
  227.                     <xsl:for-each select="CompatReport/SoftOcBlocks">
  228.                         <font size = "2" face="Segoe UI" color="black">
  229.                             <xsl:copy-of select="Message1"/>
  230.                         </font>
  231.                     </xsl:for-each>
  232.                 </UL>
  233.  
  234.                 <UL>
  235.                     <UL>
  236.                         <xsl:for-each select="CompatReport/SoftOcBlocks/OcNames/OcName">
  237.                             <font size = "2" face="Segoe UI" color="black">
  238.                                 <li>
  239.                                     <xsl:copy-of select="Name"/>
  240.                                 </li>
  241.                             </font>
  242.                         </xsl:for-each>
  243.                     </UL>
  244.                 </UL>
  245.  
  246.                 <xsl:for-each select="CompatReport/SoftOcBlocks/OcNames">
  247.                     <UL>
  248.                         <UL>
  249.                             <a href="#{generate-id(.)}">
  250.                                 <font size = "2" face="Segoe UI" color="blue">
  251.                                     <xsl:value-of select="./Help"/>
  252.                                 </font>
  253.                             </a>
  254.                         </UL>
  255.                     </UL>
  256.                 </xsl:for-each>
  257.  
  258.                 <xsl:for-each select="CompatReport/SoftBlocks">
  259.                     <table>
  260.                         <tr>
  261.                             <td style="width: 20px" valign="top">
  262.                                 <xsl:element name="img">
  263.                                     <xsl:attribute name="src">
  264.                                         <xsl:value-of select="AppHead" />
  265.                                     </xsl:attribute>
  266.                                     <xsl:attribute name="align">
  267.                                         <xsl:copy-of select="'center'" />
  268.                                     </xsl:attribute>
  269.                                 </xsl:element>
  270.                             </td>
  271.                             <td>
  272.                                 <font size = "2" face="Segoe UI" color="#1370AB">
  273.                                     <xsl:copy-of select="Message"/>
  274.                                 </font>
  275.                             </td>
  276.                         </tr>
  277.                     </table>
  278.                     <br />
  279.                 </xsl:for-each>
  280.  
  281.                 <UL>
  282.                     <xsl:for-each select="CompatReport/SoftBlocks">
  283.                         <font size = "2" face="Segoe UI" color="black">
  284.                             <xsl:copy-of select="Common"/>
  285.                         </font>
  286.                     </xsl:for-each>
  287.                 </UL>
  288.  
  289.                 <UL>
  290.                     <xsl:for-each select="CompatReport/SoftBlocks">
  291.                         <font size = "2" face="Segoe UI" color="black">
  292.                             <xsl:copy-of select="Message2"/>
  293.                         </font>
  294.                     </xsl:for-each>
  295.                 </UL>
  296.  
  297.                 <UL>
  298.                     <xsl:for-each select="CompatReport/SoftBlocks">
  299.                         <xsl:for-each select="Links/link">
  300.                             <font size = "2" face="Segoe UI" color="blue">
  301.                                 <a>
  302.                                     <xsl:attribute name="href">
  303.                                         <xsl:value-of select="@url"/>
  304.                                     </xsl:attribute>
  305.                                     <xsl:value-of select="@description"/>
  306.                                 </a>
  307.                             </font>
  308.                         </xsl:for-each>
  309.                     </xsl:for-each>
  310.                 </UL>
  311.  
  312.                 <xsl:for-each select="CompatReport/SoftBlocks/AppNames">
  313.                     <UL>
  314.                         <UL>
  315.                             <a href="#{generate-id(.)}">
  316.                                 <font size = "2" face="Segoe UI" color="blue">
  317.                                     <xsl:value-of select="./Help"/>
  318.                                 </font>
  319.                             </a>
  320.                         </UL>
  321.                     </UL>
  322.                 </xsl:for-each>
  323.  
  324.             </body>
  325.         </html>
  326.     </xsl:template>
  327. </xsl:stylesheet>
  328.