Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
site-packages
/
elementtree
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/site-packages/elementtree/SimpleXMLTreeBuilder.pyo
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&