DOMElement.GetAttribute

Syntax variant: By name

Syntax:

GetAttribute(<Name>)

Parameters:

<Name> (required)

Type: String.
An attribute name.

Description of method variant:

If the value does not exist or the attribute cannot be found, the returned value is Undefined.

Syntax variant: By namespace URI and local name

Syntax:

GetAttribute(<NamespaceURI>, <LocalName>)

Parameters:

<NamespaceURI> (required)

Type: String.
Attribute namespace URI.

<LocalName> (required)

Type: String.
An attribute local name.

Returned value:

Type: String; Undefined.

Description:

Returns an attribute value by a specified name.

Availability:

Server, thick client, external connection, Mobile application (server).

Note:

If a value is missing or the attribure not found, the Undefined value will be returned.

    

1C:Enterprise Developer's Community