⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 authors.xsl

📁 Microsoft?ASP.NET Programming with Microsoft Visual C#?.NET Version 2003 Step By Step
💻 XSL
字号:
<xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
   <xsl:template match="/">
   <style>
      .header{font-weight:bold;color:white;background-color:black;}
      .value{font-family:arial;font-size:.7em;background-color:silver}
   </style>
   <table border="1" cellspacing="0" cellpadding="1" bordercolor="black">
      <tr class="header">
         <th>Author ID</th>
         <th>Last Name</th>
         <th>First Name</th>
         <th>Phone</th>
         <th>Address</th>
         <th>City</th>
         <th>State</th>
         <th>Zip</th>
         <th>Contract</th>
      </tr>
   <xsl:for-each select='Schema1/authors'>
      <tr>
         <td nowrap="true" class="value">
            <b>
               <xsl:value-of select='@au_id' />
            </b>
         </td>
         <td nowrap="true" class="value">
            <xsl:value-of select='@au_lname' />
         </td>
         <td nowrap="true" class="value">
            <xsl:value-of select='@au_fname' />
         </td>
         <td nowrap="true" class="value">
            <xsl:value-of select='@phone' />
         </td>
         <td nowrap="true" class="value">
            <xsl:value-of select='@address' />
         </td>
         <td nowrap="true" class="value">
            <xsl:value-of select='@city' />
         </td>
         <td nowrap="true" class="value">
            <xsl:value-of select='@state' />
         </td>
         <td nowrap="true" class="value">
            <xsl:value-of select='@zip' />
         </td>
         <td nowrap="true" class="value">
            <xsl:value-of select='@contract' />
         </td>
      </tr>
   </xsl:for-each>
   </table>
   </xsl:template>
</xsl:stylesheet>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -