code: protected OutputStream marshal(OutputStream out, String encoding) throws CmsXmlException {
  
          return CmsXmlUtils.marshal(m_document, out, encoding);
      }
docs: Marshals (writes) the content of the current XML document
  into an output stream.<p>
  
  @param out the output stream to write to
  @param encoding the encoding to use
  @return the output stream with the XML content
  @throws CmsXmlException if something goes wrong