| Server IP : 178.105.222.151 / Your IP : 216.73.216.38 Web Server : nginx/1.28.3 System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.5.4 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3.14/xml/dom/__pycache__/ |
Upload File : |
+
��3jh � �b � R t ^ RIt^ RIt^ RIHtHtHtHt ^ RI5 ^ RI H
t
Ht ]P P P ]P P P 3t ! R R]P P 4 t
]! ]
RRR 7 ]! ]
R
RR 7 ]! ]
RR
R 7 R tR tR tR t ! R R]
4 t ! R R]
4 t]! ]RRR 7 ]! ]RRR 7 ]! ]RRR 7 ! R R]4 t]! ]RRR 7 ]t ! R R ]4 t]! RR4 t ! R! R"]
4 t]! ]R#R$R 7 ]! ]RR%R 7 R& t ! R' R(4 t ! R) R*]]
4 t ! R+ R,]]
4 t!]! ]!RR-R 7 ! R. R/]!4 t"]! ]"R0R1R 7 ]! ]"R2R3R 7 R4 t#R5 t$ ! R6 R7]!4 t% ! R8 R9]"4 t& ! R: R;]4 t']! ]'RR<R 7 ! R= R>4 t( ! R? R@](]]
4 t) ! RA RB](]
4 t* ! RC RD](]]
4 t+ ! RE RF]
4 t, ! RG RH]4 t-RI t. ! RJ RK]
]4 t/]! ]/RLRMR 7 RN t0RO t1RP t2RTRQ lt3RURR lt4RURS lt5R# )Vac Simple 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
N)�EMPTY_NAMESPACE�EMPTY_PREFIX�XMLNS_NAMESPACE�domreg��*)�DOMImplementationLS�
DocumentLSc �� a � ] tR t^"t o RtRtRtRtRt] t
R tRR ltRR lt
R tR tR tR tR tR
tR tR tR
tR tR tR tR tR tR tR tR tR tR t R t!Rt"V t#R# )�NodeNc � � R # )T� ��selfs &�&/usr/lib/python3.14/xml/dom/minidom.py�__bool__�
Node.__bool__+ � � �� c �( � V P R R W4 # �� )�toprettyxml)r �encoding�
standalones &&&r �toxml�
Node.toxml. s � �����B��=�=r c � � Vf \ P ! 4 pM-\ P ! \ P ! 4 VRRR7 pV P \
P 8X d V P VRWW44 MV P VRW4 Vf VP 4 # VP 4 P 4 # )N�xmlcharrefreplace�
)r �errors�newliner )
�io�StringIO�
TextIOWrapper�BytesIO�nodeTyper �
DOCUMENT_NODE�writexml�getvalue�detach)r �indent�newlr r �writers &&&&& r r �Node.toprettyxml1 s� � ����[�[�]�F��%�%�b�j�j�l�/7�-@�.2�4�F� �=�=�D�.�.�.��M�M�&�"�f�H�I��M�M�&�"�f�3����?�?�$�$��=�=�?�+�+�-�-r c �, � \ V P 4 # �N)�bool�
childNodesr s &r �
hasChildNodes�Node.hasChildNodesD s � ��D�O�O�$�$r c � � V P # r0 �r2 r s &r �_get_childNodes�Node._get_childNodesG � � ����r c �P � V P '