SOAPType {XMLSchema} | R Documentation |
This is a constructor function for filling in the
general/common details of the SOAPType-class
objects.
SOAPType(name, ns = "", nsuri = "", namespaceDefs = list(), counts = numeric(), obj = new("SOAPType"))
name |
the name of the schema type (i.e. of the type or element),
usually the value of the name attribute |
ns |
the namespace prefix from the XML type |
nsuri |
the namespace URI |
namespaceDefs |
the namespace definitions, i.e. prefix =
URI values in effect for the XML element. This allows us to use
and resolve the regular XSD schema, etc. URIs |
counts |
a vector giving the minOccurs and maxOccurs values for
the type. See getElementCount which is a non-exported
convenience function. |
obj |
the object whose slots are to be filled in. The user can
pass this when creating an instance of a class derived from SOAPType . |
The value obj
with slots updated.
Duncan Temple Lang
SOAPType-class
processSchemaTypes
readSchema
SOAPType("foo", count = c(1, Inf))