resolve {XMLSchema} | R Documentation |
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.
resolve(obj, context, namespaces = character(), recursive = TRUE, raiseError = TRUE)
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. |
An object of class SOAPType-class
.
Duncan Temple Lang