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

GetAttribute Syntax 1 – PB Docs 2022 – PowerBuilder Library

GetAttribute Syntax 1 – PB Docs 2022

GetAttribute Syntax 1

Description

Returns the PBDOM_ATTRIBUTE object for a PBDOM_ELEMENT
object.

Syntax

Argument

Description

pbdom_element_name

The name of a PBDOM_ELEMENT object

strName

The name of the PBDOM_ATTRIBUTE to be
returned

Return value

PBDOM_ATTRIBUTE. The PBDOM_ATTRIBUTE object matching the name
specified in the method parameter. If no such PBDOM_ATTRIBUTE object
exists, the GetAttribute method returns a value of null.

Throws

EXCEPTION_INVALID_NAME — If the supplied name is a qualified
name that contains a namespace prefix.

Examples

The GetAttribute method is invoked for the following XML
document:

The GetAttribute method is invoked from the following
PowerScript statement:

The GetAttribute method returns the PBDOM_ATTRIBUTE object
My_Attr.

Usage

If the PBDOM_ATTRIBUTE name specified in the method parameter is
a qualified name, an exception is thrown. A qualified name appears in
the following form: [namespace_prefix]:[local_name].

See also

GetAttribute Syntax
2

GetAttributes

GetAttributeValue

HasAttributes

SetAttribute

SetAttributes


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