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
336 • XML & Related Technologies
7.1.3 The StAX API
Sometime back, work started to happen in the area of an API that could inherit the best features of the SAX
and the DOM. The SAX is an event-driven API, which means that it indicates to the program where the
document starts and ends, where an element or its contents start and end, what are the attribute names and
pairs, and so on. On the other hand, the DOM builds the XML document as an in-memory tree before the
program can process it. SAX is fast and memory-efficient – however, it pushes XML data to the program,
whether or not it is ready to receive it. Hence, it can be a bit of nuisance at ...
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