previous |
start |
next
Parsing XML Documents
- SAX parser
- Event-driven
- It calls a method you provide to process each construct it
encounters
- More efficient for handling large XML documents
- DOM parser
- Builds a tree that represents the document
- When the parser is done, you can analyze the tree
- Easier to use for most applications
previous |
start |
next