/tutorial/xml/README.txt

http://github.com/tybor/Liberty · Plain Text · 18 lines · 11 code · 7 blank · 0 comment · 0 complexity · 0f3cccc056ff3b15911db01ee8429eb1 MD5 · raw file

  1. There are two ways of using the XML library:
  2. == SAX ==
  3. (Simple API for XML)
  4. It is event-oriented: implement your own XML_CALLBACKS and all its
  5. features.
  6. == DOM ==
  7. (Document Object Model)
  8. It is data-oriented: just use XML_TREE that provides a generic
  9. (non-validated) tree containing your XML data.
  10. You can also subclass XML_TREE if you want some validation (just
  11. redefine the `new_node' feature).