Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

SetDocument – PB Docs 126 – PowerBuilder Library

SetDocument – PB Docs 126

PBDOM_DOCTYPE:

SetDocument method

Description

Sets
the owning PBDOM_DOCUMENT of the current PBDOM_DOCTYPE.

Syntax

Argument

Description

pbdom_doctype_name

The name of a PBDOM_DOCTYPE
object

pbdom_document_ref

A PBDOM_DOCUMENT object to be
set as the owner document of this PBDOM_DOCTYPE object

Return Values

PBDOM_DOCTYPE. The current PBDOM_DOCTYPE
modified to be the DOCTYPE of the referenced PBDOM_DOCUMENT.

Throws

EXCEPTION_PBDOM_OBJECT_INVALID_FOR_USE – if
the input PBDOM_DOCUMENT object is invalid for use in any
way.

EXCEPTION_PBDOM_OBJECT_ALREADY_HAS_PARENT – if
this current PBDOM_DOCTYPE already has a parent PBDOM_OBJECT.
In this case, this PBDOM_DOCTYPE is already the DOCTYPE
of some document.

Usage

A DOM DOCTYPE object can have no owner document, or it can
have an owner document but no parent node. A DOCTYPE that has an
owner document as well as a parent node is the actual DOCTYPE of
the owner document.

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x