section: xmlWriter synopsis: use various APIs for the xmlWriter purpose: tests a number of APIs for the xmlWriter, especially the various methods to write to a filename, to a memory buffer, to a new document, or to a subtree. It shows how to do encoding string conversions too. The resulting documents are then serialized. usage: testWriter test: testWriter ; for i in 1 2 3 4 ; do diff writer.xml writer$$i.res ; done ; rm writer*.res author: Alfred Mickautsch copy: see Copyright for the status of this software.