Main Page

Previous Next

Chapter 22: Creating and Modifying XML Documents


In this chapter we will concentrate on understanding what we can do with the DOM API. As we outlined in the previous chapter, DOM uses a mechanism that is completely different to SAX. As well as providing an alternative mechanism for parsing XML documents, DOM also adds the capability for you to modify them and create new ones.

In this chapter you will learn:

  • What a document object model is

  • How you create a DOM parser

  • How you access the contents of a document using DOM

  • How you create and update a new XML document

  • How to modify Sketcher to read and write sketches as XML documents

Previous Next
JavaScript Editor Java Tutorials Free JavaScript Editor