JSTL 1.1 XML library
JSTL XML
1.1
x
http://java.sun.com/jsp/jstl/xml
Provides validation features for JSTL XML tags.
org.apache.taglibs.standard.tlv.JstlXmlTLV
Simple conditional tag that establishes a context for
mutually exclusive conditional operations, marked by
<when> and <otherwise>
choose
org.apache.taglibs.standard.tag.common.core.ChooseTag
JSP
Like <%= ... >, but for XPath expressions.
out
org.apache.taglibs.standard.tag.rt.xml.ExprTag
empty
XPath expression to be evaluated.
select
true
false
Determines whether characters <,>,&,'," in the
resulting string should be converted to their
corresponding character entity codes. Default
value is true.
escapeXml
false
true
XML conditional tag, which evalutes its body if the
supplied XPath expression evalutes to 'true' as a boolean
if
org.apache.taglibs.standard.tag.common.xml.IfTag
JSP
The test condition that tells whether or not the
body content should be processed.
select
true
false
Name of the exported scoped variable for the
resulting value of the test condition. The type
of the scoped variable is Boolean.
var
false
false
Scope for var.
scope
false
false
XML iteration tag.
forEach
org.apache.taglibs.standard.tag.common.xml.ForEachTag
JSP
Name of the exported scoped variable for the
current item of the iteration. This scoped variable
has nested visibility. Its type depends on the
result of the XPath expression in the select
attribute.
var
false
false
XPath expression to be evaluated.
select
true
false
Iteration begins at the item located at the
specified index. First item of the collection has
index 0.
begin
false
true
int
Iteration ends at the item located at the specified
index (inclusive).
end
false
true
int
Iteration will only process every step items of
the collection, starting with the first one.
step
false
true
int
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.
varStatus
false
false
Subtag of <choose> that follows <when> tags
and runs only if all of the prior conditions evaluated to
'false'
otherwise
org.apache.taglibs.standard.tag.common.core.OtherwiseTag
JSP
Adds a parameter to a containing 'transform' tag's Transformer
param
org.apache.taglibs.standard.tag.rt.xml.ParamTag
JSP
Name of the transformation parameter.
name
true
true
Value of the parameter.
value
false
true
Parses XML content from 'source' attribute or 'body'
parse
org.apache.taglibs.standard.tag.rt.xml.ParseTag
org.apache.taglibs.standard.tei.XmlParseTEI
JSP
Name of the exported scoped variable for
the parsed XML document. The type of the
scoped variable is implementation
dependent.
var
false
false
Name of the exported scoped variable for
the parsed XML document. The type of the
scoped variable is
org.w3c.dom.Document.
varDom
false
false
Scope for var.
scope
false
false
Scope for varDom.
scopeDom
false
false
Deprecated. Use attribute 'doc' instead.
xml
false
true
Source XML document to be parsed.
doc
false
true
The system identifier (URI) for parsing the
XML document.
systemId
false
true
Filter to be applied to the source
document.
filter
false
true
Saves the result of an XPath expression evaluation in a 'scope'
set
org.apache.taglibs.standard.tag.common.xml.SetTag
empty
Name of the exported scoped variable to hold
the value specified in the action. The type of the
scoped variable is whatever type the select
expression evaluates to.
var
true
false
XPath expression to be evaluated.
select
false
false
Scope for var.
scope
false
false
Conducts a transformation given a source XML document
and an XSLT stylesheet
transform
org.apache.taglibs.standard.tag.rt.xml.TransformTag
org.apache.taglibs.standard.tei.XmlTransformTEI
JSP
Name of the exported
scoped variable for the
transformed XML
document. The type of the
scoped variable is
org.w3c.dom.Document.
var
false
false
Scope for var.
scope
false
false
Result
Object that captures or
processes the transformation
result.
result
false
true
Deprecated. Use attribute
'doc' instead.
xml
false
true
Source XML document to be
transformed. (If exported by
<x:set>, it must correspond
to a well-formed XML
document, not a partial
document.)
doc
false
true
Deprecated. Use attribute
'docSystemId' instead.
xmlSystemId
false
true
The system identifier (URI)
for parsing the XML
document.
docSystemId
false
true
javax.xml.transform.Source
Transformation stylesheet as
a String, Reader, or
Source object.
xslt
false
true
The system identifier (URI)
for parsing the XSLT
stylesheet.
xsltSystemId
false
true
Subtag of <choose> that includes its body if its
expression evalutes to 'true'
when
org.apache.taglibs.standard.tag.common.xml.WhenTag
JSP
The test condition that tells whether or
not the body content should be
processed
select
true
false