Cargando…

Processing XML documents with Oracle JDeveloper 11g.

In Detail XML is an open standard for creating markup languages and exchanging structured documents and data over the Internet. JDeveloper 11g presents an effective, quick, and easy-to-use means of processing XML documents. Inspired by the author's previous XML articles for the Oracle community...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Vohra, Deepak (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Packt Publishing 2009.
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