getElementByName: getElementByName

Description Usage Arguments Value Author(s)

Description

Searches for a given element in the given document

Usage

1
getElementByName(en, theDoc, namespaces, logLevel = 1)

Arguments

en

The name of the element which is to be searched for.

The element may occur anywhere and as a simpleType element or as a complexType element or as a child element of some other element.

theDoc

The XML Schema document in which to search for the element

namespaces

The namespaces in the document

logLevel

The level of logging that will be carried out: 0 (none) 1 (limited) or 2 (full). Optional - defaults to 0

Value

Return the first occurence of the element with the given name, if it is present, else return NULL

Author(s)

Lucy Bastin and Ankita Goyal


xmlschemaHelper documentation built on May 2, 2019, 4:41 p.m.