%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/thread-self/root/lib64/python2.7/Demo/xml/
Upload File :
Create Path :
Current File : //proc/thread-self/root/lib64/python2.7/Demo/xml/roundtrip.pyo

�
��^c@s�dZddlZddlmZmZmZdejfd��YZedkr�e�Z	e	j
e��e	jejd�ndS(ss
A simple demo that reads in an XML document and spits out an equivalent,
but not necessarily identical, document.
i����N(tsaxutilsthandlertmake_parsertContentGeneratorcBsMeZejd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
RS(cCstjj|�||_dS(N(RtContentHandlert__init__t_out(tselftout((s*/usr/lib64/python2.7/Demo/xml/roundtrip.pyRscCs|jjd�dS(Ns,<?xml version="1.0" encoding="iso-8859-1"?>
(Rtwrite(R((s*/usr/lib64/python2.7/Demo/xml/roundtrip.pyt
startDocumentscCsh|jjd|�x=|j�D]/\}}|jjd|tj|�f�q!W|jjd�dS(Nt<s %s="%s"t>(RR	titemsRtescape(Rtnametattrstvalue((s*/usr/lib64/python2.7/Demo/xml/roundtrip.pytstartElements'cCs|jjd|�dS(Ns</%s>(RR	(RR((s*/usr/lib64/python2.7/Demo/xml/roundtrip.pyt
endElementscCs|jjtj|��dS(N(RR	RR(Rtcontent((s*/usr/lib64/python2.7/Demo/xml/roundtrip.pyt
characters scCs|jj|�dS(N(RR	(RR((s*/usr/lib64/python2.7/Demo/xml/roundtrip.pytignorableWhitespace#scCs|jjd||f�dS(Ns	<?%s %s?>(RR	(Rttargettdata((s*/usr/lib64/python2.7/Demo/xml/roundtrip.pytprocessingInstruction&s(t__name__t
__module__tsyststdoutRR
RRRRR(((s*/usr/lib64/python2.7/Demo/xml/roundtrip.pyRs					t__main__i(
t__doc__Rtxml.saxRRRRRRtparsertsetContentHandlertparsetargv(((s*/usr/lib64/python2.7/Demo/xml/roundtrip.pyt<module>s	

Zerion Mini Shell 1.0