This lecture covers XML and the host of technologies associated with it. Using XML tools you should be able to access an XML document, ensure it is well-formed and valid, process it, modify it, and then save it as a new XML document.
Card*.xml/xsd files in the Resource Directory as processed by the Java programs DOM, Validate, Modify, and SAX. The Tranform programs show how it is trivial to save a modified document back to XML.