format.xsl~

来自「《jsp编程起步》里面的所有源代码」· XSL~ 代码 · 共 49 行

XSL~
49
字号
ct:box<<<center><table>  <xsl:for-each select='@*'>     <xsl:attribute name='name(.)'><{.}></xsl:attribute>  </xsl:for-each>  <xsl:if test='not(@width)'>     <xsl:attribute name='width'>100%</xsl:attribute>  </xsl:if>  <xsl:if test='not(@cellspacing)'>     <xsl:attribute name='cellspacing'>0</xsl:attribute>  </xsl:if>  <xsl:if test='not(@border)'>     <xsl:attribute name='border'>0</xsl:attribute>  </xsl:if><tr><td><xsl:apply-templates/></td></tr></table></center>>></xsl:template>ct:section[title]<<<p/><table width='100%' class='section' cellspacing=0 cellpadding=3 border=0><tr><td>  <font size='+1'><xsl:apply-templates select='title'/></font></td></tr><tr><td><xsl:apply-templates select='*[name(.)!="title"]'/></td></tr></table>>>ct:section[@title]<<<p/><table width='100%' class='section' cellspacing=0 cellpadding=3 border=0><tr><td>  <font size='+1'><{@title}></font></td></tr><tr><td><xsl:apply-templates select='*'/></td></tr></table>>>

⌨️ 快捷键说明

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