getPrintWriter
Returns the PrintWriter associated to the XMLStream object.
General format
java.io.PrintWriter getPrintWriter ()
General rules
1. A java.io.PrintWriter object is returned. You can use this method to add text to the content generated by other XMLStream write methods. See the below example, that adds a line specifying the XML stylesheet.
Code example
...
configuration section.
repository
    class xmlStream  as "com.iscobol.rts.XMLStream"
    .
...
working-storage section.
...
77 objXmlStream object reference xmlStream.
...
procedure division.
...
    objXmlStream:>getPrintWriter:>println
               ('<?xml-stylesheet type="text/xsl" href="custom.xsl"?>'
                as string).