/opt/alt/python27/lib64/python2.7/xml/dom
NameSizeModeActions
domreg.py35270644editdlrm
domreg.pyc34490644editdlrm
domreg.pyo34490644editdlrm
expatbuilder.py363830644editdlrm
expatbuilder.pyc341530644editdlrm
expatbuilder.pyo335100644editdlrm
minicompat.py33570644editdlrm
minicompat.pyc36120644editdlrm
minicompat.pyo35000644editdlrm
minidom.py662750644editdlrm
minidom.pyc685690644editdlrm
minidom.pyo684370644editdlrm
NodeFilter.py9370644editdlrm
NodeFilter.pyc11650644editdlrm
NodeFilter.pyo11650644editdlrm
pulldom.py119740644editdlrm
pulldom.pyc136240644editdlrm
pulldom.pyo136240644editdlrm
xmlbuilder.py123370644editdlrm
xmlbuilder.pyc160550644editdlrm
xmlbuilder.pyo160110644editdlrm
__init__.py39980644editdlrm
__init__.pyc67650644editdlrm
__init__.pyo67650644editdlrm
Edit: /opt/alt/python27/lib64/python2.7/xml/dom/domreg.pyo (3449B)
ó ÕЮ]c@sddZddlTddlZidd6dd6ZiZd„Zd „Zdd d „Zd „Z dS( 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*Nsxml.dom.minidomtminidomsxml.dom.DOMImplementationt4DOMcCs|t| Return 1 if the dom offers the featuresii(t hasFeature(tdomtfeaturestftv((s3/opt/alt/python27/lib64/python2.7/xml/dom/domreg.pyt _good_enough"scCs<ddl}d}tj|ƒ}|rIt|iidgƒ}|jƒS|rZt|ƒStjj rŠd|j krŠtd|j dƒSt |t ƒr¨t |ƒ}nx0tjƒD]"}|ƒ}t||ƒrµ|SqµWxQtjƒD]C}ytd|ƒ}Wntk rqènXt||ƒrè|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 Rtsystflagstignore_environmenttenviront isinstancet StringTypest_parse_feature_stringtvaluesR tkeyst StandardErrort ImportError(RR RtcreatortmodR((s3/opt/alt/python27/lib64/python2.7/xml/dom/domreg.pyR )s0     cCsÍg}|jƒ}d}t|ƒ}xœ||krÂ||}|ddkr`td|f‚n|d}d}||kr¬||}|ddkr¬|d}|}q¬n|j||fƒq'Wt|ƒS(Nit 0123456789sbad feature name: %ri(tsplittlent ValueErrorRtappendttuple(tsR tpartstitlengthtfeaturetversionR ((s3/opt/alt/python27/lib64/python2.7/xml/dom/domreg.pyRTs"        (( t__doc__txml.dom.minicompatRRRRR RR R(((s3/opt/alt/python27/lib64/python2.7/xml/dom/domreg.pyts    +