Next / Previous / Contents / TCC Help System / NM Tech homepage

4.3. Manifest constants

# - - - - -   M a n i f e s t   c o n s t a n t s

All Relax NG schemas are in this namespace NSURI:

RNG_NS = ""

Here we define symbolic constants for two element names and an attribute name from the Relax NG schema document type. The NSURI is part of the name.

ELEMENT_N = "{{{0}}}element".format(RNG_NS)
ATTRIBUTE_N = "{{{0}}}attribute".format(RNG_NS)
NAME_A = 'name'