home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / WindowsServerTrial / server.iso / sources / appcompat_bidi.xsl < prev    next >
Extensible Markup Language  |  2008-01-19  |  14KB  |  327 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 STYLE="direction: rtl;unicode-bidi: normal;">
  15.  
  16.                 <xsl:for-each select="CompatReport/WarnAllApps">
  17.                     <table>
  18.                         <tr>
  19.                             <td style="width: 20px" valign="top">
  20.                                 <xsl:element name="img">
  21.                                     <xsl:attribute name="src">
  22.                                         <xsl:value-of select="AppHead" />
  23.                                     </xsl:attribute>
  24.                                     <xsl:attribute name="align">
  25.                                         <xsl:copy-of select="'center'" />
  26.                                     </xsl:attribute>
  27.                                 </xsl:element>
  28.                             </td>
  29.                             <td>
  30.                                 <font size = "2" face="Segoe UI" color="#1370AB">
  31.                                     <xsl:copy-of select="Message"/>
  32.                                 </font>
  33.                             </td>
  34.                         </tr>
  35.                     </table>
  36.                     <br />
  37.                 </xsl:for-each>
  38.  
  39.                 <UL>
  40.                     <xsl:for-each select="CompatReport/HardBlocks">
  41.                         <font size = "2" face="Segoe UI" color="black">
  42.                             <xsl:value-of select="Message2"/>
  43.                         </font>
  44.                     </xsl:for-each>
  45.                 </UL>
  46.  
  47.                 <xsl:for-each select="CompatReport/HardBlocks">
  48.                     <table>
  49.                         <tr>
  50.                             <td style="width: 20px" valign="top">
  51.                                 <xsl:element name="img">
  52.                                     <xsl:attribute name="src">
  53.                                         <xsl:value-of select="AppHead" />
  54.                                     </xsl:attribute>
  55.                                     <xsl:attribute name="align">
  56.                                         <xsl:copy-of select="'center'" />
  57.                                     </xsl:attribute>
  58.                                 </xsl:element>
  59.                             </td>
  60.                             <td>
  61.                                 <font size = "2" face="Segoe UI" color="#1370AB">
  62.                                     <xsl:copy-of select="Message"/>
  63.                                 </font>
  64.                             </td>
  65.                         </tr>
  66.                     </table>
  67.                     <br />
  68.                 </xsl:for-each>
  69.  
  70.                 <UL>
  71.                     <xsl:for-each select="CompatReport/HardBlocks">
  72.                         <font size = "2" face="Segoe UI" color="black">
  73.                             <xsl:copy-of select="Message5"/>
  74.                         </font>
  75.                     </xsl:for-each>
  76.                 </UL>
  77.                 <UL>
  78.                     <UL>
  79.                         <xsl:for-each select="CompatReport/HardBlocks/OcNames/OcName">
  80.                             <font size = "2" face="Segoe UI" color="black">
  81.                                 <li>
  82.                                     <xsl:copy-of select="Name"/>
  83.                                 </li>
  84.                             </font>
  85.                         </xsl:for-each>
  86.                     </UL>
  87.                 </UL>
  88.  
  89.                 <xsl:for-each select="CompatReport/HardBlocks/OcNames">
  90.                     <UL>
  91.                         <UL>
  92.                             <a href="#{generate-id(.)}">
  93.                                 <font size = "2" face="Segoe UI" color="blue">
  94.                                     <xsl:value-of select="./Help"/>
  95.                                 </font>
  96.                             </a>
  97.                         </UL>
  98.                     </UL>
  99.                 </xsl:for-each>
  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.                 <UL>
  162.                     <xsl:for-each select="CompatReport/HardBlocks">
  163.                         <font size = "2" face="Segoe UI" color="black">
  164.                             <xsl:value-of select="Message0"/>
  165.                         </font>
  166.                     </xsl:for-each>
  167.                 </UL>
  168.  
  169.                 <UL>
  170.                     <UL>
  171.                         <xsl:for-each select="CompatReport/HardBlocks/UnDrvNames/UnDrvName">
  172.  
  173.                             <font size = "2" face="Segoe UI" color="black">
  174.                                 <li>
  175.                                     <xsl:copy-of select="Name"/>
  176.                                 </li>
  177.                             </font>
  178.                         </xsl:for-each>
  179.                     </UL>
  180.                 </UL>
  181.  
  182.                 <xsl:for-each select="CompatReport/HardBlocks/UnDrvNames">
  183.                     <UL>
  184.                         <UL>
  185.                             <a href="#{generate-id(.)}">
  186.                                 <font size = "2" face="Segoe UI" color="blue">
  187.                                     <xsl:value-of select="./Help"/>
  188.                                 </font>
  189.                             </a>
  190.                         </UL>
  191.                     </UL>
  192.                 </xsl:for-each>
  193.  
  194.                 <UL>
  195.                     <xsl:for-each select="CompatReport/HardBlocks">
  196.                         <font size = "2" face="Segoe UI" color="black">
  197.                             <xsl:copy-of select="Help"/>
  198.                         </font>
  199.                     </xsl:for-each>
  200.                 </UL>
  201.  
  202.                 <xsl:for-each select="CompatReport/SoftOcBlocks">
  203.                     <table>
  204.                         <tr>
  205.                             <td style="width: 20px" valign="top">
  206.                                 <xsl:element name="img">
  207.                                     <xsl:attribute name="src">
  208.                                         <xsl:value-of select="AppHead" />
  209.                                     </xsl:attribute>
  210.                                     <xsl:attribute name="align">
  211.                                         <xsl:copy-of select="'center'" />
  212.                                     </xsl:attribute>
  213.                                 </xsl:element>
  214.                             </td>
  215.                             <td>
  216.                                 <font size = "2" face="Segoe UI" color="#1370AB">
  217.                                     <xsl:copy-of select="Message"/>
  218.                                 </font>
  219.                             </td>
  220.                         </tr>
  221.                     </table>
  222.                     <br />
  223.                 </xsl:for-each>
  224.  
  225.                 <UL>
  226.                     <xsl:for-each select="CompatReport/SoftOcBlocks">
  227.                         <font size = "2" face="Segoe UI" color="black">
  228.                             <xsl:copy-of select="Message1"/>
  229.                         </font>
  230.                     </xsl:for-each>
  231.                 </UL>
  232.  
  233.                 <UL>
  234.                     <UL>
  235.                         <xsl:for-each select="CompatReport/SoftOcBlocks/OcNames/OcName">
  236.                             <font size = "2" face="Segoe UI" color="black">
  237.                                 <li>
  238.                                     <xsl:copy-of select="Name"/>
  239.                                 </li>
  240.                             </font>
  241.                         </xsl:for-each>
  242.                     </UL>
  243.                 </UL>
  244.  
  245.                 <xsl:for-each select="CompatReport/SoftOcBlocks/OcNames">
  246.                     <UL>
  247.                         <UL>
  248.                             <a href="#{generate-id(.)}">
  249.                                 <font size = "2" face="Segoe UI" color="blue">
  250.                                     <xsl:value-of select="./Help"/>
  251.                                 </font>
  252.                             </a>
  253.                         </UL>
  254.                     </UL>
  255.                 </xsl:for-each>
  256.  
  257.                 <xsl:for-each select="CompatReport/SoftBlocks">
  258.                     <table>
  259.                         <tr>
  260.                             <td style="width: 20px" valign="top">
  261.                                 <xsl:element name="img">
  262.                                     <xsl:attribute name="src">
  263.                                         <xsl:value-of select="AppHead" />
  264.                                     </xsl:attribute>
  265.                                     <xsl:attribute name="align">
  266.                                         <xsl:copy-of select="'center'" />
  267.                                     </xsl:attribute>
  268.                                 </xsl:element>
  269.                             </td>
  270.                             <td>
  271.                                 <font size = "2" face="Segoe UI" color="#1370AB">
  272.                                     <xsl:copy-of select="Message"/>
  273.                                 </font>
  274.                             </td>
  275.                         </tr>
  276.                     </table>
  277.                     <br />
  278.                 </xsl:for-each>
  279.  
  280.                 <UL>
  281.                     <xsl:for-each select="CompatReport/SoftBlocks">
  282.                         <font size = "2" face="Segoe UI" color="black">
  283.                             <xsl:copy-of select="Common"/>
  284.                         </font>
  285.                     </xsl:for-each>
  286.                 </UL>
  287.  
  288.                 <UL>
  289.                     <xsl:for-each select="CompatReport/SoftBlocks">
  290.                         <font size = "2" face="Segoe UI" color="black">
  291.                             <xsl:copy-of select="Message2"/>
  292.                         </font>
  293.                     </xsl:for-each>
  294.                 </UL>
  295.  
  296.                 <UL>
  297.                     <xsl:for-each select="CompatReport/SoftBlocks">
  298.                         <xsl:for-each select="Links/link">
  299.                             <font size = "2" face="Segoe UI" color="blue">
  300.                                 <a>
  301.                                     <xsl:attribute name="href">
  302.                                         <xsl:value-of select="@url"/>
  303.                                     </xsl:attribute>
  304.                                     <xsl:value-of select="@description"/>
  305.                                 </a>
  306.                             </font>
  307.                         </xsl:for-each>
  308.                     </xsl:for-each>
  309.                 </UL>
  310.  
  311.                 <xsl:for-each select="CompatReport/SoftBlocks/AppNames">
  312.                     <UL>
  313.                         <UL>
  314.                             <a href="#{generate-id(.)}">
  315.                                 <font size = "2" face="Segoe UI" color="blue">
  316.                                     <xsl:value-of select="./Help"/>
  317.                                 </font>
  318.                             </a>
  319.                         </UL>
  320.                     </UL>
  321.                 </xsl:for-each>
  322.  
  323.             </body>
  324.         </html>
  325.     </xsl:template>
  326. </xsl:stylesheet>
  327.