Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
site-packages
/
_xmlplus
/
utils
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/site-packages/_xmlplus/utils/qp_xml.pyo
mò xùžNc @ s¯ d k Z y d k Z Wn e j o d k l Z n Xe d Z d f d „ ƒ YZ d „ Z d „ Z d Z d f d „ ƒ YZ d „ Z d „ Z d „ Z d d d „ Z d S( N( s pyexpats .errort Parserc B sP t Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( Nc C s | i ƒ d S( N( t selft reset( R ( ( t9 /usr/lib/python2.4/site-packages/_xmlplus/utils/qp_xml.pyt __init__ s c C s d | _ d | _ d S( N( t NoneR t roott cur_elem( R ( ( R R # s c C s\ | i } x7 | o/ | i i | ƒ o | i | Sn | i } q W| d j o d Sn d S( Nt ( R R t elemt ns_scopet has_keyt prefixt parentR ( R R R ( ( R t find_prefix' s c C sº t i | d ƒ } | d j o, | o | i d ƒ | f Sn d | f Sn t i | d ƒ d j o d | f Sn | i | | ƒ } | d j o t d | | ‚ n | | | d f S( Nt :iÿÿÿÿR i t xmls! namespace prefix ("%s") not foundi ( t stringt findt namet idxt use_defaultR R t lowert nsR t error( R R R R R ( ( R t process_prefix3 s c C s• t d | d d d d d g d h d h d d d d ƒ } | i o, | i | _ | i i i | ƒ | | _ n | | _ | _ g } x‹ | i ƒ D]} \ } } | d j o | | i d <q’ | d d j o | | i | d <q’ | d j o | | _ q’ | i | | f ƒ q’ W| i d j o | i o | i i | _ n | i | i d ƒ \ | _ | _ x- | D]% \ } } | | i | i | d ƒ <qhWd S( NR t langR t childrenR t attrst first_cdataR t following_cdatat xmlnsi s xmlns:s xml:langi i ( t _elementR R R R R R R t appendR t work_attrsR t itemst valueR R R R ( R R R R"