Package pyxb :: Package namespace :: Module builtin
[hide private]
[frames] | no frames]

Module builtin

source code

Classes and global objects related to built-in XML Namespaces.

Classes [hide private]
  _XMLSchema_instance
Extension of Namespace that pre-defines components available in the XMLSchema Instance namespace.
  _XML
Extension of Namespace that pre-defines components available in the XML (xml) namespace.
  _XMLSchema
Extension of Namespace that pre-defines components available in the XMLSchema namespace.
Functions [hide private]
 
_InitializeBuiltinNamespaces(structures_module)
Invoked at the end of the pyxb.xmlschema.structures module to initialize the component models of the built-in namespaces.
source code
Variables [hide private]
  _log = <logging.Logger object>
  BuiltInObjectUID = pyxb.utils.utility.UniqueIdentifier('PyXB-1...
  XMLSchema_instance = <pyxb.namespace.builtin._XMLSchema_instan...
Namespace and URI for the XMLSchema Instance namespace.
  XMLNamespaces = <pyxb.namespace.Namespace object>
Namespaces in XML.
  XMLSchema = <pyxb.namespace.builtin._XMLSchema object>
Namespace and URI for the XMLSchema namespace (often xs, or xsd)
  XHTML = <pyxb.namespace.Namespace object>
There really isn't a schema for this, but it's used as the default namespace in the XML schema, so define it.
  XML = <pyxb.namespace.builtin._XML object>
Namespace and URI for XML itself (always available as xml)
  XMLSchema_hfp = <pyxb.namespace.Namespace object>
Elements appearing in appinfo elements to support data types.
  BuiltInNamespaces = [<pyxb.namespace.builtin._XMLSchema_instan...
  __InitializedBuiltinNamespaces = True
  _UndeclaredNamespaceMap = {'xml': <pyxb.namespace.builtin._XML...
  __package__ = 'pyxb.namespace'
  _ns = <pyxb.namespace.Namespace object>
Function Details [hide private]

_InitializeBuiltinNamespaces(structures_module)

source code 

Invoked at the end of the pyxb.xmlschema.structures module to initialize the component models of the built-in namespaces.

Parameters:
  • structures_module - The pyxb.xmlschema.structures module may not be importable by that name at the time this is invoked (because it is still being processed), so it gets passed in as a parameter.

Variables Details [hide private]

BuiltInObjectUID

Value:
pyxb.utils.utility.UniqueIdentifier('PyXB-1.2.5-Builtin')

XMLSchema_instance

Namespace and URI for the XMLSchema Instance namespace. This is always built-in, and does not (cannot) have an associated schema.

Value:
<pyxb.namespace.builtin._XMLSchema_instance object>

XMLNamespaces

Namespaces in XML. Not really a namespace, but is always available as xmlns.

Value:
<pyxb.namespace.Namespace object>

BuiltInNamespaces

Value:
[<pyxb.namespace.builtin._XMLSchema_instance object>,
 <pyxb.namespace.Namespace object>,
 <pyxb.namespace.builtin._XMLSchema object>,
 <pyxb.namespace.Namespace object>,
 <pyxb.namespace.builtin._XML object>,
 <pyxb.namespace.Namespace object>]

_UndeclaredNamespaceMap

Value:
{'xml': <pyxb.namespace.builtin._XML object>,
 'xmlns': <pyxb.namespace.Namespace object>}