def _InitializeAllEsc(): """Set the values in _AllEsc without introducing C{k} and C{v} into the module.""" _AllEsc.update({u'.': pyxb.utils.unicode.WildcardEsc}) for k, v in pyxb.utils.unicode.SingleCharEsc.iteritems(): _AllEsc[u'\\' + unicode(k)] = v for k, v in pyxb.utils.unicode.MultiCharEsc.iteritems(): _AllEsc[u'\\' + unicode(k)] = v for k, v in pyxb.utils.unicode.catEsc.iteritems(): _AllEsc[u'\\' + unicode(k)] = v for k, v in pyxb.utils.unicode.complEsc.iteritems(): _AllEsc[u'\\' + unicode(k)] = v for k, v in pyxb.utils.unicode.IsBlockEsc.iteritems(): _AllEsc[u'\\' + unicode(k)] = v
def _InitializeAllEsc(): """Set the values in _AllEsc without introducing C{k} and C{v} into the module.""" _AllEsc.update({u".": pyxb.utils.unicode.WildcardEsc}) for k, v in pyxb.utils.unicode.SingleCharEsc.iteritems(): _AllEsc[u"\\" + unicode(k)] = v for k, v in pyxb.utils.unicode.MultiCharEsc.iteritems(): _AllEsc[u"\\" + unicode(k)] = v for k, v in pyxb.utils.unicode.catEsc.iteritems(): _AllEsc[u"\\" + unicode(k)] = v for k, v in pyxb.utils.unicode.complEsc.iteritems(): _AllEsc[u"\\" + unicode(k)] = v for k, v in pyxb.utils.unicode.IsBlockEsc.iteritems(): _AllEsc[u"\\" + unicode(k)] = v
def XsdLiteral (cls, value): return unicode(value)
def __resolveLocals (self): if self.find(':'): (self.__prefix, self.__localName) = self.split(':', 1) else: self.__localName = unicode(self)