resolve {XMLSchema}R Documentation

Lookup the definition of a type by name

Description

This takes the name of a XML schema type and looks through the schema information to find that type and return an R description for that type.

Usage

resolve(obj, context, namespaces = character(), recursive = TRUE, raiseError = TRUE)

Arguments

obj the name of the type to search for
context the overall schema/set of type information in which to lookup the name.
namespaces a character vector of prefix = URI pairs allowing the name spaces from the XML nodes and type definitions to be resolved correctly
recursive a logical value controlling whether sub-elements or slots within the resolved type are also resolved or left as names/references.
raiseError a logical value controlling whether failure to find the type leads to an error or just NULL being returned. This gives the caller control when a type is not in the schema.

Value

An object of class SOAPType-class.

Author(s)

Duncan Temple Lang

See Also

processSchemaTypes


[Package XMLSchema version 0.1-0 Index]