Skip to Main Content
XML and Related Technologies
book

XML and Related Technologies

by Atul kahate
May 2024
Beginner to intermediate content levelBeginner to intermediate
527 pages
17h 52m
English
Pearson India
Content preview from XML and Related Technologies
XML and Java • 341
1. Create an instance of the appropriate JAXP factory (SAX, DOM, or StAX).
2. The factory will refer to some properties file to know which implementation (for
example, Apache Xerces) of the JAXP parser to invoke.
3. Get an instance of the implemented parser (SAX, DOM, or StAX as implemented by
Apache Xerces or another implementation, as defined in the properties file above).
Figure 7.15 Initial steps in using JAXP
Now it should be clear how JAXP makes our application program independent of the parser
implementation. In other words, our application program talks to the abstraction layer of JAXP, and in our
properties file we ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

XML Schema

XML Schema

Eric van der Vlist
XML in a Nutshell, 3rd Edition

XML in a Nutshell, 3rd Edition

Elliotte Rusty Harold, W. Scott Means
Beginning XML, 5th Edition

Beginning XML, 5th Edition

Danny Ayers, Liam R.E. Quin, Joe Fawcett

Publisher Resources

ISBN: 9781282652262