NewDocument Syntax 1
Description
Creates a new XML DOM document from scratch.
Syntax
|
1 |
pbdom_document_name.NewDocument(strRootElementName) |
|
Argument |
Description |
|---|---|
|
pbdom_document_name |
The name of a PBDOM_DOCUMENT |
|
strRootElementName |
The name of the root element to be contained in |
Return value
Boolean.
Returns true if a new document is successfully created and false
otherwise.
Throws
EXCEPTION_INVALID_ARGUMENT — The input string is invalid, which
can occur if the string was set to null by means of the PowerScript
SetNull method.
EXCEPTION_MEMORY_ALLOCATION_FAILURE — Insufficient memory was
encountered while executing this method.
Usage
The parameter strRootElementName becomes the name of the root
element.
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest