tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
\\¬Qc@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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt __nonzero__*scCs|jdd|ƒS(Nt(t toprettyxml(R    tencoding((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR 0s      cCs|jr tStSdS(N(t
childNodesRtFalse(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt hasChildNodes?s    cCs|jS(N(R(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt_get_childNodesEscCs|jr|jdSdS(Ni(R(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt_get_firstChildHs    cCs|jr|jdSdS(Niÿÿÿÿ(R(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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+((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR@±s*         
       cCst|||jp|ƒS(N(t _clone_nodet ownerDocument(R    tdeep((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt    cloneNodeÌscCs|jjj||ƒS(N(RDtimplementationt
hasFeature(R    tfeaturetversion((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt isSupportedÏscCsdS(N(R(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt_get_localNameÒscCs
||kS(N((R    tother((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt
isSameNodeØscCs|j|dƒr|SdSdS(N(RKR(R    RI((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt getInterfaceÛscCs2y|j|dSWnttfk
r-dSXdS(Ni(t
_user_datatAttributeErrortKeyErrorR(R    tkey((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt setUserDataës       cCsdt|dƒr`xN|jjƒD]:\}\}}|dk    r|j|||||ƒqqWndS(NRP(thasattrRPtitemsRthandle(R    t    operationtsrctdstRSR<RU((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR=s        N(t__name__t
__module__Rt namespaceURIR(RDR1R2RtprefixR
RR RRRRR"R*R9R)R@RFRKRLRNRORTRXR_R=(((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR7s    
  cCs6x/|dk    r1|jtjkr%tS|j}qWtS(N(RRRRRR(R(R6((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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<((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRs,s c    Cs†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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRw4stDocumentFragmentcBsbeZejZdZdZdZdZ    ej
ej ej ej ejejejfZd„ZRS(s#document-fragmentcCstƒ|_dS(N(R`R(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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(((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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„Zd    „ZRS( cCsS|j}||d<|d<||d<||d<tƒ|d<|jjtƒƒdS(NR{RuRcRdR(RiR`RR>tText(R    tqNameRcRhRdRW((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRzXs     
 
 cCs|jjddƒdS(Nt:iiÿÿÿÿ(R{tsplit(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRLfscCs|jS(N(Ru(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt    _get_nameiscCs|jS(N(t    specified(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt_get_specifiedlscCs¹|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{(svalues    nodeValue(snamesnodeName(RiRt ownerElementRR/(R    RuR‹RWtd2((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt __setattr__os      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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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ž((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt_get_schemaType¶s             N(RaRbRtATTRIBUTE_NODERRR}RŒRR‰R—R;RR#RRzRLRˆRŠRŽR“R”R=RŸR£(((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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Œ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRzÔs        cCs t|jƒS(N(tlenR•(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt _get_lengthÙscCs2y||jjƒ|SWntk
r-dSXdS(N(R•tkeyst
IndexErrorR(R    R+((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pytitemÜs cCs=g}x0|jjƒD]}|j|j|jfƒqW|S(N(R•tvaluesR>R{R‹(R    RAR6((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRZâscCsFg}x9|jjƒD](}|j|j|jf|jfƒqW|S(N(R•R¯R>RcRhR‹(R    RAR6((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pytitemsNSès&cCs-t|tƒr||jkS||jkSdS(N(t
isinstancet StringTypesR•R–(R    RS((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pythas_keyîs cCs |jjƒS(N(R•R¬(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR¬ôscCs |jjƒS(N(R–R¬(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pytkeysNS÷scCs |jjƒS(N(R•R¯(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR¯úscCs|jj||ƒS(N(R•tget(R    RuR‹((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRµýscCs<|jt|ddƒkrdStt|ƒt|ƒƒSdS(NR•i(R•tgetattrRtcmptid(R    RM((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt__cmp__scCs)t|tƒr|j|S|j|SdS(N(R±R!R–R•(R    tattname_or_tuple((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt __setitem__s    cCs(y|j|SWntk
r#dSXdS(N(R•RRR(R    Ru((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt getNamedItems cCs.y|j||fSWntk
r)dSXdS(N(R–RRR(R    RcRh((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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Â((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pytremoveNamedItemNS7s   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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR¼Cs    "   cCs |j|ƒS(N(R¼(R    R6((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pytsetNamedItemNSPscCs%||}t|jƒ|jƒdS(N(R/RŒR=(R    RºR6((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt __delitem__Ss
 cCs|j|j|jfS(N(R•R–R§(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt __getstate__XscCs|\|_|_|_dS(N(R•R–R§(R    tstate((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt __setstate__[s(s_attrss_attrsNSs _ownerElementN(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É(((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRzgs    cCs,|jrd|j|jfSd|jSdS(Ns<TypeInfo %r (from %r)>s <TypeInfo %r>(RÐRu(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt__repr__ks    cCs|jS(N(Ru(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRˆqscCs|jS(N(RÐ(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt_get_namespacets(s    namespacesname(RaRbRËRzRÑRˆRÒ(((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRÏds
            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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRz‡s              cCs|jjddƒdS(NR†iiÿÿÿÿ(RrR‡(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRL–scCs|jS(N(Rr(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt _get_tagName™scCsGx!|jjƒD]}|jƒqWd|_d|_tj|ƒdS(N(R•R¯R=RR–R(R    tattr((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR=œs
        cCs+y|j|jSWntk
r&dSXdS(NR (R•R‹RR(R    R¾((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt getAttribute£s cCs1y|j||fjSWntk
r,dSXdS(NR (R–R‹RR(R    RcRh((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pytsetAttributeNS¾s$     
 
         
cCs|jj|ƒS(N(R•Rµ(R    tattrname((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRØÔscCs|jj||fƒS(N(R–Rµ(R    RcRh((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRÙÚs !   cCsEy|j|}Wn tk
r3tjjƒ‚nX|j|ƒdS(N(R•RRR$R%R-Râ(R    RuRÕ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pytremoveAttributeîs
 cCsKy|j||f}Wn tk
r9tjjƒ‚nX|j|ƒdS(N(R–RRR$R%R-Râ(R    RcRhRÕ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRâüs  
 
cCs ||jkS(N(R•(R    Ru((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt hasAttribute scCs||f|jkS(N(R–(R    RcRh((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pythasAttributeNSscCst||tƒƒS(N(RsR`(R    Ru((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pytgetElementsByTagNamescCst|||tƒƒS(N(RwR`(R    RcRh((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pytgetElementsByTagNameNSscCsd|jt|ƒfS(Ns<DOM Element: %s at %#x>(RrR¸(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRs&  
         cCst|j|j|ƒS(N(R¦R•R–(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRì7scCs|jr tStSdS(N(R•RR(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt hasAttributes:s    cCs |j|ƒ}|j|ƒdS(N(RØtsetIdAttributeNode(R    RutidAttr((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pytsetIdAttributeBscCs#|j||ƒ}|j|ƒdS(N(RÜRò(R    RcRhRó((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pytsetIdAttributeNSFscCs|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ó((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRòJs     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ò(((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRÓysL                                                                                               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Õ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRã[s
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    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRpscCsdS(N(R(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRsscCstjj|jdƒ‚dS(Ns nodes cannot have children(R$R%R&R{(R    R6((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR*vs    cCstS(N(R(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRzscCstjj|jdƒ‚dS(Ns nodes do not have children(R$R%R&R{(R    R3R4((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR"}s    cCstjj|jdƒ‚dS(Ns nodes do not have children(R$R%R-R{(R    R8((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR)s    cCsdS(N((R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR@…scCstjj|jdƒ‚dS(Ns nodes do not have children(R$R%R&R{(R    R3R8((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR9‰s    N(RaRbRÊRR}t EmptyNodeListRReRgRRR*RR"R)R@R9(((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRûfs                                tProcessingInstructioncBsYeZejZd„Zd„Zd„Zd„Zd„Z    d„Z
dddd„Z RS(cCs$||_|_||_|_dS(N(ttargetR{R<R|(R    RþR<((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRz‘scCs|jS(N(R<(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt    _get_data•scCs|j}||d<|d<dS(NR<R|(Ri(R    R‹RW((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt    _set_data—s    cCs|jS(N(Rþ(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt _get_target›scCs|j}||d<|d<dS(NRþR{(Ri(R    R‹RW((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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‹((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRŽ¡s
R cCs'|jd||j|j|fƒdS(Ns %s<?%s %s?>%s(RpRþR<(R    RRRîR((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR©s( RaRbRR€RRzRÿRRRRŽR(((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR«®scCs |jdS(NR<(Ri(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRÿ²scCs|j}||d<|d<dS(NR<R|(Ri(R    R<RW((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR´s    cCsD|dks|dkr3||jd<|jd<n ||j|<dS(NR<R|(Ri(R    RuR‹((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt substringDataÊs  cCs|j||_dS(N(R<(R    targ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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
((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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
((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt replaceDataés  (RaRbR«RÌRÿRt_get_nodeValuet_set_nodeValueRŽRÑR    R R R R(((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt    splitTexts!       R cCs!t|d||j|fƒdS(Ns%s%s%s(RqR<(R    RRRîR((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRscCsÄ|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Â((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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ž((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt!_get_isWhitespaceInElementContentEs   N( RaRbRR;RR{RR}RRRRR(((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRXs      cCs?|j}x/|dk    r:|jtjkr.|S|j}q WdS(N(R(RRRR(R6R5((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRö`s      tCommentcBs2eZejZdZd„Zdddd„ZRS(s#commentcCs||_|_dS(N(R<R|(R    R<((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRzmsR 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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRps(RaRbRRRR{RzR(((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRis        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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRs(RaRbRR~RR{R(((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRvs    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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRzˆscCs t|jƒS(N(RªR"(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyŘscCs t|jƒS(N(RªR"(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR«scCs+x$|jD]}|j|kr
|Sq
WdS(N(R"R{(R    RuRÂ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRÀ’scCs:x3|jD](}|j|kr
|j|kr
|Sq
WdS(N(R"RcRh(R    RcRhRÂ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR»œs   cCs8|dkrdSy|j|SWntk
r3dSXdS(Ni(RR"R­(R    R+((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR®¥s   cCstjjdƒ‚dS(Ns"NamedNodeMap instance is read-only(R$R%R÷(R    Ru((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRís    cCstjjdƒ‚dS(Ns"NamedNodeMap instance is read-only(R$R%R÷(R    RcRh((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRıs    cCstjjdƒ‚dS(Ns"NamedNodeMap instance is read-only(R$R%R÷(R    R6((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR¼µs    cCstjjdƒ‚dS(Ns"NamedNodeMap instance is read-only(R$R%R÷(R    R6((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRŹs    cCs
|jgS(N(R"(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRǽscCs|d|_dS(Ni(R"(R    RÈ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRÉÀs(s_seq((RaRbRËRzRÌR«RÀRÁR»R®RÃRÄR¼RÅRÇRÉ(((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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'((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt_identified_mixin_initÍs    cCs|jS(N(R&(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt _get_publicIdÑscCs|jS(N(R'(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt _get_systemIdÔs(RaRbRÊR(R)R*(((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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Þ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRzßs    cCs|jS(N(tinternalSubset(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRs              N(RaRbRtDOCUMENT_TYPE_NODERRR|RuR&R'R.RzR/RFR(((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRzs         cCs|jS(N(R5(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt_get_actualEncoding"scCs|jS(N(R (R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt _get_encoding%scCs|jS(N(RJ(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt _get_version(scCstjjdƒ‚dS(Ns(cannot append children to an entity node(R$R%R&(R    R3((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR*+s    cCstjjdƒ‚dS(Ns+cannot insert children below an entity node(R$R%R&(R    R3R4((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR"/s    cCstjjdƒ‚dS(Ns*cannot remove children from an entity node(R$R%R&(R    R8((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR)3s    cCstjjdƒ‚dS(Ns)cannot replace children of an entity node(R$R%R&(R    R3R8((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR97s    N(RaRbRR}Rt ENTITY_NODERR|R5R RJRzR<R=R>R*R"R)R9(((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR3s                                R2cBs eZejZdZd„ZRS(cCs||_|j||ƒdS(N(R{R((R    RuR&R'((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRz?s    N(RaRbRR‚RRR|Rz(((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR2;s    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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRHOs     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ú((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pytcreateDocumentTs4                          cCs"t|ƒ}||_||_|S(N(R+R&R'(R    RÝR&R'RH((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pytcreateDocumentTypes         cCs|j|dƒr|SdSdS(N(RHR(R    RI((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRO‰scCstƒS(N(tDocument(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyREs(RAs1.0(RAs2.0N(RAN(sxmls1.0(sxmls2.0(sxmlN(sls-loads3.0(sls-loadN(    RaRbRRCRHRJRKRORE(((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR@Ds            -        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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRzžscCstS(N(R (R    taname((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR¢¡scCstS(N(R (R    RcRh((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR¡¤scCstS(N(R(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR§scCstS(sQReturns true iff this element is declared to have an EMPTY
        content model.(R(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pytisEmptyªscCstS(s7Returns true iff the named attribute is a DTD-style ID.(R(R    RN((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR¯scCstS(s<Returns true iff the identified attribute is a DTD-style ID.(R(R    RcRh((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRœ³scCs|jS(N(Rr(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRÇ·scCs ||_dS(N(Rr(R    RÈ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRɺs(stagName( RaRbRÊRËRzR¢R¡RRORRœRÇRÉ(((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRzßs         cCs7|jr|j|jf}n    |j}|jj|ƒS(N(RcRhRrRSRµ(R    RúRS((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR›çs        cCs|jS(N(R5(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR<îscCs|jS(N(RH(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt _get_doctypeñscCs|jS(N(t documentURI(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt_get_documentURIôscCs|jS(N(R (R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR=÷scCs|jS(N(t errorHandler(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt_get_errorHandlerúscCs|jS(N(t
standalone(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt_get_standaloneýscCs|jS(N(tstrictErrorChecking(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt_get_strictErrorCheckingscCs|jS(N(RJ(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR)s      cCs.x'|jD]}|jtjkr
|Sq
WdS(N(RRRR?(R    R6((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR]"scCs9|jdk    r(|jjƒd|_ntj|ƒdS(N(RHRR=R(R    ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR='s  cCs|s
dS|jjdddƒ}|j|_|j|_|j|_x±|jD]¦}t|||ƒ}|jj    |ƒs€t
‚|jj |ƒ|j t jkrº|jdksít
‚n3|j t jkrí|jdksát
‚||_n||_qPW|jtjjj||ƒ|S(N(RRGRJR RYRJRRCRDRNtAssertionErrorR>RRRR^R;RHR(R_R$R%R0R1(R    RER6RÂt
childclone((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRF-s&     
cCstƒ}||_|S(N(RyRD(R    RW((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pytcreateDocumentFragmentBs        cCst|ƒ}||_|S(N(RÓRD(R    RrR8((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt createElementGs     cCs:t|tƒstd‚ntƒ}||_||_|S(Nsnode contents must be a string(R±R²R½R„R<RD(R    R<tt((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pytcreateTextNodeLs              cCs:t|tƒstd‚ntƒ}||_||_|S(Nsnode contents must be a string(R±R²R½RR<RD(R    R<R5((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pytcreateCDATASectionTs              cCst|ƒ}||_|S(N(RRD(R    R<R5((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt createComment\s     cCst||ƒ}||_|S(N(RýRD(R    RþR<tp((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pytcreateProcessingInstructionas    cCs"t|ƒ}||_d|_|S(NR (RƒRDR‹(R    R…ta((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pytcreateAttributefs         cCs1t|ƒ\}}t|||ƒ}||_|S(N(RÛRÓRD(R    RcRÝRdRhR8((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRGls    cCs=t|ƒ\}}t||||ƒ}||_d|_|S(NR (RÛRƒRDR‹(R    RcRÝRdRhRi((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pytcreateAttributeNSrs
        cCs"t||||ƒ}||_|S(N(R3RD(R    RuR&R'R4R8((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt_create_entity|s    cCst|||ƒ}||_|S(N(R2RD(R    RuR&R'RÂ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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Õ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pytgetElementById†s\                         
                         cCst||tƒƒS(N(RsR`(R    Ru((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRêÀscCst|||tƒƒS(N(RwR`(R    RcRh((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRëÃscCs|jj||ƒS(N(RGRH(R    RIRJ((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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¤RsRR‡RRRRŒR—RâRiRÙRò(    R    RÂRcRuRdRhRútis_idRW((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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=RFRaRbRdReRfRhRjRGRkRlRmRrRêRëRKRtRRv(((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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ƒ}nm|jtjkr¡|j|jƒ}nF|jtjkrÎ|j|j |jƒ}n|jtj!krõ|j"|jƒ}nò|jtj#kr7|j$|j |j ƒ}t%|_|j|_n°|jtj&krË|j|k    s^t'‚tjjj}|j(j)|j*|j+|j,ƒ}||_|rçg|j-_.g|j/_.xp|j/j.D]b}    t0|    j |    j+|    j,ƒ}
||
_|j/j.j1|
ƒt2|    dƒrÂ|    j3||    |
ƒqÂqÂWx|j-j.D]Œ} t4| j | j+| j,| j5ƒ} | j6| _6| j7| _7| j8| _8|| _|j-j.j1| ƒt2| dƒr5| j3||    | ƒq5q5Wqçntjj9dt:|ƒƒ‚t2|dƒr |j3|||ƒ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 RaR;RdR<R~ReR€RhRþRRfR¤RkRR;R_RGRKRuR&R'R,R"R-R2R>RYR_R3R4R5R RJRsR'( R6REtnewOwnerDocumentR\R6RÕRiRBR5RÂR7R8R9((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRCs~                                 cCs:|jddƒ}t|ƒdkr(|Sd|dfSdS(NR†iii(R‡RªR(RÝtfields((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRÛiscCsddlm}|ƒS(Niÿÿÿÿ(tStringIO(Rz(Rz((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyRqscCs<|||Ž}|jƒ\}}|j|ƒ|jƒ|S(N(tgetEventt
expandNodeRQ(tfunctargstkwargsteventsttoktypetrootNode((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt_do_pulldom_parsevs
 
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…((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyR‰}s  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…((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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‘(((sW/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/xml/dom/minidom.pyt<module>s„ "
 í    
                   u• Ü       (GZ               > <(    O*    ÿO     R