branch_JH
jinhan 1 year ago
parent 88dd7e628f
commit 7db0bcbf0f

@ -16,17 +16,31 @@
~ limitations under the License.
-->
<!-- 定义一个JSTL 1.1 XML库的标签库 -->
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
version="2.0">
<!-- 标签库的描述 -->
<description>JSTL 1.1 XML library</description>
<!-- 标签库的显示名称 -->
<display-name>JSTL XML</display-name>
<!-- 标签库的版本号 -->
<tlib-version>1.1</tlib-version>
<!-- 标签库的短名称 -->
<short-name>x</short-name>
<!-- 标签库的URI -->
<uri>http://java.sun.com/jsp/jstl/xml</uri>
<!-- 提供JSTL XML标签的验证功能 -->
<validator>
<description>
Provides validation features for JSTL XML tags.
@ -36,45 +50,87 @@
</validator-class>
</validator>
<!-- 简单的条件标签,用于建立互斥条件操作的上下文,由<when>和<otherwise>标记 -->
<!-- 标签 -->
<tag>
<!-- 描述 -->
<description>
Simple conditional tag that establishes a context for
mutually exclusive conditional operations, marked by
&lt;when&gt; and &lt;otherwise&gt;
</description>
<!-- 标签名 -->
<name>choose</name>
<!-- 标签类 -->
<tag-class>org.apache.taglibs.standard.tag.common.core.ChooseTag</tag-class>
<!-- 标签体内容 -->
<body-content>JSP</body-content>
</tag>
<!-- 类似于<%= ... >但用于XPath表达式 -->
<!-- 定义一个标签 -->
<tag>
<!-- 标签的描述 -->
<description>
Like &lt;%= ... &gt;, but for XPath expressions.
</description>
<!-- 标签的名称 -->
<name>out</name>
<!-- 标签的类 -->
<tag-class>org.apache.taglibs.standard.tag.rt.xml.ExprTag</tag-class>
<!-- 标签的内容 -->
<body-content>empty</body-content>
<!-- 标签的属性 -->
<attribute>
<!-- 属性的描述 -->
<description>
XPath expression to be evaluated.
</description>
<!-- 属性的名称 -->
<name>select</name>
<!-- 属性是否必须 -->
<required>true</required>
<!-- 属性是否为运行时表达式 -->
<rtexprvalue>false</rtexprvalue>
</attribute>
<!-- 标签的属性 -->
<attribute>
<!-- 属性的描述 -->
<description>
Determines whether characters &lt;,&gt;,&amp;,'," in the
resulting string should be converted to their
corresponding character entity codes. Default
value is true.
</description>
<!-- 属性的名称 -->
<name>escapeXml</name>
<!-- 属性是否必须 -->
<required>false</required>
<!-- 属性是否为运行时表达式 -->
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<!-- XML条件标签如果提供的XPath表达式评估为布尔值'true',则评估其主体 -->
<tag>
<description>
XML conditional tag, which evalutes its body if the
@ -98,27 +154,51 @@ Name of the exported scoped variable for the
resulting value of the test condition. The type
of the scoped variable is Boolean.
</description>
<!-- 变量名 -->
<name>var</name>
<!-- 是否必填 -->
<required>false</required>
<!-- 是否为运行时表达式 -->
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Scope for var.
</description>
<!-- 定义一个名为scope的属性 -->
<name>scope</name>
<!-- 该属性是否为必需的false表示不是必需的 -->
<required>false</required>
<!-- 该属性是否为运行时表达式false表示不是 -->
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<!-- XML迭代标签 -->
<tag>
<!-- 描述XML迭代标签 -->
<description>
XML iteration tag.
</description>
<!-- 标签名称forEach -->
<name>forEach</name>
<!-- 标签类org.apache.taglibs.standard.tag.common.xml.ForEachTag -->
<tag-class>org.apache.taglibs.standard.tag.common.xml.ForEachTag</tag-class>
<!-- 标签体内容JSP -->
<body-content>JSP</body-content>
<!-- 属性 -->
<attribute>
<description>
Name of the exported scoped variable for the
@ -127,47 +207,89 @@ has nested visibility. Its type depends on the
result of the XPath expression in the select
attribute.
</description>
<!-- 定义一个名为var的属性 -->
<name>var</name>
<!-- 该属性不是必需的 -->
<required>false</required>
<!-- 该属性不是运行时表达式 -->
<rtexprvalue>false</rtexprvalue>
</attribute>
<!-- 定义另一个属性 -->
<attribute>
<description>
XPath expression to be evaluated.
</description>
<!-- 定义一个名为select的属性 -->
<name>select</name>
<!-- 该属性是必需的 -->
<required>true</required>
<!-- 该属性不是运行时表达式 -->
<rtexprvalue>false</rtexprvalue>
</attribute>
<!-- 定义另一个属性 -->
<attribute>
<description>
Iteration begins at the item located at the
specified index. First item of the collection has
index 0.
</description>
<!-- 定义一个名为begin的属性 -->
<name>begin</name>
<!-- 该属性不是必需的 -->
<required>false</required>
<!-- 该属性可以是一个运行时表达式 -->
<rtexprvalue>true</rtexprvalue>
<!-- 该属性的类型是int -->
<type>int</type>
</attribute>
<!-- 定义另一个属性 -->
<attribute>
<description>
Iteration ends at the item located at the specified
index (inclusive).
</description>
<!-- 定义一个名为end的属性 -->
<name>end</name>
<!-- 该属性不是必需的 -->
<required>false</required>
<!-- 该属性可以是一个运行时表达式 -->
<rtexprvalue>true</rtexprvalue>
<!-- 该属性的类型是int -->
<type>int</type>
</attribute>
<!-- 定义另一个属性 -->
<attribute>
<description>
Iteration will only process every step items of
the collection, starting with the first one.
</description>
<name>step</name>
<!-- 是否必须 -->
<required>false</required>
<!-- 是否支持运行时表达式 -->
<rtexprvalue>true</rtexprvalue>
<!-- 类型 -->
<type>int</type>
</attribute>
<attribute>
@ -176,8 +298,14 @@ Name of the exported scoped variable for the
status of the iteration. Object exported is of type
javax.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested visibility.
</description>
<!-- 定义一个名为varStatus的属性 -->
<name>varStatus</name>
<!-- 该属性不是必需的 -->
<required>false</required>
<!-- 该属性不是一个运行时表达式 -->
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
@ -194,26 +322,48 @@ javax.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested visib
</tag>
<tag>
<!-- 添加一个参数到包含'transform'标签的Transformer中 -->
<description>
Adds a parameter to a containing 'transform' tag's Transformer
</description>
<!-- 标签名称 -->
<name>param</name>
<!-- 标签类 -->
<tag-class>org.apache.taglibs.standard.tag.rt.xml.ParamTag</tag-class>
<!-- 标签体内容 -->
<body-content>JSP</body-content>
<!-- 属性 -->
<attribute>
<description>
Name of the transformation parameter.
</description>
<!-- 定义属性名称 -->
<name>name</name>
<!-- 定义属性是否为必需的 -->
<required>true</required>
<!-- 定义属性是否为运行时表达式 -->
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Value of the parameter.
</description>
<!-- 元素的名称 -->
<name>value</name>
<!-- 元素是否为必需的 -->
<required>false</required>
<!-- 元素是否为运行时表达式 -->
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
@ -222,12 +372,24 @@ Value of the parameter.
<description>
Parses XML content from 'source' attribute or 'body'
</description>
<!-- 标签名称 -->
<name>parse</name>
<!-- 标签类 -->
<tag-class>org.apache.taglibs.standard.tag.rt.xml.ParseTag</tag-class>
<!-- 标签解释类 -->
<tei-class>org.apache.taglibs.standard.tei.XmlParseTEI</tei-class>
<!-- 标签体内容 -->
<body-content>JSP</body-content>
<attribute>
<description>
</description>
<!-- 导出解析的XML文档的作用域变量名称。作用域变量的类型取决于实现。 -->
<description>
Name of the exported scoped variable for
the parsed XML document. The type of the
scoped variable is implementation
@ -244,8 +406,14 @@ the parsed XML document. The type of the
scoped variable is
org.w3c.dom.Document.
</description>
<!-- 定义一个名为varDom的属性 -->
<name>varDom</name>
<!-- 该属性不是必需的 -->
<required>false</required>
<!-- 该属性不是一个运行时表达式 -->
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
@ -253,49 +421,91 @@ org.w3c.dom.Document.
Scope for var.
</description>
<name>scope</name>
<!-- 是否必须 -->
<required>false</required>
<!-- 是否是运行时表达式 -->
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Scope for varDom.
</description>
<!-- 定义一个名为scopeDom的属性 -->
<name>scopeDom</name>
<!-- 该属性是否为必需的false表示不是必需的 -->
<required>false</required>
<!-- 该属性是否为运行时表达式false表示不是 -->
<rtexprvalue>false</rtexprvalue>
</attribute>
<!-- 定义另一个属性 -->
<attribute>
<description>
Deprecated. Use attribute 'doc' instead.
</description>
<!-- 定义一个名为xml的属性 -->
<name>xml</name>
<!-- 该属性不是必需的 -->
<required>false</required>
<!-- 该属性可以是一个运行时表达式 -->
<rtexprvalue>true</rtexprvalue>
</attribute>
<!-- 定义另一个属性 -->
<attribute>
<description>
Source XML document to be parsed.
</description>
<!-- 定义一个名为doc的属性 -->
<name>doc</name>
<!-- 该属性不是必需的 -->
<required>false</required>
<!-- 该属性可以是一个运行时表达式 -->
<rtexprvalue>true</rtexprvalue>
</attribute>
<!-- 定义另一个属性 -->
<attribute>
<description>
The system identifier (URI) for parsing the
XML document.
</description>
<!-- 定义一个名为systemId的属性 -->
<name>systemId</name>
<!-- 该属性不是必需的 -->
<required>false</required>
<!-- 该属性可以是一个运行时表达式 -->
<rtexprvalue>true</rtexprvalue>
</attribute>
<!-- 定义另一个属性 -->
<attribute>
<description>
Filter to be applied to the source
document.
</description>
<!-- 定义一个名为filter的属性 -->
<name>filter</name>
<!-- 该属性不是必需的 -->
<required>false</required>
<!-- 该属性可以是一个运行时表达式 -->
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
@ -304,9 +514,17 @@ document.
<description>
Saves the result of an XPath expression evaluation in a 'scope'
</description>
<!-- 设置标签的名称 -->
<name>set</name>
<!-- 设置标签的类 -->
<tag-class>org.apache.taglibs.standard.tag.common.xml.SetTag</tag-class>
<!-- 设置标签的内容 -->
<body-content>empty</body-content>
<!-- 设置标签的属性 -->
<attribute>
<description>
Name of the exported scoped variable to hold
@ -314,24 +532,46 @@ the value specified in the action. The type of the
scoped variable is whatever type the select
expression evaluates to.
</description>
<!-- 定义一个名为var的属性 -->
<name>var</name>
<!-- 该属性是必需的 -->
<required>true</required>
<!-- 该属性不是运行时表达式 -->
<rtexprvalue>false</rtexprvalue>
</attribute>
<!-- 定义另一个属性 -->
<attribute>
<description>
XPath expression to be evaluated.
</description>
<!-- 定义一个名为select的属性 -->
<name>select</name>
<!-- 该属性不是必需的 -->
<required>false</required>
<!-- 该属性不是运行时表达式 -->
<rtexprvalue>false</rtexprvalue>
</attribute>
<!-- 定义另一个属性 -->
<attribute>
<description>
Scope for var.
</description>
<!-- 定义一个名为scope的属性 -->
<name>scope</name>
<!-- 该属性不是必需的 -->
<required>false</required>
<!-- 该属性不是一个运行时表达式 -->
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
@ -341,9 +581,17 @@ Scope for var.
Conducts a transformation given a source XML document
and an XSLT stylesheet
</description>
<!-- 标签名称 -->
<name>transform</name>
<!-- 标签类 -->
<tag-class>org.apache.taglibs.standard.tag.rt.xml.TransformTag</tag-class>
<!-- 标签解释类 -->
<tei-class>org.apache.taglibs.standard.tei.XmlTransformTEI</tei-class>
<!-- 标签体内容 -->
<body-content>JSP</body-content>
<attribute>
<description>
@ -354,16 +602,28 @@ document. The type of the
scoped variable is
org.w3c.dom.Document.
</description>
<!-- 定义一个名为var的属性 -->
<name>var</name>
<!-- 该属性不是必需的 -->
<required>false</required>
<!-- 该属性不是一个运行时表达式 -->
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Scope for var.
</description>
<!-- 定义属性名称为scope -->
<name>scope</name>
<!-- 定义属性是否为必需的false表示不是必需的 -->
<required>false</required>
<!-- 定义属性值是否为运行时表达式false表示不是运行时表达式 -->
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
@ -373,8 +633,14 @@ Object that captures or
processes the transformation
result.
</description>
<!-- 定义一个名为result的属性 -->
<name>result</name>
<!-- 该属性不是必需的 -->
<required>false</required>
<!-- 该属性可以是一个运行时表达式 -->
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
@ -382,8 +648,14 @@ result.
Deprecated. Use attribute
'doc' instead.
</description>
<!-- 定义属性名称为xml -->
<name>xml</name>
<!-- 设置属性是否为必需false表示不是必需的 -->
<required>false</required>
<!-- 设置属性是否为运行时表达式true表示是 -->
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
@ -395,8 +667,14 @@ to a well-formed XML
document, not a partial
document.)
</description>
<!-- 定义一个名为doc的属性 -->
<name>doc</name>
<!-- 该属性不是必需的 -->
<required>false</required>
<!-- 该属性可以是一个运行时表达式 -->
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
@ -404,8 +682,14 @@ document.)
Deprecated. Use attribute
'docSystemId' instead.
</description>
<!-- 定义一个属性名称为xmlSystemId -->
<name>xmlSystemId</name>
<!-- 该属性不是必需的 -->
<required>false</required>
<!-- 该属性可以是一个运行时表达式 -->
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
@ -414,8 +698,14 @@ The system identifier (URI)
for parsing the XML
document.
</description>
<!-- 定义一个属性名称为docSystemId -->
<name>docSystemId</name>
<!-- 该属性是否为必需的false表示不是必需的 -->
<required>false</required>
<!-- 该属性是否为运行时表达式true表示是 -->
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
@ -426,7 +716,11 @@ a String, Reader, or
Source object.
</description>
<name>xslt</name>
<!-- 是否必须 -->
<required>false</required>
<!-- 是否支持运行时表达式 -->
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
@ -446,17 +740,33 @@ stylesheet.
Subtag of &lt;choose&gt; that includes its body if its
expression evalutes to 'true'
</description>
<!-- 标签名称 -->
<name>when</name>
<!-- 标签类 -->
<tag-class>org.apache.taglibs.standard.tag.common.xml.WhenTag</tag-class>
<!-- 标签体内容 -->
<body-content>JSP</body-content>
<!-- 属性 -->
<attribute>
<!-- 描述 -->
<description>
The test condition that tells whether or
not the body content should be
processed
</description>
<!-- 元素名称 -->
<name>select</name>
<!-- 是否必需 -->
<required>true</required>
<!-- 是否是运行时表达式 -->
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>

Loading…
Cancel
Save