-
Book Overview & Buying
-
Table Of Contents
Processing XML documents with Oracle JDeveloper 11g
In this section we shall discuss the XML tags in the JSTL XML tag library. We will use some of the tags in a subsequent section in a JSTL XML example application. The JSTL XML tag library provides various tags for parsing an XML document, selecting nodes in an XML document with XPath, iterating over document nodes, and transforming an XML document. The JSTL XML tag library URI is http://java.sun.com/jsp/jstl/xml. The syntax for including the JSTL XML tag library in a JSP page is the following taglib directive:
<%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml" %>
The different tags in the JSTL XML tag library are discussed in the table that follows. All of the attributes are of type java.lang.String, except the begin, end, and step attributes in the forEach tag, which are of type int, and attributes are not required unless specified to be required.
|
Tag Name |
Description |
Attributes |
|---|---|---|
|
parse |
Parses an XML document and saves the resulting... |
Change the font size
Change margin width
Change background colour