|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21573/root/usr/lib/python2.4/site-packages/elementtree/ |
Upload File : |
mò
þhAc @ s d k Z d k Z d k Z d e i f d „ ƒ YZ e i d „ Z e d j oÅ d k Z e ƒ Z d Z
e i e
ƒ e i ƒ Z
g Z e
i d ƒ Z e d j o e i d ƒ n e d j o! e i d ƒ o e i d ƒ n e o# d
GHx e D] Z d Ge GHqõ Wqd GHn d S(
Nt TreeBuilderc B sG t Z d d „ Z d „ Z d „ Z d „ Z e Z d „ Z d „ Z RS( Ni c C sJ t i ƒ | _ | o d k } | i i | i ƒ n t i i
| ƒ d S( N( t ElementTreeR t selft _TreeBuilder__buildert htmlt htmlentitydefst
entitydefst updatet xmllibt XMLParsert __init__( R R R ( ( tD /usr/lib/python2.4/site-packages/elementtree/SimpleXMLTreeBuilder.pyR
G s
c C s t i i | | ƒ d S( N( R R t feedR t data( R R
( ( R R S s c C s t i i | ƒ | i i ƒ S( N( R R t closeR R ( R ( ( R R \ s c C s | i i | ƒ d S( N( R R R
( R R
( ( R t handle_data` s c C sP h } x* | i ƒ D] \ } } | | t | ƒ <q W| i i t | ƒ | ƒ d S( N(
t attribt attrst itemst keyt valuet fixnameR R t startt tag( R R R R R R ( ( R t unknown_starttage s
c C s | i i t | ƒ ƒ d S( N( R R t endR R ( R R ( ( R t unknown_endtagk s ( t __name__t
__module__R
R R R t handle_cdataR R ( ( ( R R E s c C s/ d | j o | Sn d t | | d d ƒ ƒ S( Nt s {%s}%si ( t namet tuplet split( R R! ( ( R R o s
t __main__sL <root xmlns='default'>
<tag attribute='value' />
</root>
s {default}tags namespaces not supporteds {default}attributes2 default namespace applied to unqualified attributes4 xmllib doesn't work properly in this Python version:t -s, congratulations; no problems found in xmllib( R t stringR R R R! R R t syst pt textR R t treet statust findR t Nonet appendt gett bug( R) R$ R R' R( R R% R&