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

📄 lib0078.html

📁 j2ee架构师手册
💻 HTML
字号:
<html>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<head>
<title>XSLT Usage Guidelines</title>
<link rel="STYLESHEET" type="text/css" href="images/xpolecat.css">
<link rel="STYLESHEET" type="text/css" href="images/ie.content.css">
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td><div STYLE="MARGIN-LEFT: 0.15in;"><a href="toc.html"><img src="images/teamlib.gif" width="62" height="15" border="0" align="absmiddle"  alt="Team LiB"></a></div></td>
<td align="right"><div STYLE="MARGIN-LEFT: 0.15in;">
<a href="LiB0077.html"><img src="images/previous.gif" width="62" height="15" border="0" align="absmiddle" alt="Previous Section"></a>
<a href="LiB0079.html"><img src="images/next.gif" width="41" height="15" border="0" align="absmiddle" alt="Next Section"></a>
</div></td></tr></table>
<br>
<div class="chapter">
<a name="ch11"></a>
<div class="section">
<h2 class="first-section-title"><a name="369"></a><a name="ch11lev1sec6"></a>XSLT Usage Guidelines</h2><p class="para">
<b>Don't format data as XML just to use XSLT reformatting capabilities.</b> If the data to be reported isn't already in XML format, it usually isn't worth the trouble to put it into XML format solely to report from it via XSLT. A myriad of toolsets can generate reports directly from data in a relational database. Further, forming XML, parsing it, and transforming can be resource intensive.</p>
<a name="370"></a><a name="IDX-152"></a>
<p class="para">
<b>Consider using the XSLTC compiler.</b> If your style sheets are static (i.e., they aren't dynamically generated at runtime), use the XSLTC compiler (<a target="_top" class="url" href="http://xml.apache.org/xalan-j/xsltc_usage.html">http://xml.apache.org/xalan-j/xsltc_usage.html</a>). In most cases, this provides at least a 25 percent performance enhancement. As with JAXB-generated classes, put XSLTC-generated classes into a separate package structure and don't manually change them.</p>
</div>
</div><br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td><div STYLE="MARGIN-LEFT: 0.15in;"><a href="toc.html"><img src="images/teamlib.gif" width="62" height="15" border="0" align="absmiddle"  alt="Team LiB"></a></div></td>
<td align="right"><div STYLE="MARGIN-LEFT: 0.15in;">
<a href="LiB0077.html"><img src="images/previous.gif" width="62" height="15" border="0" align="absmiddle" alt="Previous Section"></a>
<a href="LiB0079.html"><img src="images/next.gif" width="41" height="15" border="0" align="absmiddle" alt="Next Section"></a>
</div></td></tr></table>
</body></html>

⌨️ 快捷键说明

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