1.

Record Nr.

UNINA9910818813803321

Autore

Vohra Deepak

Titolo

Processing XML documents with Oracle JDeveloper 11g : creating, validating, and transforming XML documents with Oracle's IDE / / Deepak Vohra

Pubbl/distr/stampa

Birmingham, Great Britain, : Packt Publishing, 2009

ISBN

1-282-06320-0

9786612063206

1-84719-667-5

Edizione

[1st ed.]

Descrizione fisica

1 online resource (384 p.)

Collana

From technologies to solutions

Learn by doing : less theory, more results

Disciplina

005.133

006.7

Soggetti

XML (Document markup language)

Internet programming

Web sites - Design

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

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

SummaryCreating an XML Schema; An overview of XML Schema; Root element; Element component; SimpleType component; ComplexType component; Setting the environment; Creating an XML schema; Registering an XML schema; Creating an XML document from the XML schema; Summary; XML Schema Validation; JDeveloper built-in schema validation; Schema validation in XDK 11g; Setting the environment; Schema validation with XSDValidator; Creating a schema validator;



Setting the error handler; Validating the XML document; Running the Java application; Schema validation with a SAX parser; Creating a SAX parser

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

Saving an XML document

Sommario/riassunto

Create, validate, and transform XML documents with Oracle's JDeveloper IDE using this book and eBook