[Previous slide] [Next slide] Moving to XML

Create a document object

    DocumentImpl doc = new DocumentImpl();