DOMElement.GetAttributeNode

Syntax variant: By name

Syntax:

GetAttributeNode(<Name>)

Parameters:

<Name> (required)

Type: String.
An attribute name.

Syntax variant: By namespace URI and local name

Syntax:

GetAttributeNode(<NamespaceURI>, <LocalName>)

Parameters:

<NamespaceURI> (required)

Type: String.
Attribute namespace URI.

<LocalName> (required)

Type: String.
An attribute local name.

Returned value:

Type: DOMAttribute; Undefined.
If the element has no attribute with the specified parameters, the Undefined value will be returned.

Description:

Returns an attribute node by a specified name.

Availability:

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

    

1C:Enterprise Developer's Community