/usr/lib/python2.6/xml/dom
NameSizeModeActions
domreg.py34840644editdlrm
domreg.pyc33480644editdlrm
domreg.pyo33480644editdlrm
expatbuilder.py363850644editdlrm
expatbuilder.pyc332440644editdlrm
expatbuilder.pyo326110644editdlrm
minicompat.py33290644editdlrm
minicompat.pyc35330644editdlrm
minicompat.pyo34220644editdlrm
minidom.py661340644editdlrm
minidom.pyc657930644editdlrm
minidom.pyo656530644editdlrm
NodeFilter.py9370644editdlrm
NodeFilter.pyc11200644editdlrm
NodeFilter.pyo11200644editdlrm
pulldom.py119740644editdlrm
pulldom.pyc130780644editdlrm
pulldom.pyo130780644editdlrm
xmlbuilder.py123490644editdlrm
xmlbuilder.pyc164810644editdlrm
xmlbuilder.pyo164350644editdlrm
__init__.py39980644editdlrm
__init__.pyc64370644editdlrm
__init__.pyo64370644editdlrm
Edit: /usr/lib/python2.6/xml/dom/domreg.pyc (3348B)
Ñò «gc@sXdZddkThdd6dd6ZhZd„Zd„Zd d d „Zd „Zd S( s´Registration facilities for DOM. This module should not be used directly. Instead, the functions getDOMImplementation and registerDOMImplementation should be imported from xml.dom.iÿÿÿÿ(t*sxml.dom.minidomtminidomsxml.dom.DOMImplementationt4DOMcCs|t| Return 1 if the dom offers the featuresii(t hasFeature(tdomtfeaturestftv((s$/usr/lib/python2.6/xml/dom/domreg.pyt _good_enough s   c Cs@ddk}d}ti|ƒ}|o#t|hhdgƒ}|iƒS|o t|ƒS|iidƒotd|idƒSt |t ƒot |ƒ}nx2ti ƒD]$}|ƒ}t ||ƒo|Sq³WxUtiƒD]G}ytd|ƒ}Wntj o qènXt ||ƒo|SqèWtd‚dS(sSgetDOMImplementation(name = None, features = ()) -> DOM implementation. Return a suitable DOM implementation. The name is either well-known, the module name of a DOM implementation, or None. If it is not None, imports the corresponding module and returns DOMImplementation object if the import succeeds. If name is not given, consider the available implementations to find one with the required feature set. If no implementation can be found, raise an ImportError. The features list must be a sequence of (feature, version) pairs which are passed to hasFeature.iÿÿÿÿNtgetDOMImplementationt PYTHON_DOMRs$no suitable DOM implementation found(tostNonetwell_known_implementationstgett __import__R Rtenvironthas_keyt isinstancet StringTypest_parse_feature_stringtvaluesR tkeyst StandardErrort ImportError(RR RtcreatortmodR((s$/usr/lib/python2.6/xml/dom/domreg.pyR 's4        cCsÕg}|iƒ}d}t|ƒ}x¤||jo–||}|ddjotd|f‚n|d}d}||jo3||}|ddjo|d}|}q³n|i||fƒq'Wt|ƒS(Nit 0123456789sbad feature name: %ri(tsplittlent ValueErrorRtappendttuple(tsR tpartstitlengthtfeaturetversionR ((s$/usr/lib/python2.6/xml/dom/domreg.pyRRs$        N(( t__doc__txml.dom.minicompatRRRR RR R(((s$/usr/lib/python2.6/xml/dom/domreg.pyts   +