- We want to infer a XML schema from an existing XML document.
- We want to programmatically manipulate the “DOM” objects in the XML so that we can programmatically modify, add, and delete information in the XML.
- We can use a utility to infer an XML schema from a XML file.
- Then we use another utility to generate programmable classes/objects from the inferred XML schema.
- We can then manipulate those classes/objects in computer memory.
- Finally, we use a utility to convert the manipulated objects back into an XML file.