SOAPType {XMLSchema}R Documentation

Creates a SOAPType object

Description

This is a constructor function for filling in the general/common details of the SOAPType-class objects.

Usage

SOAPType(name, ns = "", nsuri = "", namespaceDefs = list(), counts = numeric(), obj = new("SOAPType"))

Arguments

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.

Value

The value obj with slots updated.

Author(s)

Duncan Temple Lang

See Also

SOAPType-class processSchemaTypes readSchema

Examples

  SOAPType("foo", count = c(1, Inf))

[Package XMLSchema version 0.1-0 Index]