Home Exercise using DOM

You are given the following xml file article.xml

the schema for this document is articleSimpleType.xsd

  1. Write Java code that inputs this xml document into DOM and writes it to another file that contains the original xml docement without change. Hint: use the given in tutorials.
  2. CReate a version of the code that transform xml document into html document for display.

ADVICE: you may use this code sample as a starting framework for your homework

http://developers.sun.com/sw/building/codesamples/dom/src/DOMSample.zip