getBaseTypeDetails

Share:

Description

Gives the details of the base type of a given data type

Usage

1
getBaseTypeDetails(inType, theDoc, namespaces, logLevel = 1)

Arguments

inType

The data type, the details of whose base type are to be found, This can EITHER be a string, if the type is named, or the element itself, to check whether a type is defined inline

theDoc

All or part of the XML schema document containing the type definition of the given data type

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 a list containing all the appropriate details of the base type of the given type.

The parameters which are not valid in some cases are assigned NULL values there.

Author(s)

Lucy Bastin and Ankita Goyal