The public interface to the XMLPrintStream class can be found in the curam.util.xml.impl package within the SDEJ JavaDoc.
In use the following basic pattern will be followed:
The following subsections will look at these steps in detail, but first there are steps you can take to configure default values for your print streams.