processSchemaType {XMLSchema} | R Documentation |
These functions take an XML document or node and process the details in the XML schema to create an R description of the information about the types or type described with the schema.
processSchemaType(type, types, substitutionGroups = NULL, namespaceDefs = list()) processSchemaTypes(node, doc, namespaceDefs = xmlNamespaceDefinitions(doc), createConverters = TRUE, verbose = FALSE)
type |
an XML node describing the schema type to be processed |
types |
the collection of all XML nodes in the schema which are used to
to find/resolve references in type and its sub-nodes to other types within the schema. |
node |
the top-leve XML node of the schema to be processed. |
doc |
|
substitutionGroups |
XXX |
namespaceDefs |
the name space prefix = URI pairs that are in effect for the docuemnt and its nodes.
This can be a named character vector or it might also be a list of XMLNamespaceDefinition objects
The nodes may (re)define prefixes, but these give us the top-level pairs.
|
createConverters |
a logical value indicating whether, for each type in the schema, to create the functions that convert an XML node to a corresponding R object. |
verbose |
a logical value indicating whether to emit information about
the element currently being processed. This is passed to processSchemaTypes . |
processSchemaType
returns an object derived from SOAPType
.
processSchemaTypes
returns a list.
Duncan Temple Lang
The XML schema specification at http://www.w3.org/XML/Schema. A tutorial at http://www.w3schools.com/Schema/default.asp. Book ``The definitive XML Schema'', Priscilla Walmsley, Prentice Hall.
readSchema
The SSOAP
package and processing a WSDL document.