DOMElement.GetElementByTagName

Syntax variant: By name

Syntax:

GetElementByTagName()

Description of method variant:

You can use an asterisk predefined template ('*'), that means all Element tree nodes should be selected.

Syntax variant: By local name and namespace URI

Syntax:

GetElementByTagName(<NamespaceURI>, <LocalName>)

Parameters:

<NamespaceURI> (required)

Type: String.
Namespace URI. You can use an asterisk predefined template ('*'), that means all Element nodes with any namespace URI in the document tree should be selected.

<LocalName> (required)

Type: String.
A local name. You can use an asterisk predefined template ('*'), that means all Element nodes with any local name in the document tree should be selected.

Returned value:

Type: DOMElementList.
A list of DOM nodes (elements), that are children of this node, in the sequence they are used in the document.

Description:

Gets all elements with name indicated.

Availability:

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

    

1C:Enterprise Developer's Community