Пример #1
0
def get_relaxng():
    if _lxml.is_enabled():
        return _lxml.relaxng
    if xmllint.is_enabled():
        return xmllint.relaxng
Пример #2
0
def get_relaxng():
    if _lxml.is_enabled():
        return _lxml.relaxng
    if xmllint.is_enabled():
        return xmllint.relaxng
Пример #3
0
 def setUp(self):
     from hwp5.plat import xmllint
     if xmllint.is_enabled():
         self.relaxng = xmllint.relaxng
Пример #4
0
 def setUp(self):
     if xmllint.is_enabled():
         self.relaxng = xmllint.relaxng