PBDOM_DOCUMENT:
NewDocument Syntax 1 method
Description
Creates a new XML DOM document from scratch.
Syntax
1 |
<span>pbdom_document_name</span>.NewDocument(<span>strRootElementName</span><span></span>) |
Argument |
Description |
---|---|
pbdom_document_name |
The name of a PBDOM_DOCUMENT |
strRootElementName |
The name of the root element to be contained |
Return Values
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