GetAttributeValue Syntax 4 – PB Docs 2017
GetAttributeValue Syntax 4 Description Returns the string value of the PBDOM_ATTRIBUTE object (within a PBDOM_ELEMENT object) with the specified name. If no such PBDOM_ATTRIBUTE exists, the default value is returned. Syntax
1 |
pbdom_element_name.GetAttributeValue(string strAttributeName, string strDefaultValue) |
Argument Description pbdom_element_name The name of a PBDOM_ELEMENT object strAttributeName The name of the attribute whose value is to be returned strDefaultValue Default…
RemoveAttribute Syntax 1 – PB Docs 2017
RemoveAttribute Syntax 1 Description Removes a PBDOM_ATTRIBUTE from its owner PBDOM_ELEMENT object. Syntax
1 |
pbdom_element_name.RemoveAttribute(pbdom_attribute pbdom_attribute_ref) |
Argument Description pbdom_element_name The name of a PBDOM_ELEMENT object pbdom_attribute_ref The PBDOM_ATTRIBUTE object to remove from this PBDOM_ELEMENT object Return value Boolean. Returns true if the specified PBDOM_ATTRIBUTE was removed, and false otherwise. Document get from Powerbuilder help Thank you for watching.
SetName – PB Docs 2017
SetName Description Sets the local name of the PBDOM_ATTRIBUTE object. Syntax
1 |
pbdom_attribute_name.SetName(string strName) |
Argument Description pbdom_attribute_name The name of the PBDOM_ATTRIBUTE strName The new local name for the PBDOM_ATTRIBUTE Return value Boolean. Returns true if the local name of the PBDOM_ATTRIBUTE has been changed and false otherwise. Throws EXCEPTION_INVALID_NAME  — If the input name is not valid…
PBDOM Summary – PB Docs 2017
PBDOM Summary Contents Summary of PBDOM classes and methods About this chapter This chapter provides a quick reference to the methods of PBDOM base classes and additional methods provided by inherited classes. Document get from Powerbuilder help Thank you for watching.
GetChildElement Syntax 2 – PB Docs 2017
GetChildElement Syntax 2 Description Returns the first child PBDOM_ELEMENT object, matching the name and namespace indicated by the method parameter contained in the PBDOM_ELEMENT object from which the method is invoked. Syntax
1 |
pbdom_element_name.GetChildElement(string strElementName, string strNamespacePrefix, string strNamespaceUri) |
Argument Description pbdom_element_name The name of a PBDOM_ELEMENT object strElementName The local name of the child PBDOM_ELEMENT object to be returned strNamespacePrefix…
GetChildElement Syntax 1 – PB Docs 2017
GetChildElement Syntax 1 Description Returns the first child PBDOM_ELEMENT object, matching the name indicated by the method parameter that is contained in the PBDOM_ELEMENT object from which the method is invoked. Syntax
1 |
pbdom_element_name.GetChildElement(string strElementName) |
Argument Description pbdom_element_name The name of a PBDOM_ELEMENT object strElementName The local name of the child PBDOM_ELEMENT object to be returned Return…
EXCEPTION_WRONG_PARENT_ERROR – PB Docs 2017
EXCEPTION_WRONG_PARENT_ERROR Code Value: 9 This exception is thrown when an incorrect parent/child relationship error is encountered during a PBDOM operation. Method calls in which this exception might be thrown include InsertContent and RemoveContent. These methods involve at least one PBDOM_OBJECT parameter that is assumed to be a child of the PBDOM_OBJECT to which the method is…
HasRootElement – PB Docs 2017
HasRootElement Description Returns true if this document has a root element. Syntax
1 |
pbdom_document_name.HasRootElement() |
Argument Description pbdom_document_name The name of a PBDOM_DOCUMENT object Return value Boolean. Returns true if the current PBDOM_DOCUMENT object has a root element, and false otherwise. See also DetachRootElement GetRootElement SetRootElement Document get from Powerbuilder help Thank you for watching.
Node trees – PB Docs 2017
Node trees PBDOM interacts with XML documents according to a tree-view model consisting of parent and child nodes. A document element represents the top-level node of a standalone XML document. This element has one or many child nodes that represent the branches of the tree. You access nodes in the node tree through the appropriate…
GetLongValue – PB Docs 2017
GetLongValue Description Returns the value of a PBDOM_ATTRIBUTE object as type long. Syntax
1 |
pbdom_attribute_name.GetLongValue() |
Argument Description pbdom_attribute_name The name of the PBDOM_ATTRIBUTE Return value Long. Throws EXCEPTION_DATA_CONVERSION — If data conversion fails. See also SetLongValue Document get from Powerbuilder help Thank you for watching.