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KO}ӽmSşذqsOy?\[,d@'73'j%kOe`1.g2"e =YIzS2|zŐƄa\U,dP;jhhhaxǶ?КZ՚.q SE+XrbOu%\GتX(H,N^~]JyEZQKceTQ]VGYqnah;y$cQahT&QPZ*iZ8UQQM.qo/T\7X"u?Mttl2Xq(IoW{R^ ux*SYJ! 4S.Jy~ BROS[V|žKNɛP(L6V^|cR7i7nZW1Fd@ Ara{詑|(T*dN]Ko?s=@ |_EvF]׍kR)eBJc" MUUbY6`~V޴dJKß&~'d3i WWWWWW
Current Directory: /usr/lib64/python2.7/xml/dom
Viewing File: /usr/lib64/python2.7/xml/dom/minidom.pyo
� {fc@sdZddlZddlmZmZmZmZddlTddlm Z m Z ej j j ej j jfZdej j fd��YZ ee dd d �ee d d d �ee d d d�d�Zd�Zd�Zd�Zd�Zde fd��YZde fd��YZeedd d�eed d d�eedd d�defd��YZeedd d �eZd!efd"��YZeee�Zd#e fd$��YZeed%d d&�eed d d'�d(�Zd)fd*��YZ d+e e fd,��YZ!d-e e fd.��YZ"ee"dd d/�d0e"fd1��YZ#ee#d2d d3�ee#d4d d5�d6�Z$d7�Z%d8e e"fd9��YZ&d:e#fd;��YZ'd<efd=��YZ(ee(dd d>�d?fd@��YZ)dAe)e e fdB��YZ*dCe)e fdD��YZ+dEe)e e fdF��YZ,dGe fdH��YZ-dIefdJ��YZ.dK�Z/dLe e fdM��YZ0ee0dNd dO�dP�Z1dQ�Z2dR�Z3dS�Z4eedT�Z5edU�Z6edV�Z7dS(WscSimple implementation of the Level 1 DOM. Namespaces and other minor Level 2 features are also supported. parse("foo.xml") parseString("<foo><bar/></foo>") Todo: ===== * convenience methods for getting elements and text. * more testing * bring some of the writer and linearizer code into conformance with this interface * SAX 2 namespaces i����N(tEMPTY_NAMESPACEt EMPTY_PREFIXtXMLNS_NAMESPACEtdomreg(t*(tDOMImplementationLSt DocumentLStNodecBs�eZdZdZdZdZdZeZ d�Z dd�Z dddd�Z d�Z d�Zd�Zd�Zd �Zd �Zd �Zd �Zd �Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�ZRS(cCstS(N(tTrue(tself((s'/usr/lib64/python2.7/xml/dom/minidom.pyt __nonzero__*scCs|jdd|�S(Nt(t toprettyxml(R tencoding((s'/usr/lib64/python2.7/xml/dom/minidom.pyttoxml-ss s cCs�t�}|dk r=ddl}|j|�d|�}n|jtjkrk|j|d|||�n|j|d||�|j�S(Ni����iR ( t _get_StringIOtNonetcodecstlookuptnodeTypeRt DOCUMENT_NODEtwritexmltgetvalue(R tindenttnewlR twriterR((s'/usr/lib64/python2.7/xml/dom/minidom.pyR 0s   cCs|jr tStSdS(N(t childNodesRtFalse(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt hasChildNodes?s cCs|jS(N(R(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt_get_childNodesEscCs|jr|jdSdS(Ni(R(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt_get_firstChildHs cCs|jr|jdSdS(Ni����(R(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt_get_lastChildLs cCsw|j|jkr@x't|j�D]}|j||�q"W|S|j|jkr}tjjdt |�t |�f��n|j dk r�|j j |�n|dkr�|j |�n�y|jj|�}Wn tk r�tjj��nX|jtkrt|�n|jj||�||_||_|ra|j|d}||_||_n d|_||_ |S(Ns%s cannot be child of %si(RtDOCUMENT_FRAGMENT_NODEttupleRt insertBeforet_child_node_typestxmltdomtHierarchyRequestErrtreprt parentNodeRt removeChildt appendChildtindext ValueErrort NotFoundErrt_nodeTypes_with_childrent_clear_id_cachetinsertt nextSiblingtpreviousSibling(R tnewChildtrefChildtcR+tnode((s'/usr/lib64/python2.7/xml/dom/minidom.pyR"Ps6 "         cCs�|j|jkr=x$t|j�D]}|j|�q"W|S|j|jkrztjjdt |�t |�f��n|jt kr�t |�n|j dk r�|j j|�nt||�d|_|S(Ns%s cannot be child of %s(RR R!RR*R#R$R%R&R'R.R/R(RR)t _append_childR1(R R6R5((s'/usr/lib64/python2.7/xml/dom/minidom.pyR*ps "   cCs�|j|jkr8|j}|j|�|j||�S|j|jkrutjjdt |�t |�f��n||kr�dS|j dk r�|j j|�ny|j j |�}Wn tk r�tjj��nX||j |<||_ d|_ |jtks|jtkr*t|�n|j|_|j|_d|_d|_|jrl||j_n|jr�||j_n|S(Ns%s cannot be child of %s(RR R1R)R"R#R$R%R&R'R(RRR+R,R-R.R/R2(R R3toldChildR4R+((s'/usr/lib64/python2.7/xml/dom/minidom.pyt replaceChild�s<   "            cCs�y|jj|�Wn tk r6tjj��nX|jdk rX|j|j_n|jdk ry|j|j_nd|_|_|j t kr�t |�nd|_ |S(N( RtremoveR,R$R%R-R1RR2RR.R/R((R R8((s'/usr/lib64/python2.7/xml/dom/minidom.pyR)�s   cCs*g}x|jD]}|jtjkr�|jsr|rJ|j|d_n|jre|j|j_n|j�q|r�|dj|jkr�|d}|j|j|_|j|_|jr�||j_n|j�q|j|�q|j|�|jtj kr|j �qqW||j(dS(Ni����( RRRt TEXT_NODEtdataR1R2tunlinktappendt ELEMENT_NODEt normalize(R tLtchildR6((s'/usr/lib64/python2.7/xml/dom/minidom.pyR@�s*        cCst|||jp|�S(N(t _clone_nodet ownerDocument(R tdeep((s'/usr/lib64/python2.7/xml/dom/minidom.pyt cloneNode�scCs|jjj||�S(N(RDtimplementationt hasFeature(R tfeaturetversion((s'/usr/lib64/python2.7/xml/dom/minidom.pyt isSupported�scCsdS(N(R(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt_get_localName�scCs ||kS(N((R tother((s'/usr/lib64/python2.7/xml/dom/minidom.pyt isSameNode�scCs|j|d�r|SdSdS(N(RKR(R RI((s'/usr/lib64/python2.7/xml/dom/minidom.pyt getInterface�scCs2y|j|dSWnttfk r-dSXdS(Ni(t _user_datatAttributeErrortKeyErrorR(R tkey((s'/usr/lib64/python2.7/xml/dom/minidom.pyt getUserData�scCs�d}y |j}Wn tk r5i}||_nX||krS||d}n|dkr~d}|dk r�||=q�n||f||<|S(Ni(RRPRQ(R RSR<thandlertoldtd((s'/usr/lib64/python2.7/xml/dom/minidom.pyt setUserData�s       cCsdt|d�r`xN|jj�D]:\}\}}|dk r|j|||||�qqWndS(NRP(thasattrRPtitemsRthandle(R t operationtsrctdstRSR<RU((s'/usr/lib64/python2.7/xml/dom/minidom.pyt_call_user_data_handler�s" cCs\d|_|_|jrFx|jD]}|j�q#Wt�|_nd|_d|_dS(N(RR(RDRR=tNodeListR2R1(R RB((s'/usr/lib64/python2.7/xml/dom/minidom.pyR=s  N(t__name__t __module__Rt namespaceURIR(RDR1R2RtprefixR RR RRRRR"R*R9R)R@RFRKRLRNRORTRXR_R=(((s'/usr/lib64/python2.7/xml/dom/minidom.pyR!s6                t firstChildtdocsFirst child node, or None.t lastChildsLast child node, or None.t localNames"Namespace-local name of this node.cCsT|j}|r6|d}||jd<||jd<n|j|�||jd<dS(Ni����R2R1R((Rt__dict__R>(R R6Rtlast((s'/usr/lib64/python2.7/xml/dom/minidom.pyR7s    cCs6x/|dk r1|jtjkr%tS|j}qWtS(N(RRRRRR(R(R6((s'/usr/lib64/python2.7/xml/dom/minidom.pyt _in_documents  cCsP|rL|jdd�jdd�jdd�jdd�}|j|�nd S( sWrites datachars to writer.t&s&amp;t<s&lt;s"s&quot;t>s&gt;N(treplacetwrite(RR<((s'/usr/lib64/python2.7/xml/dom/minidom.pyt _write_data%scCsex^|jD]S}|jtjkrM|dks=|j|krM|j|�nt|||�q W|S(NR(RRRR?ttagNameR>t_get_elements_by_tagName_helper(tparenttnametrcR6((s'/usr/lib64/python2.7/xml/dom/minidom.pyRs,s cCs�x|jD]t}|jtjkr |dks=|j|krh|dksX|j|krh|j|�nt||||�q q W|S(NR(RRRR?RhRcR>t"_get_elements_by_tagName_ns_helper(RttnsURIRhRvR6((s'/usr/lib64/python2.7/xml/dom/minidom.pyRw4stDocumentFragmentcBsbeZejZdZdZdZdZ ej ej ej ej ejejejfZd�ZRS(s#document-fragmentcCst�|_dS(N(R`R(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt__init__KsN(RaRbRR RtnodeNameRt nodeValuet attributesR(R?R;tCDATA_SECTION_NODEtENTITY_REFERENCE_NODEtPROCESSING_INSTRUCTION_NODEt COMMENT_NODEt NOTATION_NODER#Rz(((s'/usr/lib64/python2.7/xml/dom/minidom.pyRy=s  tAttrcBs�eZejZd Zd ZeZ eZ ej ej fZ ed d d�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�ZRS( cCsS|j}||d<|d<||d<||d<t�|d<|jjt��dS(NR{RuRcRdR(RiR`RR>tText(R tqNameRcRhRdRW((s'/usr/lib64/python2.7/xml/dom/minidom.pyRzXs     cCs|jjdd�dS(Nt:ii����(R{tsplit(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyRLfscCs|jS(N(t specified(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt_get_specifiediscCs�|j}|dkrk||d<|d<|jdj}||d<|d<|jdk r�t|j�q�nJ|dkr�||d<|d<|jdk r�t|j�q�n |||<dS( NtvalueR|iR<RuR{(R�R|(RuR{(RiRt ownerElementRR/(R RuR�RWtd2((s'/usr/lib64/python2.7/xml/dom/minidom.pyt __setattr__ls   cCs�|j}|dkr?|r?|tkr?tjjd��q?n|j}||d<|dkrj|j}nd||jf}|jr�t |j�n||d<|d<dS(Ntxmlnss5illegal use of 'xmlns' prefix for the wrong namespaceRds%s:%sR{Ru( RcRR$R%t NamespaceErrRiRRhR�R/(R RdtnsuriRWtnewName((s'/usr/lib64/python2.7/xml/dom/minidom.pyt _set_prefix{s        cCsH|j}||d<|d<|jr4t|j�n||jd_dS(NR�R|i(RiR�R/RR<(R R�RW((s'/usr/lib64/python2.7/xml/dom/minidom.pyt _set_value�s   cCs�|j}|dk rq|j|j=|j|j|jf=|jrqt|_|j d8_ |j j d8_ qqnx|j D]}|j �q{W|j 2dS(Ni(R�Rt_attrsR{t_attrsNSRcRht_is_idRt_magic_id_nodesRDt_magic_id_countRR=(R telemRB((s'/usr/lib64/python2.7/xml/dom/minidom.pyR=�s     cCs�|jr tS|j}|j}|dks7|dkr;tS|j|�}|dkrZtS|jry|j|j|j �S|j |j �SdS(N( R�RRDR�RRt_get_elem_infoRctisIdNSRhtisIdR{(R RfR�tinfo((s'/usr/lib64/python2.7/xml/dom/minidom.pyt _get_isId�s     cCs�|j}|j}|dks*|dkr.tS|j|�}|dkrMtS|jrl|j|j|j�S|j|j �SdS(N( RDR�Rt_no_typeR�RctgetAttributeTypeNSRhtgetAttributeTypeR{(R RfR�R�((s'/usr/lib64/python2.7/xml/dom/minidom.pyt_get_schemaType�s    N(RaRbRtATTRIBUTE_NODERRR}R�RR�R�R;RR#RRzRLR�R�R�R�R=R�R�(((s'/usr/lib64/python2.7/xml/dom/minidom.pyR�Os         R�s True if this attribute is an ID.s'Namespace-local name of this attribute.t schemaTypesSchema type for this attribute.t NamedNodeMapcBs�eZdZdZd�Zd�Zd�Zd�Zd�Zd �Z d �Z d �Z d �Z dd �ZeZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�ZRS(sThe attribute list is a transient interface to the underlying dictionaries. Mutations here will change the underlying element's dictionary. Ordering is imposed artificially and does not reflect the order of attributes as found in an input document. R�R�t _ownerElementcCs||_||_||_dS(N(R�R�R�(R tattrstattrsNSR�((s'/usr/lib64/python2.7/xml/dom/minidom.pyRz�s  cCs t|j�S(N(tlenR�(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt _get_length�scCs2y||jj�|SWntk r-dSXdS(N(R�tkeyst IndexErrorR(R R+((s'/usr/lib64/python2.7/xml/dom/minidom.pytitem�s cCs=g}x0|jj�D]}|j|j|jf�qW|S(N(R�tvaluesR>R{R�(R RAR6((s'/usr/lib64/python2.7/xml/dom/minidom.pyRZ�scCsFg}x9|jj�D](}|j|j|jf|jf�qW|S(N(R�R�R>RcRhR�(R RAR6((s'/usr/lib64/python2.7/xml/dom/minidom.pytitemsNS�s&cCs-t|t�r||jkS||jkSdS(N(t isinstancet StringTypesR�R�(R RS((s'/usr/lib64/python2.7/xml/dom/minidom.pythas_key�s cCs |jj�S(N(R�R�(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��scCs |jj�S(N(R�R�(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pytkeysNS�scCs |jj�S(N(R�R�(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��scCs|jj||�S(N(R�tget(R RuR�((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��scCs<|jt|dd�krdStt|�t|��SdS(NR�i(R�tgetattrRtcmptid(R RM((s'/usr/lib64/python2.7/xml/dom/minidom.pyt__cmp__scCs)t|t�r|j|S|j|SdS(N(R�R!R�R�(R tattname_or_tuple((s'/usr/lib64/python2.7/xml/dom/minidom.pyt __getitem__s cCs�t|t�rhy|j|}Wn9tk r[t|�}|jj|_|j|�nX||_n.t|t�s�t d�n|}|j|�dS(Ns%value must be a string or Attr object( R�R�R�RRR�R�RDt setNamedItemR�t TypeError(R tattnameR�R6((s'/usr/lib64/python2.7/xml/dom/minidom.pyt __setitem__ s    cCs(y|j|SWntk r#dSXdS(N(R�RRR(R Ru((s'/usr/lib64/python2.7/xml/dom/minidom.pyt getNamedItems cCs.y|j||fSWntk r)dSXdS(N(R�RRR(R RcRh((s'/usr/lib64/python2.7/xml/dom/minidom.pytgetNamedItemNS"s cCs�|j|�}|dk rnt|j�|j|j=|j|j|jf=d|j krjd|j d<n|St j j ��dS(NR�( R�RR/R�R�R{R�RcRhRiR$R%R-(R Rutn((s'/usr/lib64/python2.7/xml/dom/minidom.pytremoveNamedItem(s   cCs�|j||�}|dk rqt|j�|j|j|jf=|j|j=d|j krmd|j d<n|St j j ��dS(NR�( R�RR/R�R�RcRhR�R{RiR$R%R-(R RcRhR�((s'/usr/lib64/python2.7/xml/dom/minidom.pytremoveNamedItemNS4s   cCs�t|t�s:tjjdt|�t|�f��n|jj|j�}|rb|j �n||j|j<||j |j |j f<|j |_t|j�|S(Ns%s cannot be child of %s(R�R�R$R%R&R'R�R�RuR=R�RcRhR�R�R/(R R6RV((s'/usr/lib64/python2.7/xml/dom/minidom.pyR�@s "   cCs |j|�S(N(R�(R R6((s'/usr/lib64/python2.7/xml/dom/minidom.pytsetNamedItemNSMscCs%||}t|j�|j�dS(N(R/R�R=(R R�R6((s'/usr/lib64/python2.7/xml/dom/minidom.pyt __delitem__Ps  cCs|j|j|jfS(N(R�R�R�(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt __getstate__UscCs|\|_|_|_dS(N(R�R�R�(R tstate((s'/usr/lib64/python2.7/xml/dom/minidom.pyt __setstate__Xs(R�R�R�N(RaRbt__doc__t __slots__RzR�R�RZR�R�R�R�R�RR�t__len__t__hash__R�R�R�R�R�R�R�R�R�R�R�R�(((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��s4                  tlengths$Number of nodes in the NamedNodeMap.tTypeInfocBs2eZdZd�Zd�Zd�Zd�ZRS(t namespaceRucCs||_||_dS(N(R�Ru(R R�Ru((s'/usr/lib64/python2.7/xml/dom/minidom.pyRzds cCs,|jrd|j|jfSd|jSdS(Ns<TypeInfo %r (from %r)>s <TypeInfo %r>(R�Ru(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt__repr__hs cCs|jS(N(Ru(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt _get_namenscCs|jS(N(R�(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt_get_namespaceqs(R�Ru(RaRbR�RzR�R�R�(((s'/usr/lib64/python2.7/xml/dom/minidom.pyR�as    tElementcBsLeZejZdZeZdZ ejej ej ej ej ejfZeddd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd �Zd �Zd �ZeZd �Zd �Zd�ZeZ d�Z!d�Z"d�Z#d�Z$d�Z%dddd�Z&d�Z'd�Z(d�Z)d�Z*d�Z+RS(icCsD||_|_||_||_t�|_i|_i|_dS(N(RrR{RdRcR`RR�R�(R RrRcRdRh((s'/usr/lib64/python2.7/xml/dom/minidom.pyRz�s     cCs|jjdd�dS(NR�ii����(RrR�(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyRL�scCs|jS(N(Rr(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt _get_tagName�scCsGx!|jj�D]}|j�qWd|_d|_tj|�dS(N(R�R�R=RR�R(R tattr((s'/usr/lib64/python2.7/xml/dom/minidom.pyR=�s   cCs+y|j|jSWntk r&dSXdS(NR (R�R�RR(R R�((s'/usr/lib64/python2.7/xml/dom/minidom.pyt getAttribute�s cCs1y|j||fjSWntk r,dSXdS(NR (R�R�RR(R RcRh((s'/usr/lib64/python2.7/xml/dom/minidom.pytgetAttributeNS�s cCs�|j|�}|dkr_t|�}|j}||d<|d<|j|d<|j|�nC||jkr�|j}||d<|d<|jr�t|�q�ndS(NR�R|RD( tgetAttributeNodeRR�RiRDtsetAttributeNodeR�R�R/(R R�R�R�RW((s'/usr/lib64/python2.7/xml/dom/minidom.pyt setAttribute�s      cCs�t|�\}}|j||�}|dkr�t||||�}|j}||d<||d<||d<|d<|j|d<|j|�ni|j}||jkr�||d<|d<|jr�t |�q�n|j |kr�||d<||d<ndS(NRdR{R�R|RD( t_nssplittgetAttributeNodeNSRR�RiRDR�R�R�R/Rd(R Rct qualifiedNameR�Rdt localnameR�RW((s'/usr/lib64/python2.7/xml/dom/minidom.pytsetAttributeNS�s$        cCs|jj|�S(N(R�R�(R tattrname((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��scCs|jj||f�S(N(R�R�(R RcRh((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��scCs�|jd|fkr*tjjd��n|jj|jd�}|dk r^|j|�n|j j|j |j fd�}|dk r�||k r�|j|�nt ||�||k r�|S||k r�|SdS(Nsattribute node already owned( R�RR$R%tInuseAttributeErrR�R�RutremoveAttributeNodeR�RcRht_set_attribute_node(R R�told1told2((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��s !   cCsEy|j|}Wn tk r3tjj��nX|j|�dS(N(R�RRR$R%R-R�(R RuR�((s'/usr/lib64/python2.7/xml/dom/minidom.pytremoveAttribute�s  cCsKy|j||f}Wn tk r9tjj��nX|j|�dS(N(R�RRR$R%R-R�(R RcRhR�((s'/usr/lib64/python2.7/xml/dom/minidom.pytremoveAttributeNS�s  cCsw|dkrtjj��ny|j|jWn tk rRtjj��nXt|�|j�|j |_ dS(N( RR$R%R-R�RuRRR/R=RD(R R6((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��s    cCs ||jkS(N(R�(R Ru((s'/usr/lib64/python2.7/xml/dom/minidom.pyt hasAttributescCs||f|jkS(N(R�(R RcRh((s'/usr/lib64/python2.7/xml/dom/minidom.pythasAttributeNS scCst||t��S(N(RsR`(R Ru((s'/usr/lib64/python2.7/xml/dom/minidom.pytgetElementsByTagNamescCst|||t��S(N(RwR`(R RcRh((s'/usr/lib64/python2.7/xml/dom/minidom.pytgetElementsByTagNameNSscCsd|jt|�fS(Ns<DOM Element: %s at %#x>(RrR�(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyR�sR c Cs[|j|d|j�|j�}|j�}|j�x@|D]8}|jd|�t|||j�|jd�qAW|jrF|jd�t|j�dkr�|jdj t j kr�|jdj |ddd�nH|j|�x+|jD] }|j |||||�q�W|j|�|jd|j|f�n|jd |�dS( NRms %s="s"RniiR s</%s>%ss/>%s( RpRrt_get_attributesR�tsortRqR�RR�RRR;R( R RRt addindentRR�ta_namesta_nameR6((s'/usr/lib64/python2.7/xml/dom/minidom.pyRs&         cCst|j|j|�S(N(R�R�R�(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyR�4scCs|jr tStSdS(N(R�RR(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt hasAttributes7s cCs |j|�}|j|�dS(N(R�tsetIdAttributeNode(R RutidAttr((s'/usr/lib64/python2.7/xml/dom/minidom.pytsetIdAttribute?scCs#|j||�}|j|�dS(N(R�R�(R RcRhR�((s'/usr/lib64/python2.7/xml/dom/minidom.pytsetIdAttributeNSCscCs�|dks|j|j� r1tjj��nt|�dk rUtjj��n|js�t |j d<|j d7_ |j j d7_ t|�ndS(NR�i(RRNR�R$R%R-t_get_containing_entreftNoModificationAllowedErrR�RRiR�RDR�R/(R R�((s'/usr/lib64/python2.7/xml/dom/minidom.pyR�Gs  N(,RaRbRR?RRR|R�R�R�R�R�R;R~RR#RRzRLR�R=R�R�R�R�R�R�R�tsetAttributeNodeNSR�R�R�tremoveAttributeNodeNSR�R�R�R�R�RR�R�R�R�R�(((s'/usr/lib64/python2.7/xml/dom/minidom.pyR�vsL                         R}s*NamedNodeMap of attributes on the element.s%Namespace-local name of this element.cCsDt|�||j|j<||j|j|jf<||jd<dS(NR�(R/R�RuR�RcRhRi(telementR�((s'/usr/lib64/python2.7/xml/dom/minidom.pyR�Xs t ChildlesscBsqeZdZd Ze�Zd Zd Zd�Z d�Z d�Z d�Z d�Z d�Zd�Zd�ZRS( s�Mixin that makes childless-ness easy to implement and avoids the complexity of the Node methods that deal with children. cCsdS(N(R(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyRmscCsdS(N(R(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyRpscCstjj|jd��dS(Ns nodes cannot have children(R$R%R&R{(R R6((s'/usr/lib64/python2.7/xml/dom/minidom.pyR*ss cCstS(N(R(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyRwscCstjj|jd��dS(Ns nodes do not have children(R$R%R&R{(R R3R4((s'/usr/lib64/python2.7/xml/dom/minidom.pyR"zs cCstjj|jd��dS(Ns nodes do not have children(R$R%R-R{(R R8((s'/usr/lib64/python2.7/xml/dom/minidom.pyR)~s cCsdS(N((R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyR@�scCstjj|jd��dS(Ns nodes do not have children(R$R%R&R{(R R3R8((s'/usr/lib64/python2.7/xml/dom/minidom.pyR9�s N(RaRbR�RR}t EmptyNodeListRReRgRRR*RR"R)R@R9(((s'/usr/lib64/python2.7/xml/dom/minidom.pyR�cs        tProcessingInstructioncBsYeZejZd�Zd�Zd�Zd�Zd�Z d�Z dddd�Z RS(cCs$||_|_||_|_dS(N(ttargetR{R<R|(R R�R<((s'/usr/lib64/python2.7/xml/dom/minidom.pyRz�scCs|jS(N(R<(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt _get_data�scCs|j}||d<|d<dS(NR<R|(Ri(R R�RW((s'/usr/lib64/python2.7/xml/dom/minidom.pyt _set_data�s cCs|jS(N(R�(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt _get_target�scCs|j}||d<|d<dS(NR�R{(Ri(R R�RW((s'/usr/lib64/python2.7/xml/dom/minidom.pyt _set_target�s cCsw|dks|dkr3||jd<|jd<n@|dksK|dkrf||jd<|jd<n ||j|<dS(NR<R|R�R{(Ri(R RuR�((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��s R cCs'|jd||j|j|f�dS(Ns %s<?%s %s?>%s(RpR�R<(R RRR�R((s'/usr/lib64/python2.7/xml/dom/minidom.pyR�s( RaRbRR�RRzR�RRRR�R(((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��s       t CharacterDatacBsteZd�ZeZd�Zd�ZeZeZd�Zd�Z d�Z d�Z d�Z d�Z d �ZRS( cCs t|j�S(N(R�R<(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��scCs |jdS(NR<(Ri(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��scCs|j}||d<|d<dS(NR<R|(Ri(R R<RW((s'/usr/lib64/python2.7/xml/dom/minidom.pyR�s cCsD|dks|dkr3||jd<|jd<n ||j|<dS(NR<R|(Ri(R RuR�((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��scCsH|j}t|�dkr$d}nd}d|jj|dd!|fS(Ni s...R s<DOM %s node "%r%s">i(R<R�t __class__Ra(R R<t dotdotdot((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��s   cCs~|dkr!tjjd��n|t|j�krKtjjd��n|dkrltjjd��n|j|||!S(Nisoffset cannot be negatives#offset cannot be beyond end of datascount cannot be negative(R$R%t IndexSizeErrR�R<(R toffsettcount((s'/usr/lib64/python2.7/xml/dom/minidom.pyt substringData�s  cCs|j||_dS(N(R<(R targ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt appendData�scCs||dkr!tjjd��n|t|j�krKtjjd��n|rxd|j| ||j|f|_ndS(Nisoffset cannot be negatives#offset cannot be beyond end of datas%s%s%s(R$R%RR�R<(R RR ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt insertData�s cCs�|dkr!tjjd��n|t|j�krKtjjd��n|dkrltjjd��n|r�|j| |j|||_ndS(Nisoffset cannot be negatives#offset cannot be beyond end of datascount cannot be negative(R$R%RR�R<(R RR((s'/usr/lib64/python2.7/xml/dom/minidom.pyt deleteData�s  cCs�|dkr!tjjd��n|t|j�krKtjjd��n|dkrltjjd��n|r�d|j| ||j||f|_ndS(Nisoffset cannot be negatives#offset cannot be beyond end of datascount cannot be negatives%s%s%s(R$R%RR�R<(R RRR ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt replaceData�s  (RaRbR�R�R�Rt_get_nodeValuet_set_nodeValueR�R�R R R R R(((s'/usr/lib64/python2.7/xml/dom/minidom.pyR�s      sLength of the string data.R�cBsSeZejZdZdZd�Zdddd�Z d�Z d�Z d�Z RS(s#textcCs�|dks!|t|j�kr6tjjd��n|j�}|j||_|j|_|j}|jr�||jj kr�|dkr�|jj |�q�|jj ||�n|j| |_|S(Nisillegal offset value( R�R<R$R%RRRDR1R(RRR*R"(R RtnewTexttnext((s'/usr/lib64/python2.7/xml/dom/minidom.pyt splitText�s!    R cCs!t|d||j|f�dS(Ns%s%s%s(RqR<(R RRR�R((s'/usr/lib64/python2.7/xml/dom/minidom.pyR scCs�|jg}|j}xK|dk rb|jtjtjfkr^|jd|j�|j}qPqW|j}xH|dk r�|jtjtjfkr�|j |j�|j}qoPqoWdj |�S(NiR ( R<R2RRRR;R~R0R1R>tjoin(R RAR�((s'/usr/lib64/python2.7/xml/dom/minidom.pyt_get_wholeTexts     cCs�|j}|j}xK|dk r_|jtjtjfkr[|j}|j|�|}qPqW|j}|s|j|�nxK|dk r�|jtjtjfkr�|j}|j|�|}q�Pq�W|r�|j }||d<||d<|SdSdS(NR<R|( R(R2RRRR;R~R)R1Ri(R tcontentRtR�RRW((s'/usr/lib64/python2.7/xml/dom/minidom.pytreplaceWholeText$s.            cCs_|jj�rtSt|�}|dkr/tS|jj|�}|dkrQtS|j�SdS(N(R<tstripRt_get_containing_elementRRDR�tisElementContent(R R�R�((s'/usr/lib64/python2.7/xml/dom/minidom.pyt!_get_isWhitespaceInElementContentBs   N( RaRbRR;RR{RR}RRRRR(((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��s    tisWhitespaceInElementContentsKTrue iff this text node contains only whitespace and is in element content.t wholeTexts.The text of all logically-adjacent text nodes.cCs?|j}x/|dk r:|jtjkr.|S|j}q WdS(N(R(RRRR?(R6R5((s'/usr/lib64/python2.7/xml/dom/minidom.pyRUs   cCs?|j}x/|dk r:|jtjkr.|S|j}q WdS(N(R(RRRR(R6R5((s'/usr/lib64/python2.7/xml/dom/minidom.pyR�]s   tCommentcBs2eZejZdZd�Zdddd�ZRS(s#commentcCs||_|_dS(N(R<R|(R R<((s'/usr/lib64/python2.7/xml/dom/minidom.pyRzjsR cCs?d|jkrtd��n|jd||j|f�dS(Ns--s%'--' is not allowed in a comment nodes %s<!--%s-->%s(R<R,Rp(R RRR�R((s'/usr/lib64/python2.7/xml/dom/minidom.pyRms(RaRbRR�RR{RzR(((s'/usr/lib64/python2.7/xml/dom/minidom.pyRfs  t CDATASectioncBs)eZejZdZdddd�ZRS(s#cdata-sectionR cCs?|jjd�dkr'td��n|jd|j�dS(Ns]]>is$']]>' not allowed in a CDATA sections<![CDATA[%s]]>(R<tfindR,Rp(R RRR�R((s'/usr/lib64/python2.7/xml/dom/minidom.pyR|s(RaRbRR~RR{R(((s'/usr/lib64/python2.7/xml/dom/minidom.pyRss tReadOnlySequentialNamedNodeMapcBs�eZdZdd�Zd�Zd�Zd�Zd�Zd�Zd�Z d�Z d �Z d �Z d �Z d �Zd �ZRS(t_seqcCs ||_dS(N(R"(R tseq((s'/usr/lib64/python2.7/xml/dom/minidom.pyRz�scCs t|j�S(N(R�R"(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��scCs t|j�S(N(R�R"(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��scCs+x$|jD]}|j|kr |Sq WdS(N(R"R{(R RuR�((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��scCs:x3|jD](}|j|kr |j|kr |Sq WdS(N(R"RcRh(R RcRhR�((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��scCsLt|t�r!|j|�}n|j|�}|dkrHt|�n|S(N(R�R!R�R�RRR(R t name_or_tupleR6((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��s   cCs8|dkrdSy|j|SWntk r3dSXdS(Ni(RR"R�(R R+((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��s   cCstjjd��dS(Ns"NamedNodeMap instance is read-only(R$R%R�(R Ru((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��s cCstjjd��dS(Ns"NamedNodeMap instance is read-only(R$R%R�(R RcRh((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��s cCstjjd��dS(Ns"NamedNodeMap instance is read-only(R$R%R�(R R6((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��s cCstjjd��dS(Ns"NamedNodeMap instance is read-only(R$R%R�(R R6((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��s cCs |jgS(N(R"(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��scCs|d|_dS(Ni(R"(R R�((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��s(R"((RaRbR�RzR�R�R�R�R�R�R�R�R�R�R�R�(((s'/usr/lib64/python2.7/xml/dom/minidom.pyR!�s           s&Number of entries in the NamedNodeMap.t IdentifiedcBs)eZdZd�Zd�Zd�ZRS(s@Mix-in class that supports the publicId and systemId attributes.cCs||_||_dS(N(tpublicIdtsystemId(R R&R'((s'/usr/lib64/python2.7/xml/dom/minidom.pyt_identified_mixin_init�s cCs|jS(N(R&(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt _get_publicId�scCs|jS(N(R'(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt _get_systemId�s(RaRbR�R(R)R*(((s'/usr/lib64/python2.7/xml/dom/minidom.pyR%�s  t DocumentTypecBs\eZejZdZdZdZdZ dZ d�Z d�Z d�Z dddd�ZRS(cCsLt�|_t�|_|r<t|�\}}||_n|j|_dS(N(R!tentitiest notationsR�RuR{(R R�RdR�((s'/usr/lib64/python2.7/xml/dom/minidom.pyRz�s    cCs|jS(N(tinternalSubset(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt_get_internalSubset�scCs\|jdkrTtd�}|j|_|j|_tjjj}|r=g|j _ g|j _ xU|j j D]G}t |j|j |j�}|j j j|�|j|||�qmWx�|j j D]q}t|j|j |j|j�}|j|_|j|_|j|_|j j j|�|j|||�q�Wn|j|||�|SdSdS(N(RDRR+RuR{R$R%tUserDataHandlert NODE_CLONEDR,R"R-tNotationR&R'R>R_tEntityt notationNametactualEncodingR RJ(R REtcloneR\R�tnotationtetentity((s'/usr/lib64/python2.7/xml/dom/minidom.pyRF�s.         R cCs�|jd�|j|j�|jrL|jd||j||jf�n&|jrr|jd||jf�n|jdk r�|jd�|j|j�|jd�n|jd|�dS(Ns <!DOCTYPE s%s PUBLIC '%s'%s '%s's%s SYSTEM '%s's [t]Rn(RpRuR&R'R.R(R RRR�R((s'/usr/lib64/python2.7/xml/dom/minidom.pyRs     N(RaRbRtDOCUMENT_TYPE_NODERRR|RuR&R'R.RzR/RFR(((s'/usr/lib64/python2.7/xml/dom/minidom.pyR+�s    R3cBsweZdZejZdZdZdZ dZ d�Z d�Z d�Z d�Zd�Zd�Zd�Zd�ZRS( cCs2||_||_t�|_|j||�dS(N(R{R4R`RR((R RuR&R'R7((s'/usr/lib64/python2.7/xml/dom/minidom.pyRzs   cCs|jS(N(R5(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt_get_actualEncodingscCs|jS(N(R (R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt _get_encoding"scCs|jS(N(RJ(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt _get_version%scCstjjd��dS(Ns(cannot append children to an entity node(R$R%R&(R R3((s'/usr/lib64/python2.7/xml/dom/minidom.pyR*(s cCstjjd��dS(Ns+cannot insert children below an entity node(R$R%R&(R R3R4((s'/usr/lib64/python2.7/xml/dom/minidom.pyR",s cCstjjd��dS(Ns*cannot remove children from an entity node(R$R%R&(R R8((s'/usr/lib64/python2.7/xml/dom/minidom.pyR)0s cCstjjd��dS(Ns)cannot replace children of an entity node(R$R%R&(R R3R8((s'/usr/lib64/python2.7/xml/dom/minidom.pyR94s N(RaRbRR}Rt ENTITY_NODERR|R5R RJRzR<R=R>R*R"R)R9(((s'/usr/lib64/python2.7/xml/dom/minidom.pyR3s        R2cBs eZejZdZd�ZRS(cCs||_|j||�dS(N(R{R((R RuR&R'((s'/usr/lib64/python2.7/xml/dom/minidom.pyRz<s N(RaRbRR�RRR|Rz(((s'/usr/lib64/python2.7/xml/dom/minidom.pyR28s tDOMImplementationc BsSeZd d ddddddgZd�Zd�Zd�Zd �Zd �ZRS(tcores1.0s2.0R$sls-loads3.0cCs.|dkrd}n|j�|f|jkS(NR (Rtlowert _features(R RIRJ((s'/usr/lib64/python2.7/xml/dom/minidom.pyRHLs  c CsK|r*|jdk r*tjjd��n|j�}|dkoW|dkoW|dk }| r}|r}tjjd��n|rt|�\}}|dkr�|dkr�tjjd��n|r�| r�tjjd��n|j ||�}|r |j |�n|j |�n|r5||_|_ n||_ ||_ |S(Ns(doctype object owned by another DOM treesElement with no nameR$s$http://www.w3.org/XML/1998/namespacesillegal use of 'xml' prefixs(illegal use of prefix without namespaces(R(RR$R%tWrongDocumentErrt_create_documenttInvalidCharacterErrR�R�tcreateElementNSR*RDtdoctypeRG( R RcR�RHRftadd_root_elementRdR�R�((s'/usr/lib64/python2.7/xml/dom/minidom.pytcreateDocumentQs4              cCs"t|�}||_||_|S(N(R+R&R'(R R�R&R'RH((s'/usr/lib64/python2.7/xml/dom/minidom.pytcreateDocumentType~s   cCs|j|d�r|SdSdS(N(RHR(R RI((s'/usr/lib64/python2.7/xml/dom/minidom.pyRO�scCst�S(N(tDocument(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyRE�s(RAs1.0(RAs2.0N(RAN(R$s1.0(R$s2.0(R$N(sls-loads3.0(sls-loadN( RaRbRRCRHRJRKRORE(((s'/usr/lib64/python2.7/xml/dom/minidom.pyR@As   -  t ElementInfocBseeZdZd Zd�Zd�Zd�Zd�Zd�Zd�Z d�Z d �Z d �Z RS( s�Object that represents content-model information for an element. This implementation is not expected to be used in practice; DOM builders should provide implementations which do the right thing using information available to it. RrcCs ||_dS(N(Rr(R Ru((s'/usr/lib64/python2.7/xml/dom/minidom.pyRz�scCstS(N(R�(R taname((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��scCstS(N(R�(R RcRh((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��scCstS(N(R(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyR�scCstS(sQReturns true iff this element is declared to have an EMPTY content model.(R(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pytisEmpty�scCstS(s7Returns true iff the named attribute is a DTD-style ID.(R(R RN((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��scCstS(s<Returns true iff the identified attribute is a DTD-style ID.(R(R RcRh((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��scCs|jS(N(Rr(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��scCs ||_dS(N(Rr(R R�((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��s(Rr( RaRbR�R�RzR�R�RROR�R�R�R�(((s'/usr/lib64/python2.7/xml/dom/minidom.pyRM�s        cCsZ|jtjkr+|jj�d|_n+t|�rV|jjj�d|j_ndS(N( RRRt _id_cachetclearRt_id_search_stackRkRD(R6((s'/usr/lib64/python2.7/xml/dom/minidom.pyR/�s    RLcBs�eZejejejejfZejZ dZ d$Z d$Z d$Zd$Zd$ZZe�Zd$Zd$Zd$Zd$ZeZd$Zd$ZdZd�Zd�Zd�Zd�Z d�Z!d�Z"d�Z#d �Z$d �Z%d �Z&d �Z'd �Z(d�Z)d�Z*d�Z+d�Z,d�Z-d�Z.d�Z/d�Z0d�Z1d�Z2d�Z3d�Z4d�Z5d�Z6d�Z7d�Z8d�Z9d�Z:d �Z;d!d!d!d$d"�Z<d#�Z=RS(%s #documenticCs+t�|_i|_i|_d|_dS(N(R`Rt _elem_infoRPRRR(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyRz�s   cCs7|jr|j|jf}n |j}|jj|�S(N(RcRhRrRSR�(R R�RS((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��s  cCs|jS(N(R5(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyR<�scCs|jS(N(RH(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt _get_doctype�scCs|jS(N(t documentURI(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt_get_documentURI�scCs|jS(N(R (R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyR=�scCs|jS(N(t errorHandler(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt_get_errorHandler�scCs|jS(N(t standalone(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt_get_standalone�scCs|jS(N(tstrictErrorChecking(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyt_get_strictErrorChecking�scCs|jS(N(RJ(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyR>scCs�|j|jkr=tjjdt|�t|�f��n|jdk r_|jj|�n|jt j kr�|j �r�tjjd��nt j ||�S(Ns%s cannot be child of %ss two document elements disallowed( RR#R$R%R&R'R(RR)RR?t_get_documentElementR*(R R6((s'/usr/lib64/python2.7/xml/dom/minidom.pyR*s "   cCsoy|jj|�Wn tk r6tjj��nXd|_|_d|_ |j |krkd|_ n|S(N( RR:R,R$R%R-RR1R2R(tdocumentElement(R R8((s'/usr/lib64/python2.7/xml/dom/minidom.pyR)s   cCs.x'|jD]}|jtjkr |Sq WdS(N(RRRR?(R R6((s'/usr/lib64/python2.7/xml/dom/minidom.pyR]scCs9|jdk r(|jj�d|_ntj|�dS(N(RHRR=R(R ((s'/usr/lib64/python2.7/xml/dom/minidom.pyR=$s  cCs�|s dS|jjddd�}|j|_|j|_|j|_xo|jD]d}t|||�}|jj|�|j t j kr�n|j t j kr�||_ n||_qPW|jtjjj||�|S(N(RRGRJR RYRJRRCR>RRRR;RHR(R_R$R%R0R1(R RER6R�t childclone((s'/usr/lib64/python2.7/xml/dom/minidom.pyRF*s"      cCst�}||_|S(N(RyRD(R RW((s'/usr/lib64/python2.7/xml/dom/minidom.pytcreateDocumentFragment?s  cCst|�}||_|S(N(R�RD(R RrR8((s'/usr/lib64/python2.7/xml/dom/minidom.pyt createElementDs  cCs:t|t�std�nt�}||_||_|S(Nsnode contents must be a string(R�R�R�R�R<RD(R R<tt((s'/usr/lib64/python2.7/xml/dom/minidom.pytcreateTextNodeIs     cCs:t|t�std�nt�}||_||_|S(Nsnode contents must be a string(R�R�R�RR<RD(R R<R5((s'/usr/lib64/python2.7/xml/dom/minidom.pytcreateCDATASectionQs     cCst|�}||_|S(N(RRD(R R<R5((s'/usr/lib64/python2.7/xml/dom/minidom.pyt createCommentYs  cCst||�}||_|S(N(R�RD(R R�R<tp((s'/usr/lib64/python2.7/xml/dom/minidom.pytcreateProcessingInstruction^s cCs"t|�}||_d|_|S(NR (R�RDR�(R R�ta((s'/usr/lib64/python2.7/xml/dom/minidom.pytcreateAttributecs   cCs1t|�\}}t|||�}||_|S(N(R�R�RD(R RcR�RdRhR8((s'/usr/lib64/python2.7/xml/dom/minidom.pyRGis cCs=t|�\}}t||||�}||_d|_|S(NR (R�R�RDR�(R RcR�RdRhRh((s'/usr/lib64/python2.7/xml/dom/minidom.pytcreateAttributeNSos   cCs"t||||�}||_|S(N(R3RD(R RuR&R'R4R8((s'/usr/lib64/python2.7/xml/dom/minidom.pyt_create_entityys cCst|||�}||_|S(N(R2RD(R RuR&R'R�((s'/usr/lib64/python2.7/xml/dom/minidom.pyt_create_notation~s cCsE||jkr|j|S|jp)|js0dS|j}|dkr]|jg}||_n |sgdSd}x�|r@|j�}|jg|jD]}|j t kr�|^q��|j |�}|r�xa|j j �D]�}|jr;|j|j|j�r�||j|j<|j|kr(|}q8|js8Pq8q�q�|j|j�r�||j|j<|j|kru|}q�|js�Pq�q�|jr�||j|j<|j|kr�|}q�|jdkr�Pq�q�q�WnZ|jr-xN|j j �D]:}|jr�||j|j<|j|kr&|}q&q�q�Wn|dk rpPqpqpW|S(Ni(RPRSR�RRRR^tpoptextendRRR.R�R}R�RcR�RhR�R�R�RuR�(R R�tstacktresultR6RBR�R�((s'/usr/lib64/python2.7/xml/dom/minidom.pytgetElementById�s\                  cCst||t��S(N(RsR`(R Ru((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��scCst|||t��S(N(RwR`(R RcRh((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��scCs|jj||�S(N(RGRH(R RIRJ((s'/usr/lib64/python2.7/xml/dom/minidom.pyRK�scCs^|jtjkr'tjjd��n'|jtjkrNtjjd��nt|||�S(Nscannot import document nodess!cannot import document type nodes(RRRR$R%tNotSupportedErrR;RC(R R6RE((s'/usr/lib64/python2.7/xml/dom/minidom.pyt importNode�s R cCse|dkr |jd|�n|jd||f�x'|jD]}|j||||�qAWdS(Ns<?xml version="1.0" ?>s%<?xml version="1.0" encoding="%s"?>%s(RRpRR(R RRR�RR R6((s'/usr/lib64/python2.7/xml/dom/minidom.pyR�s  c Cs|j|k r1tjjd||jf��n|jtjtjfkratjjd��n|t krd|kr�|j dd�\}}|dkr|tjj krtjj d��qq'|dkr |tjj kr |jtjkr tjj d��nd}|}n d}d}|jtjkrj|j}|dk rp|j}|j|�qpnd}|j}||d<||d <||d <||d <|jtjkr�||d <n<||d <|dk r�|j|�|r�|j|�q�n|S(Ns?cannot rename nodes from other documents; expected %s, found %ss8renameNode() only applies to element and attribute nodesR�iR�sillegal use of 'xmlns' prefixs$illegal use of the 'xmlns' attributeRdRhRcR{RrRu(RDR$R%RDRRR?R�RrRR�RR�RR�R�R�RiR�R�( R R�RcRuRdRhR�tis_idRW((s'/usr/lib64/python2.7/xml/dom/minidom.pyt renameNode�sT                       N(>RaRbRR?R�R�R;R#RRR{RR|R}RHR(R2R1R@RGR5R RYRJRR[RWRUR�RzR�R<RTRVR=RXRZR\R>R*R)R]R=RFR`RaRcRdReRgRiRGRjRkRlRqR�R�RKRsRRu(((s'/usr/lib64/python2.7/xml/dom/minidom.pyRL�sh                             :      R^s#Top-level element of this document.c Cs�|jj|�r$tjjj}ntjjj}|jtj kr�|j |j |j �}xW|j j�D]F}|j|j |j |j�|j|j |j�}|j|_qmW|r�x3|jD]%}t|||�}|j|�q�Wq�n�|jtjkrS|j�}|r�x3|jD]%}t|||�}|j|�q$Wq�n|jtjkrz|j|j�}nX|jtjkr�|j|j�}n1|jtjkr�|j|j |j�}n|jtj!kr�|j"|j�}n�|jtj#kr7|j$|j |j �}t%|_|j|_n�|jtj&kr�tjjj}|j'j(|j)|j*|j+�}||_|r�g|j,_-g|j._-xp|j.j-D]b} t/| j | j*| j+�} || _|j.j-j0| �t1| d�r�| j2|| | �q�q�Wx�|j,j-D]�} t3| j | j*| j+| j4�} | j5| _5| j6| _6| j7| _7|| _|j,j-j0| �t1| d�r | j2|| | �q q Wq�ntjj8dt9|���t1|d�r�|j2|||�n|S(so Clone a node and give it the new owner document. Called by Node.cloneNode and Document.importNode R_sCannot clone node %s(:RDRNR$R%R0R1t NODE_IMPORTEDRRR?RGRcR{R}R�R�R�R�RhR�RRCR*R R`R;RcR<R~RdR�RgR�R�ReR�RjRR;RGRKRuR&R'R,R"R-R2R>RYR_R3R4R5R RJRrR'( R6REtnewOwnerDocumentR\R6R�RhRBR5R�R7R8R9((s'/usr/lib64/python2.7/xml/dom/minidom.pyRCs|                  cCs:|jdd�}t|�dkr(|Sd|dfSdS(NR�iii(R�R�R(R�tfields((s'/usr/lib64/python2.7/xml/dom/minidom.pyR�fscCsddlm}|�S(Ni����(tStringIO(Ry(Ry((s'/usr/lib64/python2.7/xml/dom/minidom.pyRnscCs<|||�}|j�\}}|j|�|j�|S(N(tgetEventt expandNodeRQ(tfunctargstkwargsteventsttoktypetrootNode((s'/usr/lib64/python2.7/xml/dom/minidom.pyt_do_pulldom_parsess   cCsh|dkr0| r0ddlm}|j|�Sddlm}t|j|fi|d6|d6�SdS(s3Parse a file into a DOM by filename or file object.i����(t expatbuilder(tpulldomtparsertbufsizeN(Rtxml.domR�tparseR�R�(tfileR�R�R�R�((s'/usr/lib64/python2.7/xml/dom/minidom.pyR�zs  cCsZ|dkr)ddlm}|j|�Sddlm}t|j|fi|d6�SdS(s&Parse a file into a DOM from a string.i����(R�(R�R�N(RR�R�t parseStringR�R�(tstringR�R�R�((s'/usr/lib64/python2.7/xml/dom/minidom.pyR��s   cCsa|rZt|t�r'tj|�}nx0|D]%\}}tjj||�s.dSq.WntjS(N(R�R�Rt_parse_feature_stringRLRGRHR(tfeaturestftv((s'/usr/lib64/python2.7/xml/dom/minidom.pytgetDOMImplementation�s (8R�R�R$RRRRtxml.dom.minicompattxml.dom.xmlbuilderRRR%RR?RR.t defpropertyR7RkRqRsRwRyR�tobjectR�t AttributeListR�RR�R�R�R�R�RR�RR�RRR!R%R+R3R2R@RMR/RLRCR�RR�R�R�R�(((s'/usr/lib64/python2.7/xml/dom/minidom.pyt<module>s� "  �    r� �   (GZ     > <( O* �O  R