xmlformat TutorialPaul DuBois
Table of Contents1. Introduction ............................................................................................................ 12. Formatting a Document ............................................................................................ 13. Using a Configuration File ......................................................................................... 24. Discovering "Inherited" Formatting Options ................................................................. 65. Checking for Unconfigured Elements .......................................................................... 71. IntroductionThis document is a user guide that provides a tutorial introduction to the xmlformat program. Anotherdocument, The xmlformat Document Formatter, describes the capabilities of in more detail.2. Formatting a DocumentSuppose you have an XML document nameddoc1.xml that looks like this:I bought a new coffee cup!200421Suppose further that you want it to look like this:I bought a new coffee cup!200421By happy coincidence, that happens to be exactly the default output style produced by xmlformat. Toreformat your document, all you have to do is run xmlformat with the document filename as the argu-ment, ...