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

📄 xsl_w3celementref.asp@output=print

📁 W3Schools tutorial..web designing
💻 ASP@OUTPUT=PRINT
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-US" xml:lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<head>

<title>XSLT Reference</title>
 
<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="Keywords" content="xml,tutorial,html,dhtml,css,xsl,xhtml,javascript,asp,ado,vbscript,dom,sql,colors,soap,php,authoring,programming,training,learning,beginner's guide,primer,lessons,school,howto,reference,examples,samples,source code,tags,demos,tips,links,FAQ,tag list,forms,frames,color table,w3c,cascading style sheets,active server pages,dynamic html,internet,database,development,Web building,Webmaster,html guide" />

<meta name="Description" content="Free HTML XHTML CSS JavaScript DHTML XML DOM XSL XSLT RSS AJAX ASP ADO PHP SQL tutorials, references, examples for web building." />

<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "../../https@ssl./default.htm" : "../../www./default.htm");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-3855518-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>

</head>
<body>

<p>From <b>http://www.w3schools.com</b> (Copyright Refsnes Data)</p>


<h1>XSLT Elements Reference</h1>

<a href="xsl_summary.asp"><img border="0" src="../images/btn_previous.gif" alt="prev" width="100" height="20" /></a>
<a href="xsl_functions.asp"><img border="0" src="../images/btn_next.gif" alt="next" /></a>

<hr />

<p class="intro">The XSLT elements from the W3C Recommendation (XSLT Version 1.0).</p>
<hr />

<h2>XSLT Elements</h2>

<p>The links in the &quot;Element&quot; column point to attributes and more
useful information about each specific element.</p>

<ul>
  <li><b>N</b>: indicates the earliest version of Netscape that supports the 
  tag </li>
  <li><b>IE</b>: indicates the earliest version of Internet Explorer that 
  supports the tag</li>
</ul>

<p class="red"><b>Note: </b>Elements supported in IE 5 may have NON-standard behavior, 
because IE 5 was released before  XSLT became an official W3C Recommendation.</p>

<table class="ex" cellspacing="0" border="1">
  <tr>
    <th width="35%" align="left" valign="top">Element</th>
    <th width="55%" align="left" valign="top">Description</th>
    <th width="5%" align="left" valign="top">IE</th>
    <th width="5%" align="left" valign="top">FF</th>
  </tr>
  <tr>
    <td valign="top"><a href="el_apply-imports.asp">apply-imports</a></td>
    <td valign="top">Applies a template rule from an imported style sheet</td>
    <td valign="top">6.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_apply-templates.asp">apply-templates</a></td>
    <td valign="top">Applies a template rule to the current element or to the 
    current element's child nodes</td>
    <td valign="top">5.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_attribute.asp">attribute</a></td>
    <td valign="top">Adds an attribute</td>
    <td valign="top">5.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_attributeset.asp">attribute-set</a></td>
    <td valign="top">Defines a named set of attributes</td>
    <td valign="top">6.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_call-template.asp">call-template</a></td>
    <td valign="top">Calls a named template</td>
    <td valign="top">6.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_choose.asp">choose</a></td>
    <td valign="top">Used in conjunction with &lt;when&gt; and &lt;otherwise&gt; to 
    express multiple conditional tests</td>
    <td valign="top">5.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_comment.asp">comment</a></td>
    <td valign="top">Creates a comment node in the result tree</td>
    <td valign="top">5.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_copy.asp">copy</a></td>
    <td valign="top">Creates a copy of the current node (without child nodes and 
    attributes)</td>
    <td valign="top">5.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_copy-of.asp">copy-of</a></td>
    <td valign="top">Creates a copy of the current node (with child nodes and 
    attributes)</td>
    <td valign="top">6.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_decimal-format.asp">decimal-format</a></td>
    <td valign="top">Defines the characters and symbols to be used when 
    converting numbers into strings, with the format-number() function</td>
    <td valign="top">6.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_element.asp">element</a></td>
    <td valign="top">Creates an element node in the output document</td>
    <td valign="top">5.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_fallback.asp">fallback</a></td>
    <td valign="top">Specifies an alternate code to run if&nbsp; the  
    processor does not support an XSLT element</td>
    <td valign="top">6.0</td>
    <td valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_for-each.asp">for-each</a></td>
    <td valign="top">Loops through each node in a specified node set</td>
    <td valign="top">5.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_if.asp">if</a></td>
    <td valign="top">Contains a template that will be applied only if a 
    specified condition is true</td>
    <td valign="top">5.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_import.asp">import</a></td>
    <td valign="top">Imports the contents of one style sheet into another. <b>Note:</b> 
An imported style sheet has lower precedence than the importing style sheet</td>
    <td valign="top">6.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_include.asp">include</a></td>
    <td valign="top">Includes the contents of one style sheet into another. <b>Note:</b>
    An included style sheet has the same precedence as the including style sheet</td>
    <td valign="top">6.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_key.asp">key</a></td>
    <td valign="top">Declares a named key that can be used in the style sheet with the key() function</td>
    <td valign="top">6.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_message.asp">message</a></td>
    <td valign="top">Writes a message to the output (used to report errors)</td>
    <td valign="top">6.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_namespace-alias.asp">namespace-alias</a></td>
    <td valign="top">Replaces a namespace in the style sheet to a different 
    namespace in the output</td>
    <td valign="top">6.0</td>
    <td valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_number.asp">number</a></td>
    <td valign="top">Determines the integer position of the current node and 
    formats a number</td>
    <td valign="top">6.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_otherwise.asp">otherwise</a></td>
    <td valign="top">Specifies a default action for the &lt;choose&gt; element</td>
    <td valign="top">5.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_output.asp">output</a></td>
    <td valign="top">Defines the format of the output document</td>
    <td valign="top">6.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_param.asp">param</a></td>
    <td valign="top">Declares a local or global parameter</td>
    <td valign="top">6.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_preserve-space.asp">preserve-space</a></td>
    <td valign="top">Defines the elements for which white space should be 
    preserved</td>
    <td valign="top">6.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_processing-instruction.asp">processing-instruction</a></td>
    <td valign="top">Writes a processing instruction to the output</td>
    <td valign="top">5.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_sort.asp">sort</a></td>
    <td valign="top">Sorts the output</td>
    <td valign="top">6.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_preserve-space.asp">strip-space</a></td>
    <td valign="top">Defines the elements for which white space should be 
    removed</td>
    <td valign="top">6.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_stylesheet.asp">stylesheet</a></td>
    <td valign="top">Defines the root element of a style sheet</td>
    <td valign="top">5.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_template.asp">template</a></td>
    <td valign="top">Rules to apply when a specified node is matched</td>
    <td valign="top">5.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_text.asp">text</a></td>
    <td valign="top">Writes literal text to the output</td>
    <td valign="top">5.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_stylesheet.asp">transform</a></td>
    <td valign="top">Defines the root element of a style sheet</td>
    <td valign="top">6.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_value-of.asp">value-of</a></td>
    <td valign="top">Extracts the value of a selected node</td>
    <td valign="top">5.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_variable.asp">variable</a></td>
    <td valign="top">Declares a local or global variable</td>
    <td valign="top">6.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_when.asp">when</a></td>
    <td valign="top">Specifies an action for the &lt;choose&gt; element</td>
    <td valign="top">5.0</td>
    <td valign="top">1.0</td>
  </tr>
  <tr>
    <td valign="top"><a href="el_with-param.asp">with-param</a></td>
    <td valign="top">Defines the value of a parameter to be passed into a 
    template</td>
    <td valign="top">6.0</td>
    <td valign="top">1.0</td>
  </tr>
</table>
<br />
<hr />
<a href="xsl_summary.asp"><img border="0" src="../images/btn_previous.gif" alt="prev" width="100" height="20" /></a>
<a href="xsl_functions.asp"><img border="0" src="../images/btn_next.gif" alt="next" width="100" height="20" /></a>

<p>From <b>http://www.w3schools.com</b> (Copyright Refsnes Data)</p>

</body>
</html>

⌨️ 快捷键说明

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