Package xmlschema_acue :: Package validators :: Module globals_

Module globals_

source code

This module contains functions and classes for managing namespaces's XSD declarations/definitions.

Classes
  XsdGlobals
Mediator class for related XML schema instances.
Functions
 
camel_case_split(s)
Split words of a camel case string
source code
 
iterchildren_by_tag(tag)
Defines a generator that produce all child elements that have a specific tag.
source code
 
create_load_function(filter_function) source code
 
create_lookup_function(xsd_classes) source code
Variables
  iterchildren_xsd_import = iterchildren_by_tag(XSD_IMPORT)
  iterchildren_xsd_include = iterchildren_by_tag(XSD_INCLUDE)
  iterchildren_xsd_redefine = iterchildren_by_tag(XSD_REDEFINE)
  iterchildren_xsd_override = iterchildren_by_tag(XSD_OVERRIDE)
  load_xsd_simple_types = create_load_function(iterchildren_by_t...
  load_xsd_attributes = create_load_function(iterchildren_by_tag...
  load_xsd_attribute_groups = create_load_function(iterchildren_...
  load_xsd_complex_types = create_load_function(iterchildren_by_...
  load_xsd_elements = create_load_function(iterchildren_by_tag(X...
  load_xsd_groups = create_load_function(iterchildren_by_tag(XSD...
  load_xsd_notations = create_load_function(iterchildren_by_tag(...
  lookup_notation = create_lookup_function(XsdNotation)
  lookup_type = create_lookup_function((XsdSimpleType, XsdComple...
  lookup_attribute = create_lookup_function(XsdAttribute)
  lookup_attribute_group = create_lookup_function(XsdAttributeGr...
  lookup_group = create_lookup_function(XsdGroup)
  lookup_element = create_lookup_function(XsdElement)
Variables Details

load_xsd_simple_types

Value:
create_load_function(iterchildren_by_tag(XSD_SIMPLE_TYPE))

load_xsd_attributes

Value:
create_load_function(iterchildren_by_tag(XSD_ATTRIBUTE))

load_xsd_attribute_groups

Value:
create_load_function(iterchildren_by_tag(XSD_ATTRIBUTE_GROUP))

load_xsd_complex_types

Value:
create_load_function(iterchildren_by_tag(XSD_COMPLEX_TYPE))

load_xsd_elements

Value:
create_load_function(iterchildren_by_tag(XSD_ELEMENT))

load_xsd_groups

Value:
create_load_function(iterchildren_by_tag(XSD_GROUP))

load_xsd_notations

Value:
create_load_function(iterchildren_by_tag(XSD_NOTATION))

lookup_type

Value:
create_lookup_function((XsdSimpleType, XsdComplexType))

lookup_attribute_group

Value:
create_lookup_function(XsdAttributeGroup)