XML focus on the content of the document and gives no clue on the appearance or presentation.
Style sheets can be used to provide styling information for displaying XML documents.
PI can be used for inserting non-XML statements, such as scripts, into the document, to be passed to an application for processing.
A PI begins with a " is a PI (in this case, a XML instruction) that attaches a XSL style sheet to the XML document for layout processing.
The DOM API defines the mechanism for querying, traversing and manipulating the object model built. The DOM API defines the mechanism for querying, traversing the tree; and adding, modifying and deleting the elements and nodes.
The JAXP (Java APIs for XML Processing) provides a common interface for creating, parsing and manipulating XML documents using the standard SAX, DOM and XSLTs. Below is a simple SAX parser program to display all the books in the " import
Document Type Definition (DTD) is used to define the structure of an XML document.