processSchemaType         package:XMLSchema         R Documentation

_A_s_s_e_m_b_l_e _R _d_e_s_c_r_i_p_t_i_o_n_s _o_f _X_M_L _S_c_h_e_m_a _t_y_p_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     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.

_U_s_a_g_e:

     processSchemaType(type, types, substitutionGroups = NULL, namespaceDefs = list())
     processSchemaTypes(node, doc, namespaceDefs = xmlNamespaceDefinitions(doc), createConverters = TRUE, verbose = FALSE)

_A_r_g_u_m_e_n_t_s:

    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'.

_V_a_l_u_e:

     'processSchemaType' returns an object derived from 'SOAPType'.

     'processSchemaTypes' returns a list.

_A_u_t_h_o_r(_s):

     Duncan Temple Lang

_R_e_f_e_r_e_n_c_e_s:

     The XML schema specification at <URL:
     http://www.w3.org/XML/Schema>. A tutorial at <URL:
     http://www.w3schools.com/Schema/default.asp>. Book ``The
     definitive XML Schema'', Priscilla Walmsley, Prentice Hall.

_S_e_e _A_l_s_o:

     'readSchema' The 'SSOAP' package and processing a WSDL document.

