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

GetAttributeValue Syntax 3 – PB Docs 126 – PowerBuilder Library

GetAttributeValue Syntax 3 – PB Docs 126

PBDOM_ELEMENT:

GetAttributeValue Syntax 3 method

Description

Returns the string value of the PBDOM_ATTRIBUTE object
(within a PBDOM_ELEMENT object) with the specified name
and within the specified namespace. If no such PBDOM_ATTRIBUTE
exists, the default value is returned.

Syntax

Argument

Description

pbdom_element_name

The name of a PBDOM_ELEMENT
object

strAttributeName

The name of the attribute whose value
is to be returned

strNamespacePrefix

The prefix of the namespace of the PBDOM_ATTRIBUTE whose
value is to be returned

strNamespaceUri

The URI of the namespace of the PBDOM_ATTRIBUTE whose
value is to be returned

strDefaultValue

Default string value to return if the
attribute does not exist

Return Values

String. The string value of the PBDOM_ATTRIBUTE
object specified in strAttributeName. If no
such object exists, the GetAttributeValue method
returns the string provided in strDefaultValue.

Throws

EXCEPTION_INVALID_ARGUMENT – If
any of the input arguments is invalid, for example, null.

EXCEPTION_MEMORY_ALLOCATION_FAILURE – If
there was any memory allocation failure during the execution of
this method.

EXCEPTION_INVALID_NAME – If
the input attribute name or namespace prefix or namespace URI is
invalid.

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