Tag Documentation

[tag libraries] [tags]

The following document contains a summary of all theJellytag libraries.

Tag Libraries

[tag libraries] [tags]

LibraryDescription
jelly:jsl

The Jelly Stylesheet Library (JSL)

The JSL tag library implements an XSLT-like declarative XML based processing engine which allows dynamic stylesheets and a free mix and match of all Jelly tags within the script.

The JSL tag library relies on the XML tags in JSTL to do most of its work, so JSL just providesthe declarative XML processing via <jsl:stylesheet> <jsl:template>and <jsl:applyTemplates>

jelly:jsl

The Jelly Stylesheet Library (JSL)

The JSL tag library implements an XSLT-like declarative XML based processing engine which allows dynamic stylesheets and a free mix and match of all Jelly tags within the script.

The JSL tag library relies on the XML tags in JSTL to do most of its work, so JSL just providesthe declarative XML processing via <jsl:stylesheet> <jsl:template>and <jsl:applyTemplates>

Tag NameDescription
applyTemplatesImplements the apply templates function in the stylesheet, similar to the XSLT equivalent.a JSP include.
styleThis tag performs a JSL stylesheet which was previouslycreated via an <stylesheet>tag.
stylesheetThis tag implements a JSL stylesheet which is similar to anXSLT stylesheet but can use Jelly tags inside it
templateThis tag represents a declarative matching rule, similar to the template tag in XSLT.

Tags

[tag libraries] [tags]

jsl:applyTemplates

Implements the apply templates function in the stylesheet, similar to the XSLT equivalent.a JSP include.

Attribute NameTypeDescription
escapeTextboolean
modejava.lang.StringSets the mode.
selectorg.jaxen.XPath
trimboolean

jsl:style

This tag performs a JSL stylesheet which was previouslycreated via an <stylesheet>tag.

Attribute NameTypeDescription
escapeTextboolean
selectorg.jaxen.XPathSets the XPath expression to evaluate.
stylesheetorg.dom4j.rule.StylesheetSets the stylesheet to use to style this tags body
trimboolean

jsl:stylesheet

This tag implements a JSL stylesheet which is similar to anXSLT stylesheet but can use Jelly tags inside it

Attribute NameTypeDescription
escapeTextboolean
modejava.lang.StringSets the mode.
selectorg.jaxen.XPathSets the XPath expression to evaluate.
stylesheetOutputorg.apache.commons.jelly.XMLOutputSets the XMLOutput to use by the current stylesheet
trimboolean
varjava.lang.StringSets the variable name to define for this expression

jsl:template

This tag represents a declarative matching rule, similar to the template tag in XSLT.

Attribute NameTypeDescription
escapeTextboolean
matchorg.dom4j.rule.Pattern
modejava.lang.StringSets the mode.
namejava.lang.StringSets the name.
prioritydoubleSets the priority.
trimboolean