?? vary.xtp
字號:
<title>XSL Variation</title><table-of-contents/><p>Stylesheets can format the same page in several different styles.One view can be a fancy formatted HTML page. Another can be a plainprintable page. A third might be a WAP view. Or you may havemultiple styles for different sections in a site.<p>The <a href='../view_source.jsp?xsl/vary.xtp'>XML source</a> ofthis page has two different views: fancy and plain.<ul><li>Look at the <a href='vary.xml'>fancy formatting</a> <li>Or look at the <a href='vary.xml?plain'>plain formatting</a></ul><p>The <ahref='../view_source.jsp?xsl/WEB-INF/classes/xsl/Dispatch.java'>dispatchservlet</a> for *.xml files looks for a /plain extension. The servletsets the <var>caucho.xsl.stylesheet</var> attribute and forwards the page to an*.xtp page.<ul><li><a href='../view_source.jsp?xsl/WEB-INF/xsl/plain.xsl'>plain.xsl</a><li><a href='../view_source.jsp?xsl/WEB-INF/xsl/default.xsl'>default.xsl</a>(<a href='../view_source.jsp?xsl/WEB-INF/xsl/copy.xsl'>copy.xsl</a>,<a href='../view_source.jsp?xsl/WEB-INF/xsl/header.xsl'>header.xsl</a>,<ahref='../view_source.jsp?xsl/WEB-INF/xsl/content.xsl'>content.xsl</a>)</ul>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -