Lines Matching refs:dom
3 registerDOMImplementation should be imported from xml.dom."""
12 'minidom':'xml.dom.minidom',
13 '4DOM': 'xml.dom.DOMImplementation',
32 def _good_enough(dom, features):
33 "_good_enough(dom, features) -> Return 1 if the dom offers the features"
35 if not dom.hasFeature(f,v):
68 dom = creator()
69 if _good_enough(dom, features):
70 return dom
74 dom = getDOMImplementation(name = creator)
77 if _good_enough(dom, features):
78 return dom