DOM Builder Reference > QDoc-Specific API Methods > createNewXMLDocument
  
createNewXMLDocument
This method creates a new QDoc.
The following table lists parameters of createNewXMLDocument.
 
Parameter Name
Type
Description
I/O
Req
qdocName
Char
Name of the QDoc root element.
I
Y
qdocVersion
Char
Version attribute of the QDoc root element.
I
Y
qdocSchemaLocation
Char
URL of the QDoc’s XML schema, for syntax validation purposes.
I
N
sxopeTrans
Logical
Indicates whether the entire QDoc must be processed as a single unit of work.
I
Y
logTrans
Logical
Indicates whether the QDoc should be logged during processing.
I
Y
transId
Char
User-defined identifier for the QDoc, for tracking purposes if it is logged.
I
N
suppressResponseDetail
Logical
Indicates whether the response to the QDoc should include detailed application data, or only the outcome of processing with any exceptions.
I
Y
qdocRootNode
Handle
X-NODEREF object pointing to the root node of the new QDoc.
O
Y