XML documents can be used to transfer data. The data in an XML document can
be retrieved either with the JAXP (Java API for XML Processing) DOM and SAX
APIs, or with the JAXP XPath API. Addressing an XML document with XPath has
the advantage of selecting a single node directly without iterating over a
node set. In this article, we'll explore XPath support in Oracle
JDeveloper-XDK 11g. The article is a book extract from Packt Publishing's
Processing XML Documents in Oracle JDeveloper 11g.
With SAX and DOM APIs, node lists have to be iterated to access a particular
node. Another advantage of navigating an XML document with XPath is that an
attribute node may be selected directly. With DOM and SAX APIs, an element
node has to be selected before an element attribute can be selected. Here
we'll discuss XPath support in JDeveloper.
What Is XPath?
XPath is a language for a... (more)
A J2EE application deployed in the WebLogic server may be debugged in the
Eclipse IDE with the remote debugger provided by Eclipse. Without a debugger
the error message has to be obtained from the application server error log to
debug the application.
With the remote debugger provided by Eclipse, exception breakpoints may be
added to the application file to debug. When an application is run in
WebLogic and the application generates an error, the application gets
suspended and the Eclipse IDE Debug perspective displays the error. In this
tutorial we will debug a WebLogic Applicat... (more)
The WebLogic-Eclipse plug-in is designed to run the WebLogic Server from the
Eclipse IDE. With the WebLogic-Eclipse plug-in, the WebLogic Server gets
started and stopped from Eclipse. An application deployed in the WebLogic
Server can be debugged from Eclipse with the plug-in. By installing the
WebLogic plug-in in Eclipse the WebLogic Server can be configured and
administered from the Eclipse IDE by setting the server classpath and JVM
options in Eclipse.
A J2EE developer is commonly required to administer the WebLogic Server and
debug applications deployed in the WebLo... (more)
This article compares Document Type Definition (DTD) and XML Schema elements.
Java 2 Enterprise Edition (J2EE) developers use DTDs and schemas in J2EE/XML
applications. When a DTD for an XML document is provided and validation with
an XML Schema is required, the DTD-to-XML Schema conversion creates an XML
Schema document corresponding to the DTD document.
A DTD defines the structure of an XML document and defines a document's
element types, subelement types, and the order and number of each element
type. It also declares the attributes, entities, notations, processing
This tutorial discusses the simpleType and complexType XML Schema structures
and their corresponding representations in an XML document. XML Schema is
used as the basis of an XML document structure, and some of the XML
technologies, such as JAXB, are based on XML Schema.
An XML Schema is an XML-based representation of the structure of an XML
document. XML Schema supports data types and namespaces; a DTD does not. In
this tutorial, the simpleType and complexType structures used to represent a
XML document will be discussed.
SimpleTypes are custom da... (more)