Processing XML documents with Oracle JDeveloper 11g : creating, validating, and transforming XML documents with Oracle's IDE /
"This expanded hands-on tutorial guides newcomers and intermediate users through JDeveloper 11g and XML document development. It offers up-to-date information on working with the latest version of JDeveloper, and brand new information on JAXB 2.0 support in JDeveloper 11g. Filled with illustrat...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham [U.K.] :
Packt Pub.,
©2009.
|
Colección: | From technologies to solutions.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Table of Contents; Preface; Creating and Parsing an XML Document; Setting the environment; Generating an XML document; Creating the factory; Creating the DOM document object; Creating the root element; Constructing the DOM document; Outputting the DOM document; Running the Java application; Parsing an XML document with the DOM API; Creating the factory; Creating a DOM document object; Outputting the XML document components' values; Running the Java application; Parsing an XML document with the SAX API; Creating the factory; Parsing the XML document; Running the Java application
- Setting the error handlerValidating the XML document; Running the Java application; Schema validation with a DOM parser; Creating a DOM parser; Setting the error handler; Parsing the XML document; Running the Java application; Summary; XPath; What is XPath?; XPath support in Oracle XDK 11g; Setting the environment; XPath search; Selecting nodes with absolute location paths; Selecting nodes with relative location paths; Selecting namespace nodes; Selecting nodes with XPath API; Creating the DOM parser; Method selectSingleNode(String); Method selectNodes(String)
- Method selectSingleNode(String, NSResolver)Method selectNodes(String, NSResolver); Running the Java application; Summary; Transforming XML with XSLT; What we will cover in this chapter; Setting the environment for XSLT transformation; Transforming an XML document; Parsing the XML document; Creating the TransformerFactory; Creating the Transformer; Running the application; XSLT extension functions; Setting the environment for XSLT extension functions; Creating the stylesheet containing the extension functions; Instantiating Java classes; Parsing the XML
- Storing Java results in XSLT-non-static methodStoring Java results in XSLT-static method; Modifying attributes; Modifying element text; Stylesheet with extension functions; Processing the extension functions; Summary; JSTL XML Tag Library; Overview of the JSTL XML tag library; Setting the environment; Parsing with the JSTL XML tag library; Transforming with the JSTL XML tag library; Summary; Loading and Saving XML with DOM 3.0 LS; Background; The API; Setting the environment; Loading an XML document; Creating the LSParser; Adding event handling; Parsing the XML document