Sax parser setvalidating
However, DOM can be quite wasteful if you only care about a small part of the document.
For example, suppose that you want to extract the first word from an XML document representing an entire dictionary.
In newer versions of JAXP -- included in the JDK -- Sun has repackaged the Apache Xerces parser (see Related topics).
In both cases, though, the parser is part of the JAXP distribution, but not part of the JAXP API.
It doesn't provide a new means of parsing XML, nor does it add to SAX or DOM, or give new functionality to Java and XML handling.
(If you're in disbelief at this point, you're reading the right article.) Instead, JAXP makes it easier to use DOM and SAX to deal with some difficult tasks.
I was searching for the answer to the same question.
In earlier versions of the Java platform, JAXP was a separate download from the core platform.
Submit a bug or feature For further API reference and developer documentation, see Java SE Documentation.
That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
You don't need to be fluent in callbacks or DOM s, but you should at least understand that SAX and DOM are parsing APIs.
It would also help to have a basic understanding of their differences.
Understanding even one or two of these APIs thoroughly is quite a task; using all of them correctly makes you a guru.