Skip to content

Instantly share code, notes, and snippets.

@stonezhl
Last active July 30, 2019 02:25
Show Gist options
  • Save stonezhl/cbd526e4f0513a387a76511337171678 to your computer and use it in GitHub Desktop.
Save stonezhl/cbd526e4f0513a387a76511337171678 to your computer and use it in GitHub Desktop.
A table of SAX and DOM.
SAX DOM
Large XML file to parse or memory limitation Small XML file or no memory limitation
Need to be fast at run time The data structure is complicated
Only need to parse a specific piece Need to do elements query
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment