JSTL: JSP Standard Tag Library (by Jeff Heaton)
Chapter 8: Accessing XML Data with JSTL

(return to contents)

Core Examples

Listing 8.1 An XML file
Listing 8.2 Parsing XML
Listing 8.3 Using the <x:out> tag
Listing 8.4 Using the <x:set> tag

Flow Example

Listing 8.5 Using the <x:forEach> tag
Listing 8.6 Using the <x:choose> tag

Transform Example

Listing 8.7 A sample XSLT file
Listing 8.8 Process an XSLT file
Listing 8.9 XSL file with parameters
Listing 8.10 Process an XSLT file with parameters