XML Tag Library
The JSTL XML tag set is listed in Table 14-5.
Area | Function | Tags | Prefix |
---|---|---|---|
XML | Core | out parse set | x |
Flow control | choose when otherwise forEach if | ||
Transformation | transform param |
A key aspect of dealing with XML documents is to be able to easily access their content. XPath (see How XPath Works, page 247), a W3C recommendation since 1999, provides an easy notation for specifying and selecting parts of an XML document. In the JSTL XML tags, XPath expressions specified using the select attribute are used to select portions of XML data streams. Note that XPath is used as a local expression language only for the select attribute. This means that values specified for select attributes are evaluated using the XPath expression ...
Get The J2EE™ Tutorial Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.