getElementByName: getElementByName

Description Usage Arguments Value Author(s)

View source: R/read.schema.R

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 31, 2017, 1:45 a.m.