JAVA/CORBA CLASSES


generateXML method
Example

Generates an XML representation of a document to the Writer. The XML conforms to the Domino Document DTD.

Note This method is new with Release 5.0.3.

Defined in

Document

Syntax

public String generateXML()
   throws NotesException

public void generateXML(java.io.Writer w)
   throws NotesException, java.io.IOException

public void generateXML(Object style, XSLTResultTarget result)
   throws NotesException, java.io.IOException, org.xml.sax.SAXException

Parameters

java.io.Writer w


Object style
XSLTResultTarget result
Return value

String


Usage

This method takes the same arguments as the transformXML method in EmbeddedObject, Item, MIMEEntity, and RichTextItem. The transformXML method reads the XML from an item, attachment, MIMEEntity, or rich text item and transforms the XML. The generateXML method generates the XML from the document and then transforms it.

The generateXML method supports the following simple items:


To generate form semantics, you must call computeWithForm method before calling the generateXML method.

Example
See Also