elementExistsInSchema

Description

Checks whether the given element is present as a complexType element in the given XML Schema document

Usage

1
elementExistsInSchema(eName, theDoc, namespaces, logLevel = 1)

Arguments

eName

The name of the element which to be searched in the document

theDoc

The XML Schema document in which to search for the element

namespaces

The namespaces present 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

Returns true if the element is present as a complexType in the schema, otherwise false

Author(s)

Lucy Bastin and Ankita Goyal