+
     hb] c                   s1   ^ RI t ^ RIt^ RIt ! R R]4      tR tR t ! R R]4      t ! R R	]4      t ! R
 R]4      t	 ! R R]4      t
 ! R R4      t ! R R]4      t ! R R]4      t ! R R4      t ! R R4      t ! R R4      t ! R R4      tR tR tR t^t^t^t^t^t^t^t^tR t ! R  R!4      t ! R" R#4      t ! R$ R%4      t  ! R& R'4      t!R( t" ! R) R*4      t#R+ t$. t%R, t&R- t'R. t(R/ t)R0 t*R1 t+R2 t,R3 t-R4 t.R5 t/R6 t0R7 t1R8 t2R9 t3R: t4R; t5R< t6R= t7R> t8R? t9R@ t:RA t;RB t<RC t=RD t>RE t?RF t@RG tARH tBRI tCRJ tDRK tERL tFRM tGRN tHRO tIRP tJRQ tKRR tLRS tMRT tNRU tORV tPRW tQRX tRRY tSRZ tTR[ tUR\ tVR] tWR^ tXR_ tYR` tZRa t[Rb t\Rc t]Rd t^Re t_Rf t`Rg taRh tbRi tcRj tdRk teRl tfRm tgRn thRo tiRp tjRq tkRr tlRs tmRt tnRu toRv tpRw tqRx trRy tsRz ttR{ tuR| tvR} twR~ txR tyR tzR t{R t|R t}R t~R tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tER  tER tER tER tER tER tER Et ER EtER EtER	 EtER
 EtER EtER EtER EtER EtER Et	ER Et
ER EtER EtER EtER EtER EtER EtER EtER EtER EtER EtER EtER EtER EtER EtER EtER  EtER! EtER" EtER# EtER$ EtER% EtER& Et ER' Et!ER( Et"ER) Et#ER* Et$ER+ Et%ER, Et&ER- Et'ER. Et(ER/ Et)ER0 Et*ER1 Et+ER2 Et,ER3 Et-ER4 Et.ER5 Et/ER6 Et0ER7 Et1ER8 Et2ER9 Et3ER: Et4ER; Et5ER< Et6ER= Et7ER> Et8ER? Et9ER@ Et:ERA Et;ERB Et<ERC Et=ERD Et>ERE Et?ERF Et@ERG EtAERH EtBERI EtCERJ EtDERK EtEERL EtFERM EtGERN EtHERO EtIERP EtJERQ EtKERR EtLERS EtMERT EtNERU EtOERV EtPERW EtQERX EtRERY EtSERZ EtTER[ EtUER\ EtVER] EtWER^ EtXER_ EtYER` EtZERa Et[ERb Et\ERc Et]ERd Et^ERe Et_ERf Et`ERg EtaERh EtbERi EtcERj EtdERk EteERl EtfERm EtgERn EthERo EtiERp EtjERq EtkERr EtlERs EtmERt EtnERu EtoERv EtpERw EtqERx EtrERy EtsERz EttER{ EtuER| EtvER} EtwER~ EtxER EtyER EtzER Et{ER Et|ER Et}ER Et~ER EtER EtER EtER EtER EtER EtER EtER EtER EtER EtER EtER EtER EtER EtER EtER Et ! ER ER]4      Et ! ER ERE]4      Et ! ER ER4      Et ! ER ER]4      Et ! ER ERE]4      Et ! ER ERE]4      Et ! ER ER4      Et ! ER ERE]4      Et ! ER ERE]4      Et ! ER ERE]4      Et ! ER ERE]4      Et ! ER ER]4      Et ! ER ER]4      Et ! ER ER4      Et ! ER ER4      Et ! ER ER4      Et ! ER ER]!4      Et ! ER ER4      Et ! ER ER4      Et ! ER ER] 4      Et ! ER ER4      Et ! ER ER]#4      Et ! ER ER4      Et ! ER ER]4      Et ! ER ER4      Et ! ER ER4      Et^ Et^Et^Et^Et^Et^Et^Et^ Et^@Et^EtEREtEREtEREtEREtEREt^ Et^Et^Et^ Et^Et^Et^Et^ Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^	Et^
Et^Et^Et^Et^Et^Et^Et^Et^Et^	Et^
Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^ Et^Et^Et^Et^Et^Et^Et^Et^Et^	Et^
Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et ^Et^Et^Et^Et^Et^Et^Et^Et^Et	^Et
^ Et^!Et^"Et^#Et^$Et^%Et^&Et^'Et^(Et^)Et^*Et^+Et^,Et^-Et^.Et^/Et^0Et^1Et^2Et^3Et^4Et^5Et ^6Et!^7Et"^8Et#^9Et$^:Et%^;Et&^<Et'^=Et(^>Et)^?Et*^@Et+^AEt,^BEt-^CEt.^DEt/^EEt0^FEt1^GEt2^HEt3^IEt4^JEt5^KEt6^LEt7^MEt8^NEt9^OEt:^PEt;^QEt<^REt=^SEt>^TEt?^UEt@^VEtA^WEtB^XEtC^YEtD^ZEtE^[EtF^\EtG^]EtH^^EtI^_EtJ^`EtK^aEtL^bEtM^cEtN^dEtO^eEtP^fEtQ^gEtR^hEtS^iEtT^jEtU^kEtV^lEtW^mEtX^nEtY^oEtZ^pEt[^qEt\^Et]^Et^^Et_^Et`^Eta^EtbEREtcEREtdEREteEREtfEREtgEREthEREtiEREtjEREtkEREtlEREtmEREtnEREtoEREtpEREtqEREtrEREtsEREttEREtuEREtvEREtwEREtxEREtyEREtzEREt{EREt|EREt}EREt~EREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtER EtEREtEREtEREtEREtEREtEREtEREtEREtER	EtER
EtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtER EtER!EtER"EtER#EtER$EtER%EtER&EtER'EtER(EtER)EtER*EtER+EtER,EtER-EtER.EtER/EtER0EtER1EtER2EtER3EtER4EtER5EtER6EtER7EtER8EtER9EtER:EtER;EtER<EtER=EtER>EtER?EtER@EtERAEtERBEtERCEtERDEtEREEtERFEtERGEtERHEtERIEtERJEtERKEtERLEtERMEtERNEtEROEtERPEtERQEtERREtERSEtERTEtERUEtERVEtERWEtERXEtERYEtERZEtER[EtER\EtER]EtER^EtER_EtER`EtERaEtERbEtERcEtERdEtEReEtERfEtERgEtERhEtERiEtERjEtERkEt ERlEtERmEtERnEtERoEtERpEtERqEtERrEtERsEtERtEt	ERuEt
ERvEtERwEtERxEtERyEtERzEtER{EtER|EtER}EtER~EtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREt EREt!EREt"EREt#EREt$EREt%EREt&EREt'EREt(EREt)EREt*EREt+EREt,EREt-EREt.EREt/EREt0EREt1EREt2EREt3EREt4EREt5EREt6EREt7EREt8EREt9EREt:EREt;EREt<EREt=EREt>EREt?EREt@EREtAEREtBEREtCEREtDEREtEEREtFEREtGEREtHEREtIEREtJEREtKEREtLEREtMEREtNEREtOEREtPEREtQEREtREREtSEREtTEREtUEREtVEREtWEREtXEREtYEREtZEREt[EREt\EREt]EREt^EREt_EREt`EREtaEREtbEREtcEREtdEREteEREtfEREtgEREthEREtiEREtjEREtkEREtlEREtmEREtnEREtoEREtpEREtqEREtrEREtsEREttEREtuEREtvEREtwEREtxEREtyEREtzEREt{EREt|EREt}EREt~EREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtER EtEREtEREtEREtEREtEREtEREtEREtEREtER	EtER
EtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtER EtER!EtER"EtER#EtER$EtER%EtER&EtER'EtER(EtER)EtER*EtER+EtER,EtER-EtER.EtER/EtER0EtER1EtER2EtER3EtER4EtER5EtER6EtER7EtER8EtER9EtER:EtER;EtER<EtER=EtER>EtER?EtER@EtERAEtERBEtERCEtERDEtEREEtERFEtERGEtERHEtERIEtERJEtERKEtERLEtERMEtERNEtEROEtERPEtERQEtERREtERSEtERTEtERUEtERVEtERWEtERXEtERYEtERZEtER[EtER\EtER]EtER^EtER_EtER`EtERaEtERbEtERcEtERdEtEReEtERfEtERgEtERhEtERiEtERjEtERkEt ERlEtERmEtERnEtERoEtERpEtERqEtERrEtERsEtERtEt	ERuEt
ERvEtERwEtERxEtERyEtERzEtER{EtER|EtER}EtER~EtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREt EREt!EREt"EREt#EREt$EREt%EREt&EREt'EREt(EREt)EREt*EREt+EREt,EREt-EREt.EREt/EREt0EREt1EREt2EREt3EREt4EREt5EREt6EREt7EREt8EREt9EREt:EREt;EREt<EREt=EREt>EREt?EREt@EREtAEREtBEREtCEREtDEREtEEREtFEREtGEREtHEREtIEREtJEREtKEREtLEREtMEREtNEREtOEREtPEREtQEREtREREtSEREtTEREtUEREtVEREtWEREtXEREtYEREtZEREt[EREt\EREt]EREt^EREt_EREt`EREtaEREtbEREtcEREtdEREteEREtfEREtgEREthEREtiEREtjEREtkEREtlEREtmEREtnEREtoEREtpEREtqEREtrEREtsEREttEREtuEREtvEREtwEREtxEREtyEREtzEREt{EREt|EREt}EREt~EREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtER EtEREtEREtEREtEREtEREtEREtEREtEREtER	EtER
EtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtEREtER EtER!EtER"EtER#EtER$EtER%EtER&EtER'EtER(EtER)EtER*EtER+EtER,EtER-EtER.EtER/EtER0EtER1EtER2EtER3EtER4EtER5EtER6Et^ Et^Et^Et^ Et^Et^Et^Et^ Et^Et^EtER@Et^ Et^Et^Et^Et^Et^Et^Et^Et^Et^	Et^
Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^ Et^@Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^ Et^Et^Et ^Et^EtERAEtERBEtERCEtERDEtER@Et^ Et^ Et	^Et
^Et^Et^ Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^ Et^Et^Et^Et^Et^Et^Et^Et ^Et!^	Et"^
Et#^Et$^Et%^Et&^Et'^Et(^Et)^Et*^Et+^Et,^Et-^Et.^Et/^Et0^Et1^Et2^Et3^Et4^Et5^Et6^Et7^Et8^Et9ER@Et:^ Et;^Et<^Et=^Et>^Et?^Et@^EtA^EtB^EtC^	EtD^
EtE^EtF^EtG^EtH^EtI^EtJ^EtK^EtL^EtM^EtN^EtO^EtP^EtQ^EtR^EtS^EtT^EtU^EtV^EtW^EtX^EtY^ EtZ^@Et[^Et\EREt]EREt^EREt_EREt`ER7EtaEREtbER8EtcER9EtdEREteER:EtfER;EtgER<EthER=EtiEREtjER>Etk^ Etl^Etm^Etn^Eto^Etp^Etq^ Etr^Ets^Ett^Etu^ Etv^Etw^Etx^Ety^Etz^Et{^Et|^Et}^Et~^	Et^
Et^Et^Et^Et^Et^Et^Et^Et^ Et^Et^Et^ Et^Et^Et^Et^Et^Et^Et^Et^Et^	Et^
Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^ Et^!Et^"Et^#Et^$Et^%Et^&Et^'Et^Et^Et^Et^Et^Et^ Et^@Et^Et^ Et^Et^Et^Et^Et^Et^Et^Et^Et^	Et^
Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^ Et^!Et^"Et^#Et^$Et^%Et^&Et^'Et^(Et^)Et^*Et^+Et^,Et^-Et^.Et^ Et^Et^Et^Et^Et^Et^Et^Et^Et^	Et^
Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et ^Et^Et^Et^Et^Et^Et^EtEREtEREt	EREt
^ Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^	Et^
Et^Et^Et^Et^Et ^Et!^Et"^Et#^Et$^Et%^Et&^Et'^Et(^Et)^Et*^Et+^Et,EREt-EREt.EREt/EREt0EREt1ER Et2EREt3EREt4EREt5EREt6EREt7EREt8EREt9EREt:^Et;^ Et<^Et=^Et>^Et?^ Et@^EtA^EtB^EtC^EtD^EtE^EtF^EtG^EtH^EtI^EtJ^EtK^EtL^EtM^	EtN^
EtO^EtP^EtQ^EtR^EtS^EtT^EtU^EtV^EtW^EtX^EtY^EtZ^Et[^Et\^Et]^Et^^Et_^Et`^Eta^Etb^Etc^Etd^ Ete^!EtfER?Etg^ Eth^Eti^Etj^Etk^Etl^Etm^Etn^Eto^Etp^	Etq^ Etr^Ets^Ett^Etu^Etv^Etw^Etx^Ety^Etz^	Et{^
Et|^Et}^Et~^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^Et^EtR# (E      Nc                   s    ] tR t^tRtR# )libxmlError N)__name__
__module____qualname____firstlineno____static_attributes__r       ,/usr/lib/python3.14/site-packages/libxml2.pyr   r      s    dr   r   c                 sj     \        \        4      P                  pVR 8w  d
   VR8w  d   ^# ^ #     ^ # ; i)Z	PyCObject	PyCapsule)type_objr   )Zobjn   & r	   checkWrapperr   	   s7    J[ 0 s   '- 2c                 sX    \        V 4      pV^ 8  d   \        P                  V,
          # V# r    )ZidsysZmaxsize)oZir   r	   pos_idr      s%    
1A	Aa Hr   c                   s,   a  ] tR t^t o R tR tRtV tR# )	treeErrorc                    Wn         R # Nmsgselfr      &&r	   __init__ZtreeError.__init__       r   c                    V P                   # r   r   r      &r	   __str__ZtreeError.__str__!       xxr   r   Nr   r   r   r   r   r!   r   __classdictcell__Z__classdict__   @r	   r   r            r   r   c                   s,   a  ] tR t^$t o R tR tRtV tR# )parserErrorc                r   r   r   r   r   r	   r   ZparserError.__init__%   r   r   c                r   r   r   r   r    r	   r!   ZparserError.__str__'   r"   r   r   Nr#   r%   r&   r	   r(   r(   $   r'   r   r(   c                   s,   a  ] tR t^*t o R tR tRtV tR# )uriErrorc                r   r   r   r   r   r	   r   ZuriError.__init__+   r   r   c                r   r   r   r   r    r	   r!   ZuriError.__str__-   r"   r   r   Nr#   r%   r&   r	   r)   r)   *   r'   r   r)   c                   s,   a  ] tR t^0t o R tR tRtV tR# )
xpathErrorc                r   r   r   r   r   r	   r   ZxpathError.__init__1   r   r   c                r   r   r   r   r    r	   r!   ZxpathError.__str__3   r"   r   r   Nr#   r%   r&   r	   r*   r*   0   r'   r   r*   c                   sF   a  ] tR t^6t o R tR tR tRR ltRR ltRt	V t
R# )		ioWrapperc                s     Wn         R V n        R # r   )_ioWrapper__io_or   r   r   r	   r   ZioWrapper.__init__7   s    	r   c                sn    V P                   R 8X  d   R# V P                   P                  4        R V n         ^ # N)r,   closer   r    r	   io_closeZioWrapper.io_close;   s+    99J			r   c                s`    V P                   R 8X  d   R# V P                   P                  4        ^ # r/   )r,   flushr   r    r	   io_flushZioWrapper.io_flushB   s$    99J		r   c                s~   V P                   R 8X  d   R#  V^ 8  d   V P                   P                  4       pV# V P                   P                  V4      p V#   \         d\    ^ R IpTP                  ! 4       ^,          p\        R\        T4      4       \        RT P                   4       T P                   R 8H   Ru # i ; i)Nzfailed to read from Python:zon IO:r0   )r,   read	Exceptionr   Zexc_infoprintr   )r   lenretr   Ze   &&   r	   io_readZioWrapper.io_readH   s    99J	Qwiinn&  iinnS)   	q!A/a9(DII&IIJ	s   !A A A#B<;B<c                s    V P                   R 8X  d   R# V^ 8  d   V P                   P                  V4      # V P                   P                  W4      # r/   )r,   write)r   strr8      &&&r	   io_writeZioWrapper.io_writeZ   s@    99J799??3'(yys()r   )Z__ior-   N)r0   )r   r   r   r   r   r2   r4   r;   r?   r   r$   r%   r&   r	   r+   r+   6   s#     $* *r   r+   c                   s6   a  ] tR t^at o RR ltR tR tRtV tR# )ioReadWrapperc                sf    \         P                  W4       \        P                  ! W4      V n        R # r   )r+   r   
libxml2modxmlCreateInputBufferr-   )r   r   encr>   r	   r   ZioReadWrapper.__init__b   s"    4&11$<r   c                s    \        R 4       V P                  4        V P                  R8w  d!   \        P                  ! V P                  4       RV n        R# )__del__N)r7   r2   r-   rA   xmlFreeParserInputBufferr   r    r	   rD   ZioReadWrapper.__del__f   s7    i77d?//8r   c                    V P                  4        V P                  R 8w  d!   \        P                  ! V P                  4       R V n        R # r   )r2   r-   rA   rE   r   r    r	   r1   ZioReadWrapper.closem   s/    77d?//8r   r-   N )	r   r   r   r   r   rD   r1   r   r$   r%   r&   r	   r@   r@   a   s     = r   r@   c                   s<   a  ] tR t^st o RR ltR tR tR tRtV t	R# )ioWriteWrapperc                s   \        V4      \        R 4      8X  d   \        R4       RV n        R# \        V4      P                  R8X  dQ   \        P
                  ! V4      pVR8w  d   \        P                  W4       M\        P                  W4       Wn        R# \        P
                  ! V4      pVR8w  d   \        P                  W4       M\        P                  W4       Wn        R# )rI   zwrite io from a stringNr
   )	r   r7   r   r   rA   ZoutputBufferGetPythonFiler+   r   r-   )r   r   rC   file   &&& r	   r   ZioWriteWrapper.__init__t   s    :b!*+DF$Z  K/77=Dt|""4.""4.G 77=Dt|""4.""4.Gr   c                rF   r   )r2   r-   rA   xmlOutputBufferCloser   r    r	   rD   ZioWriteWrapper.__del__   s/    77d?++DGG4r   c                rF   r   r4   r-   rA   rM   r   r    r	   r3   ZioWriteWrapper.flush   /    77d?++DGG4r   c                rF   r   rN   r   r    r	   r1   ZioWriteWrapper.close   rO   r   )r-   r   NrH   )
r   r   r   r   r   rD   r3   r1   r   r$   r%   r&   r	   rJ   rJ   s   s     0 r   rJ   c                   s   a  ] tR t^t o RtR tR tR tR tR t	R t
R tR	 tR
 tR tR tR tR tR tR tR tR tR tR tR tRtV tR# )SAXCallbackzBase class for SAX handlersc                    R# )z#called at the start of the documentNr   r   r    r	   startDocumentZSAXCallback.startDocument       r   c                rQ   )z!called at the end of the documentNr   r   r    r	   endDocumentZSAXCallback.endDocument   rS   r   c                rQ   )zwcalled at the start of every element, tag is the name of
the element, attrs is a dictionary of the element's attributesNr   )r   tagZattrsr>   r	   startElementZSAXCallback.startElement        	r   c                rQ   )zDcalled at the start of every element, tag is the name of
the elementNr   )r   rU   r   r	   
endElementZSAXCallback.endElement   rW   r   c                rQ   )zcalled when character data have been read, data is the string
containing the data, multiple consecutive characters() callback
are possible.Nr   r   datar   r	   
charactersZSAXCallback.characters        	r   c                rQ   )zcalled when CDATA section have been read, data is the string
containing the data, multiple consecutive cdataBlock() callback
are possible.Nr   rY   r   r	   
cdataBlockZSAXCallback.cdataBlock   r\   r   c                rQ   )z.called when an entity reference has been foundNr   r   namer   r	   	referenceZSAXCallback.reference   rS   r   c                rQ   )z>called when potentially ignorable white spaces have been foundNr   rY   r   r	   ignorableWhitespaceZSAXCallback.ignorableWhitespace   rS   r   c                rQ   )zfcalled when a PI has been found, target contains the PI name and
data is the associated data in the PINr   )r   targetrZ   r>   r	   processingInstructionZ!SAXCallback.processingInstruction   rW   r   c                rQ   )zBcalled when a comment has been found, content contains the commentNr   r   contentr   r	   commentZSAXCallback.comment   rS   r   c                rQ   )zcalled when a DOCTYPE declaration has been found, name is the
DTD name and externalID, systemID are the DTD public and system
identifier for that DTd if availableNr   r   r_   
externalIDsystemID   &&&&r	   externalSubsetZSAXCallback.externalSubset   r\   r   c                rQ   )zcalled when a DOCTYPE declaration has been found, name is the
DTD name and externalID, systemID are the DTD public and system
identifier for that DTD if availableNr   rg   rj   r	   internalSubsetZSAXCallback.internalSubset   r\   r   c                rQ   )zcalled when an ENTITY declaration has been found, name is the
entity name and externalID, systemID are the entity public and
system identifier for that entity if available, type indicates
the entity type, and content reports it's string contentNr   )r   r_   r   rh   ri   re   s   &&&&&&r	   
entityDeclSAXCallback.entityDecl       
 	r   c                rQ   )zcalled when an NOTATION declaration has been found, name is the
notation name and externalID, systemID are the notation public and
system identifier for that notation if availableNr   rg   rj   r	   notationDeclZSAXCallback.notationDecl   r\   r   c                rQ   )z2called when an ATTRIBUTE definition has been foundNr   )r   elemr_   r   ZdefiZdefaultValueZnameLists   &&&&&&&r	   attributeDeclZSAXCallback.attributeDecl   rS   r   c                rQ   )z0called when an ELEMENT definition has been foundNr   )r   r_   r   re   rj   r	   elementDeclZSAXCallback.elementDecl   rS   r   c                rQ   )zcalled when an unparsed ENTITY declaration has been found,
name is the entity name and publicId,, systemID are the entity
public and system identifier for that entity if available,
and notationName indicate the associated NOTATIONNr   )r   r_   ZpublicIdri   notationName   &&&&&r	   rm   rn      ro   r   c                    R # r   r   r   r   r	   warningZSAXCallback.warning   rS   r   c                    \        V4      hr   r(   r   r   r	   errorZSAXCallback.error       #r   c                rx   r   ry   r   r   r	   
fatalErrorZSAXCallback.fatalError  r{   r   r   N)r   r   r   r   Z__doc__rR   rT   rV   rX   r[   r]   r`   ra   rc   rf   rk   rl   rm   rp   rr   rs   rw   rz   r|   r   r$   r%   r&   r	   rP   rP      sq     %


 r   rP   c                   s  a  ] tR tRt o R*R ltR tR tR tR tR t	R	 t
R
 tR tR tR tR t]tR tR tR t^ RIt]! ]P,                  R,          4      R8  d   R tMn]! ]	RRR4      t]! ]
RRR4      t]! ]RRR4      t]! ]RRR4      t]! ]RRR4      t]! ]RRR4      t]! ]RRR4      t]! ]RRR4      t ]! ]RRR4      t!]! ]RRR4      t"R+R lt#R+R  lt$R,R! lt%R,R" lt&R# t'R$ t(R% t)R& t*R' t+]*t,R( t-R)t.V t/R# )-xmlCorei  Nc                2    VR 8w  d	   Wn         R # R V n         R # r   rG   r.   r   r	   r   ZxmlCore.__init__      4<Gr   c                s    VR 8X  d   R# \         P                  ! V P                  VP                  4      pVR 8X  d   R# VR8H  # )NFTrA   ZcompareNodesEqualr-   r   Zotherr9      && r	   __eq__ZxmlCore.__eq__  s:    D=**477EHH=$;d{r   c                sx    VR 8X  d   R# \         P                  ! V P                  VP                  4      pV'       * # )NTr   r   r   r	   __ne__ZxmlCore.__ne__  s-    D=**477EHH=wr   c                F    \         P                  ! V P                  4      pV# r   )rA   ZnodeHashr-   r   r9   r   r	   __hash__ZxmlCore.__hash__  s    !!$''*
r   c                s"    V P                  4       # r   )	serializer   r    r	   r!   ZxmlCore.__str__"  s    ~~r   c                j    \         P                  ! V P                  4      pVR 8X  d   R # \        V4      # r   )rA   parentr-   nodeWrapr   r   r	   
get_parentZxmlCore.get_parent$  s*    ($;}r   c                r   r   )rA   childrenr-   r   r   r   r	   get_childrenZxmlCore.get_children)  s*    !!$''*$;}r   c                r   r   )rA   lastr-   r   r   r   r	   get_lastZxmlCore.get_last.  (    oodgg&$;}r   c                r   r   )rA   nextr-   r   r   r   r	   get_nextZxmlCore.get_next3  r   r   c                sl    \         P                  ! V P                  4      pVR 8X  d   R # \        VR7      # Nr   )rA   
propertiesr-   xmlAttrr   r   r	   get_propertiesZxmlCore.get_properties8  s+    ##DGG,$;C  r   c                r   r   )rA   prevr-   r   r   r   r	   get_prevZxmlCore.get_prev=  r   r   c                B    \         P                  ! V P                  4      # r   rA   xmlNodeGetContentr-   r   r    r	   get_contentZxmlCore.get_contentB  s    ++DGG44r   c                r   r   )rA   r_   r-   r   r    r	   get_nameZxmlCore.get_nameE      tww''r   c                r   r   )rA   r   r-   r   r    r	   get_typeZxmlCore.get_typeG  r   r   c                s    \         P                  ! V P                  4      pVR 8X  d*   V P                  R9   d   \	        V P                  R7      # R # \	        VR7      # )Nr   )document_xmldocument_html)rA   docr-   r   xmlDocr   r   r	   get_docZxmlCore.get_docI  sE    nnTWW%$;yy==477++3r   :r    i   Ng@c                s   VR 8X  d5   \         P                  ! V P                  4      pVR8X  d   R# \        V4      # VR8X  d6   \         P                  ! V P                  4      pVR8X  d   R# \        VR7      # VR8X  d5   \         P                  ! V P                  4      pVR8X  d   R# \        V4      # VR8X  d5   \         P                  ! V P                  4      pVR8X  d   R# \        V4      # VR8X  d5   \         P                  ! V P                  4      pVR8X  d   R# \        V4      # VR8X  d5   \         P                  ! V P                  4      pVR8X  d   R# \        V4      # VR8X  d!   \         P                  ! V P                  4      # VR	8X  d!   \         P                  ! V P                  4      # VR
8X  d!   \         P                  ! V P                  4      # VR8X  dn   \         P                  ! V P                  4      pVR8X  d;   V P                  R8X  g   V P                  R8X  d   \        V P                  R7      # R# \        VR7      # \        V4      h)r   Nr   r   r   r   r   r   re   r_   r   r   r   r   )rA   r   r-   r   r   r   r   r   r   r   r   r_   r   r   r   ZAttributeError)r   attrr9   r   r	   __getattr__ZxmlCore.__getattr__W  s   x ''0$;}$% ++DGG4$;C((# ))$''2$;}$ oodgg.$;}$ oodgg.$;}$ oodgg.$;}$"!33DGG<<!tww//!tww// nnTWW-$;yyN2dii?6R%47733#3'' &&r   zParent nodezFirst child nodezLast sibling nodezNext sibling nodezPrevious sibling nodezList of propertieszContent of this nodez	Node namez	Node typez!The document this node belongs toc                sD    \         P                  ! V P                  W4      # r   )rA   ZserializeNoder-   )r   encodingformatr>   r	   r   ZxmlCore.serialize  s    ''BBr   c                sF    \         P                  ! V P                  WV4      # r   )rA   Z
saveNodeTor-   )r   rK   r   r   rj   r	   saveToZxmlCore.saveTo  s    $$TWWdfEEr   c                s    V'       d   V Uu. uF  qUP                   NK  	  pp\        P                  ! V P                  4       P                   VV^ 8g  VV^ 8g  4      # u upi r   )r-   rA   ZxmlC14NDocDumpMemoryr   )r   nodes	exclusiveprefixeswith_commentsr      &&&&& r	   
c14nMemoryZxmlCore.c14nMemory  sY    
 #()5aTT5E)..LLNNQ  	  *s   Ac                s    V'       d   V Uu. uF  qfP                   NK  	  pp\        P                  ! V P                  4       P                   VV^ 8g  VV^ 8g  V4      # u upi r   )r-   rA   ZxmlC14NDocSaveTor   )r   rK   r   r   r   r   r      &&&&&& r	   
c14nSaveToZxmlCore.c14nSaveTo  s\     #()5aTT5E)**LLNNQ 	 *s   Ac                s    V P                   pVR 8X  d   R # VP                  4       pVP                  V 4       VP                  V4      pVP	                  4        V# r   )r   xpathNewContextsetContextNode	xpathEvalxpathFreeContext)r   exprr   ctxtZresr:   r	   r   ZxmlCore.xpathEval  sP    hh$;""$D!nnT"
r   c                s$    V P                  V4      # r   )r   )r   r   r   r	   
xpathEval2ZxmlCore.xpathEval2  s    ~~d##r   c                l    \         P                  ! V P                  V4      pVf   R# \        VR7      pV# )a  
Remove a namespace definition from a node.  If href is None,
remove all of the ns definitions on that node.  The removed
namespaces are returned as a linked list.

Note: If any child nodes referred to the removed namespaces,
they will be left with dangling links.  You should call
renconciliateNs() to fix those pointers.

Note: This method does not free memory taken by the ns
definitions.  You will need to free it manually with the
freeNsList() method on the returns xmlNs object.
Nr   )rA   ZxmlNodeRemoveNsDefr-   xmlNs)r   hrefr9   Z_xmlCore__tmp   &&  r	   removeNsDefZxmlCore.removeNsDef  s/     ++DGGT:;d3r   c                    \        V 4      # r   )xmlCoreDepthFirstItertorr   r    r	   walk_depth_firstZxmlCore.walk_depth_first  s    '--r   c                r   r   )xmlCoreBreadthFirstItertorr   r    r	   walk_breadth_firstZxmlCore.walk_breadth_first   s    )$//r   c                s     V P                   P                  P                  4        \        P                  ! T P
                  4       R #     L&; ir   )r   Z_ctxtr   rA   
xmlFreeDocr-   r   r    r	   freeZxmlCore.free  s9    	HHNN++- 	dgg&	s   $A ArG   r   )Nr    )Nr    Nr    )0r   r   r   r   r   r   r   r   r!   r   r   r   r   r   r   r   
getContentr   r   r   r   Zfloatversionr   Zpropertyr   r   r   r   r   r   re   r_   r   r   r   r   r   r   r   r   r   r   r   __iter__r   r   r$   r%   r&   r	   r}   r}     s]    
 



!

5J((  S[[$-	'^ *dD-@L$6HI$.AB$.AB$.EFndD:NO
;d4JK$k:$k:wd,OPCF  (6$*.0H' 'r   r}   c                   6   a  ] tR tRt o R tR tR t]tRtV t	R# )r     c                     Wn         . V n        R # r   nodeparentsr   r   r   r	   r   Z!xmlCoreDepthFirstItertor.__init__      	r   c                    V # r   r   r   r    r	   r   Z!xmlCoreDepthFirstItertor.__iter__      r   c                J    V P                   '       dO   V P                   pV P                  P                  V P                   4       V P                   P                  V n         V#  V P                  P	                  4       pTP                  T n         K    \
         d    \        hi ; ii   )r   r   appendr   pop
IndexErrorStopIterationr   r   r9   r      &  r	   __next__Z!xmlCoreDepthFirstItertor.__next__  s~    yyyii##DII. II..	
$))+ DI  $##$   #B B"r   N
r   r   r   r   r   r   r   r   r   r$   r%   r&   r	   r   r     s     $ Dr   r   c                   r   )r   i&  c                r   r   r   r   r   r	   r   Z#xmlCoreBreadthFirstItertor.__init__'  r   r   c                r   r   r   r   r    r	   r   Z#xmlCoreBreadthFirstItertor.__iter__*  r   r   c                r   r   )r   r   r   r   r   r   r   r   r   r   r	   r   Z#xmlCoreBreadthFirstItertor.__next__,  s|    yyyii##DII. IINN	
$))+ DI  $##$r   r   Nr   r%   r&   r	   r   r   &  s     ( Dr   r   c                 s   \         P                  ! V 4      pVR 8X  g   VR8X  d   \        V R7      # VR8X  d   \        V R7      # VR,          R8X  d   \	        V R7      # VR8X  d   \        V R7      # VR8X  d   \        V R7      # VR8X  d   \        V R7      # VR	8X  d   \        V R7      # VR
8X  d   \        V R7      # \        V R7      # )ZelementZtextr   Z	attribute:r    i   NZdocumentZ	namespaceZ	elem_declZattribute_declZentity_decldtd)
rA   r   xmlNoder   r   r   
xmlElementxmlAttribute	xmlEntityxmlDtd)r   r_   r   r	   r   r   =  s    ??1DyDFNA{ACyJ1~{!}{q!!##}a  u}1~?r   c                 sP   \        V 4      pV\        . 4      8X  d   \        \        \        V 4      4      pV# V\        R4      8X  d%   \        \        \        V 4      4      p\	        V4      # V\        R 4      8X  g!   V\        ^ 4      8X  g   V\        R4      8X  d   V # \        V 4      # )rI   g        r   )r   listZmapxpathObjectRetZtupler   )r   Zotyper9   r   r	   r   r   R  s    GER3~q)*
	$r(	3~q)*Sz	$r(	etAw.%492D{r   c                 s4    \         P                  ! WW#4      pR # r   )rA   xmlRegisterXPathFunction)r   r_   ns_urifr9      &&&& r	   registerXPathFunctionr   b  s    

-
-d&
DCr   c                s    ^ RI pRVP                  9  d   \        P                  ! W4      pV# ^ RIpVP                  W4      pV# )ziRegister a Python written function to for error reporting.
The function is called back as f(ctx, error). Nlibxslt)r   ZmodulesrA   ZxmlRegisterErrorHandlerr   registerErrorHandler)r   ctxr   r9   r   r:   r	   r   r   x  sD     #007 J 	**11Jr   c                   B   a  ] tR tRt o R	R ltR tR tR tR tRt	V t
R# )
parserCtxtCorei  Nc                r~   r   rG   r.   r   r	   r   ZparserCtxtCore.__init__  r   r   c                v    V P                   R 8w  d!   \        P                  ! V P                   4       R V n         R # r   r-   rA   ZxmlFreeParserCtxtr   r    r	   rD   ZparserCtxtCore.__del__  &    77d?((1r   c                H    \         P                  ! V P                  W4       R# )zxRegister an error handler that will be called back as
f(arg,msg,severity,reserved).

@reserved is currently always None.N)rA   ZxmlParserCtxtSetErrorHandlerr-   r   r   argr>   r	   setErrorHandlerZparserCtxtCore.setErrorHandler  s    
 	//>r   c                r   )LReturn (f,arg) as previously registered with setErrorHandler
or (None,None).)rA   ZxmlParserCtxtGetErrorHandlerr-   r   r    r	   getErrorHandlerZparserCtxtCore.getErrorHandler  s     66tww??r   c                sD    \         P                  ! V P                  V4      # )z(Register a local catalog with the parser)rA   addLocalCatalogr-   r   Zurir   r	   r   ZparserCtxtCore.addLocalCatalog  s    ))$''377r   rG   r   )r   r   r   r   r   rD   r   r   r   r   r$   r%   r&   r	   r   r     s$     
?@
8 8r   r   c                   0   a  ] tR tRt o R tRR ltRtV tR# )ValidCtxtCorei  c                rv   r   r   r   ZargsZkw   &*,r	   r   ZValidCtxtCore.__init__      r   Nc                J    \         P                  ! V P                  WV4       R# )za
Register error and warning handlers for DTD validation.
These will be called back as f(msg,arg)
N)rA   ZxmlSetValidErrorsr-   r   Zerr_funcZ	warn_funcr   rj   r	   setValidityErrorHandlerZ%ValidCtxtCore.setValidityErrorHandler  s    
 	$$TWWh3Gr   r   r   r   r   r   r   r   r  r   r$   r%   r&   r	   r   r     s     H Hr   r   c                   r   )SchemaValidCtxtCorei  c                rv   r   r   r   r   r	   r   ZSchemaValidCtxtCore.__init__  r   r   Nc                r  )zd
Register error and warning handlers for Schema validation.
These will be called back as f(msg,arg)
N)rA   ZxmlSchemaSetValidErrorsr-   r  rj   r	   r  Z+SchemaValidCtxtCore.setValidityErrorHandler  s    
 	**477HMr   r   r   r  r%   r&   r	   r  r    s     N Nr   r  c                   r   )relaxNgValidCtxtCorei  c                rv   r   r   r   r   r	   r   ZrelaxNgValidCtxtCore.__init__  r   r   Nc                r  )ze
Register error and warning handlers for RelaxNG validation.
These will be called back as f(msg,arg)
N)rA   ZxmlRelaxNGSetValidErrorsr-   r  rj   r	   r  Z,relaxNgValidCtxtCore.setValidityErrorHandler  s    
 	++DGGX#Nr   r   r   r  r%   r&   r	   r  r    s     O Or   r  c                s0    V w  rEV! WQV\        V4      4      # )z)Intermediate callback to wrap the locator)xmlTextReaderLocator)Zxxx_todo_changemer   ZseverityZlocatorr   r      &&&&  r	   _xmlTextReaderErrorFuncr	    s    GQSX27;<<r   c                   <   a  ] tR tRt o RR ltR tR tR tRtV t	R# )	xmlTextReaderCorei  Nc                s@    R V n         VR 8w  d	   Wn        R # R V n        R # r   )inputr-   r.   r   r	   r   ZxmlTextReaderCore.__init__  s    
4<$vr   c                r   r   r-   rA   ZxmlFreeTextReaderr   r    r	   rD   ZxmlTextReaderCore.__del__  r   r   c                s    Vf%   \         P                  ! V P                  RR4       R# \         P                  ! V P                  \        W34       R# )zRRegister an error handler that will be called back as
f(arg,msg,severity,locator).N)rA   ZxmlTextReaderSetErrorHandlerr-   r	  r   r>   r	   SetErrorHandlerZ!xmlTextReaderCore.SetErrorHandler  s@     933T# 33/9r   c                sV    \         P                  ! V P                  4      w  rVf   R# V# )r   )NN)rA   ZxmlTextReaderGetErrorHandlerr-   r   r   r	   GetErrorHandlerZ!xmlTextReaderCore.GetErrorHandler  s,     77@9 Jr   r-   r  r   )
r   r   r   r   r   rD   r  r  r   r$   r%   r&   r	   r  r    s     

9 r   r  c                  s0    \         P                  ! 4        R # r   rA   ZxmlPythonCleanupParserr   r   r	   cleanupParserr    s    %%'r   c                 sb    R  p\         P                  ! V4       \        P                  V 4       R# )c                 sR    \        \        4       F  pV! V 4      pVf   K  Vu # 	  R # r   )Zreversed__input_callbacks)URIZcbr   r   r	   findOpenCallbackZ/registerInputCallback.<locals>.findOpenCallback  s%    ,-B3A} .r   N)rA   ZxmlRegisterInputCallbackr  r   )Zfuncr  r   r	   registerInputCallbackr    s&    
 ''(89T"r   c                  s    \        \        4      ^ 8  d   \        P                  4        \        \        4      ^ 8X  d   \        P                  ! 4        R# R# )r    N)r8   r  r   rA   ZxmlUnregisterInputCallbackr   r   r	   popInputCallbacksr    s=     !
"--/ #r   c                d    \         P                  ! W4      pVf   \        R4      h\        VR7      # )Create a parser context for a file content. Automatic
support for ZLIB/Compress compressed document is provided
 by default if found at compile-time. z!htmlCreateFileParserCtxt() failedr   )rA   htmlCreateFileParserCtxtr(   
parserCtxtfilenamer   r9   r   r	   r  r    s/     
-
-h
AC
{%HII3r   c                r  )z8Create a parser context for an HTML in-memory document. z#htmlCreateMemoryParserCtxt() failedr   )rA   htmlCreateMemoryParserCtxtr(   r  buffersizer9   r   r	   r  r  !  s-    

/
/
=C
{%JKK3r   c                2    \         P                  ! V 4      pV# )zBSet and return the previous value for handling HTML omitted
tags. )rA   htmlHandleOmittedElemvalr9   r   r	   r#  r#  '  s     
*
*3
/CJr   c                 0    \         P                  ! 4        R# )zDEPRECATED: This is a no-op. N)rA   htmlInitAutoCloser   r   r	   r'  r'  -        "r   c                r"  )z0Check if an attribute is of content type Script )rA   htmlIsScriptAttributer_   r9   r   r	   r)  r)  1  s    

*
*4
0CJr   c                 b    \         P                  ! 4       p V f   \        R4      h\        V R7      # ).Allocate and initialize a new parser context. zhtmlNewParserCtxt() failedr   )rA   htmlNewParserCtxtr(   r  r9       r	   r-  r-  6  s+    

&
&
(C
{%ABB3r   c                r  )z3parse an HTML in-memory document and build a tree. zhtmlParseDoc() failedr   )rA   htmlParseDocr(   r   )curr   r9   r   r	   r0  r0  <  s-    

!
!#
0C
{%<==sr   c                r  )zparse an HTML file and build a tree. Automatic support for
ZLIB/Compress compressed document is provided by default if
 found at compile-time. zhtmlParseFile() failedr   )rA   htmlParseFiler(   r   r  r   r	   r2  r2  B  s/     
"
"8
6C
{%=>>sr   c                f    \         P                  ! WW#4      pVf   \        R4      h\        VR7      # )2parse an XML in-memory document and build a tree. zhtmlReadDoc() failedr   )rA   htmlReadDocr   r   r1  URLr   optionsr9   r   r	   r5  r5  J  s/    

 
 8
=C
{#9::sr   c                r3  )zparse an HTML from a file descriptor and build a tree. NOTE
that the file descriptor will not be closed when the reader
 is closed or reset. zhtmlReadFd() failedr   )rA   
htmlReadFdr   r   fdr7  r   r8  r9   r   r	   r9  r9  P  s1     


;C
{#899sr   c                f    \         P                  ! WV4      pVf   \        R4      h\        VR7      # )6parse an XML file from the filesystem or the network. zhtmlReadFile() failedr   )rA   htmlReadFiler   r   r  r   r8  r9   rL   r	   r>  r>  X  s/    

!
!(g
>C
{#:;;sr   c                h    \         P                  ! WW#V4      pVf   \        R4      h\        VR7      # )r4  zhtmlReadMemory() failedr   )rA   htmlReadMemoryr   r   r   r!  r7  r   r8  r9   r   r	   rA  rA  ^  s1    

#
#F#
IC
{#<==sr   c                r"  )z7Determine if a given attribute is a boolean attribute. )rA   htmlIsBooleanAttrr*  r   r	   rC  rC  h      

&
&t
,CJr   c                r  )zCreates a new HTML document zhtmlNewDoc() failedr   )rA   
htmlNewDocr   r   r  
ExternalIDr9   r   r	   rE  rE  m  s-    



0C
{#899sr   c                r  )zPCreates a new HTML document without a DTD node if @URI and
@ExternalID are None zhtmlNewDocNoDtD() failedr   )rA   htmlNewDocNoDtDr   r   rF  r   r	   rH  rH  s  s/     
$
$S
5C
{#=>>sr   c                r"  )a-  DEPRECATED: Use parser option XML_PARSE_SAX1.  Set the
default version of SAX used globally by the library. By
default, during initialization the default is set to 2.
Note that it is generally a better coding style to use
xmlSAXVersion() to set up the version explicitly for a
 given parsing context. )rA   ZxmlSAXDefaultVersionr   r9   r   r	   SAXDefaultVersionrJ  ~  s     
)
)'
2CJr   c                 r&  )zyDEPRECATED: This function is a no-op. Call xmlInitParser to
initialize the library.  Initialize the default SAX2 handler N)rA   ZxmlDefaultSAXHandlerInitr   r   r	   defaultSAXHandlerInitrK         '')r   c                 r&  )zTDEPRECATED: This function is a no-op. Call xmlInitParser to
initialize the library. N)rA   htmlDefaultSAXHandlerInitr   r   r	   rM  rM         ((*r   c                4    \         P                  ! WV4      pV# )zAdd an entry in the catalog, it may overwrite existing but
different entries. If called before any other catalog
routine, allows to override the default shared catalog put
 in place by xmlInitializeCatalog(); )rA   ZxmlCatalogAdd)r   origreplacer9   rL   r	   
catalogAddrR    s    
 
"
"4w
7CJr   c                 r&  )z0Free up all the memory associated with catalogs N)rA   ZxmlCatalogCleanupr   r   r	   catalogCleanuprS    r(  r   c                 0    \         P                  ! 4       p V # z1Convert all the SGML catalog entries as XML ones )rA   ZxmlCatalogConvertr.  r/  r	   catalogConvertrV        

&
&
(CJr   c                sZ    V e   V P                  4        \        P                  ! V 4       R# )z7Dump all the global catalog content to the given file. N)r3   rA   ZxmlCatalogDump)outr    r	   catalogDumprY    s    
		c"r   c                r"  )zhTry to lookup the catalog reference associated to a public
ID DEPRECATED, use xmlCatalogResolvePublic() )rA   ZxmlCatalogGetPublicpubIDr9   r   r	   catalogGetPublicr\         
(
(
/CJr   c                r"  )zhTry to lookup the catalog reference associated to a system
ID DEPRECATED, use xmlCatalogResolveSystem() )rA   ZxmlCatalogGetSystemsysIDr9   r   r	   catalogGetSystemr`    r]  r   c                r"  z!Remove an entry from the catalog )rA   ZxmlCatalogRemovevaluer9   r   r	   catalogRemoverd    s    

%
%e
,CJr   c                2    \         P                  ! W4      pV# z:Do a complete resolution lookup of an External Identifier )rA   ZxmlCatalogResolve)r[  r_  r9   r   r	   catalogResolverg        

&
&u
4CJr   c                r"  )z>Try to lookup the catalog reference associated to a public
ID )rA   ZxmlCatalogResolvePublicrZ  r   r	   catalogResolvePublicri         
,
,U
3CJr   c                r"  z3Try to lookup the catalog resource for a system ID )rA   ZxmlCatalogResolveSystemr^  r   r	   catalogResolveSystemrl        

,
,U
3CJr   c                r"  z*Do a complete resolution lookup of an URI )rA   ZxmlCatalogResolveURIr  r9   r   r	   catalogResolveURIrp    s    

)
)#
.CJr   c                r"  )zTUsed to set the debug level for catalog operation, 0
disable debugging, 1 enable it )rA   ZxmlCatalogSetDebug)levelr9   r   r	   catalogSetDebugrr    s     
'
'
.CJr   c                 r&  )zDo the catalog initialization. this function is not thread
safe, catalog initialization should preferably be done once
 at startup N)rA   ZxmlInitializeCatalogr   r   r	   initializeCatalogrs    s     ##%r   c                d    \         P                  ! V 4      pVf   \        R4      h\        VR7      # )zLoad the catalog and build the associated data structures.
This can be either an XML Catalog or an SGML Catalog It
will recurse in SGML CATALOG entries. On the other hand XML
 Catalogs are not handled recursively. zxmlLoadACatalog() failedr   )rA   ZxmlLoadACatalogr   catalogr  r9   r   r	   loadACatalogrw    s/    
 
$
$X
.C
{#=>>r   c                r"  )zLoad the catalog and makes its definitions effective for
the default external entity loader. It will recurse in SGML
CATALOG entries. this function is not thread safe, catalog
 initialization should preferably be done once at startup )rA   ZxmlLoadCatalogrv  r   r	   loadCatalogrx    s    
 
#
#H
-CJr   c                2    \         P                  ! V 4       R# )zLoad the catalogs and makes their definitions effective for
the default external entity loader. this function is not
thread safe, catalog initialization should preferably be
 done once at startup N)rA   ZxmlLoadCatalogs)Zpathssr    r	   loadCatalogsrz    s    
 v&r   c                rt  )zLoad an SGML super catalog. It won't expand CATALOG or
DELEGATE references. This is only needed for manipulating
SGML Super Catalogs like adding and removing CATALOG or
 DELEGATE entries. z xmlLoadSGMLSuperCatalog() failedr   )rA   ZxmlLoadSGMLSuperCatalogr   ru  rv  r   r	   loadSGMLSuperCatalogr{    s/    
 
,
,X
6C
{#EFFr   c                rt  )zcreate a new Catalog. zxmlNewCatalog() failedr   )rA   ZxmlNewCatalogr   ru  )Zsgmlr9   r   r	   
newCatalogr|    s-    

"
"4
(C
{#;<<r   c                rt  )zcparse an XML file and build a tree. It's like
xmlParseFile() except it bypass all catalog lookups. zxmlParseCatalogFile() failedr   )rA   ZxmlParseCatalogFiler(   r   rv  r   r	   parseCatalogFiler}    s/     
(
(
2C
{%CDDsr   c                r"  )zLThis function is DEPRECATED. Use xmlIsBaseChar_ch or
xmlIsBaseCharQ instead )rA   ZxmlIsBaseCharZchr9   r   r	   
isBaseCharr         
"
"2
&CJr   c                r"  )zFThis function is DEPRECATED. Use xmlIsBlank_ch or
xmlIsBlankQ instead )rA   Z
xmlIsBlankr~  r   r	   isBlankr         


#CJr   c                r"  )zDThis function is DEPRECATED. Use xmlIsChar_ch or xmlIsCharQ
instead )rA   Z	xmlIsCharr~  r   r	   isCharr    s     

r
"CJr   c                r"  )z9This function is DEPRECATED. Use xmlIsCombiningQ instead )rA   ZxmlIsCombiningr~  r   r	   isCombiningr  "  s    

#
#B
'CJr   c                r"  )zFThis function is DEPRECATED. Use xmlIsDigit_ch or
xmlIsDigitQ instead )rA   Z
xmlIsDigitr~  r   r	   isDigitr  '  r  r   c                r"  )zLThis function is DEPRECATED. Use xmlIsExtender_ch or
xmlIsExtenderQ instead )rA   ZxmlIsExtenderr~  r   r	   
isExtenderr  -  r  r   c                r"  )z;This function is DEPRECATED. Use xmlIsIdeographicQ instead )rA   ZxmlIsIdeographicr~  r   r	   isIdeographicr  3  s    

%
%b
)CJr   c                r"  )zNThis function is DEPRECATED. Use xmlIsPubidChar_ch or
xmlIsPubidCharQ instead )rA   ZxmlIsPubidCharr~  r   r	   isPubidCharr  8  s     
#
#B
'CJr   c                r"  )z&Convenient way to turn bool into text )rA   ZxmlBoolToText)Zboolvalr9   r   r	   
boolToTextr  B  s    

"
"7
+CJr   c                sZ    V e   V P                  4        \        P                  ! W4       R# )z<Dumps information about the string, shorten it if necessary N)r3   rA   ZxmlDebugDumpString)outputr=   r   r	   debugDumpStringr  G  s    6<<>!!&.r   c                s2    \         P                  ! W4       R# )z6Print the xpath error to libxml default error channel N)rA   ZxmlShellPrintXPathError)Z	errorTyper   r   r	   shellPrintXPathErrorr  L  s    &&y6r   c                 r&  zDEPRECATED: This function is a no-op. Call xmlCleanupParser
to free global state but see the warnings there.
xmlCleanupParser should be only called once at program
exit. In most cases, you don't have call cleanup functions
 at all. N)rA   ZxmlDictCleanupr   r   r	   dictCleanupr  T  s     r   c                 rT  )%DEPRECATED: Alias for xmlInitParser. )rA   ZxmlInitializeDictr.  r/  r	   initializeDictr  \  rW  r   c                re  )z[Registers an alias @alias for an encoding named @name.
Existing alias will be overwritten. )rA   ZxmlAddEncodingAlias)r_   aliasr9   r   r	   addEncodingAliasr  e  s     
(
(
5CJr   c                 r&  )ai  DEPRECATED: This function will be made private. Call
xmlCleanupParser to free global state but see the warnings
there. xmlCleanupParser should be only called once at
program exit. In most cases, you don't have call cleanup
functions at all.  Cleanup the memory allocated for the
char encoding support, it unregisters all the encoding
 handlers and the aliases. N)rA   ZxmlCleanupCharEncodingHandlersr   r   r	   cleanupCharEncodingHandlersr  k  s     --/r   c                 r&  )zUnregisters all aliases N)rA   ZxmlCleanupEncodingAliasesr   r   r	   cleanupEncodingAliasesr  u  s    ((*r   c                r"  )z%Unregisters an encoding alias @alias )rA   ZxmlDelEncodingAliasr  r9   r   r	   delEncodingAliasr  y      

(
(
/CJr   c                r"  )z-Lookup an encoding name for the given alias. )rA   ZxmlGetEncodingAliasr  r   r	   encodingAliasr  ~  r  r   c                 r&  r  N)rA   ZxmlInitCharEncodingHandlersr   r   r	   initCharEncodingHandlersr    s    **,r   c                 r&  )z:Cleanup up the predefined entities table. Deprecated call N)rA   ZxmlCleanupPredefinedEntitiesr   r   r	   cleanupPredefinedEntitiesr    s    ++-r   c                 r&  )z0Set up the predefined entities. Deprecated call N)rA   ZxmlInitializePredefinedEntitiesr   r   r	   initializePredefinedEntitiesr    s    ..0r   c                rt  )z1Check whether this name is an predefined entity. zxmlGetPredefinedEntity() failedr   )rA   ZxmlGetPredefinedEntityr   r   r*  r   r	   predefinedEntityr    s-    

+
+D
1C
{#DEE#r   c                 r&  r  )rA   ZxmlCleanupGlobalsr   r   r	   cleanupGlobalsr    s       "r   c                 r&  r  )rA   ZxmlInitGlobalsr   r   r	   initGlobalsr    s    r   c                 r&  )z@Cleanup the FTP protocol layer. This cleanup proxy
information. N)rA   ZxmlNanoFTPCleanupr   r   r	   nanoFTPCleanupr           "r   c                 r&  )zhInitialize the FTP protocol layer. Currently it just checks
for proxy information, and get the hostname N)rA   ZxmlNanoFTPInitr   r   r	   nanoFTPInitr    s     r   c                s6    \         P                  ! WW#V4       R# )zSetup the FTP proxy information. This can also be done by
using ftp_proxy ftp_proxy_user and ftp_proxy_password
 environment variables. N)rA   ZxmlNanoFTPProxy)ZhostportuserZpasswdr   ru   r	   nanoFTPProxyr    s     t4>r   c                ry  )z(Re)Initialize the FTP Proxy context by parsing the URL and
finding the protocol host port it indicates. Should be like
ftp://myproxy/ or ftp://myproxy:3128/ A None URL cleans up
 proxy information. N)rA   ZxmlNanoFTPScanProxyr7  r    r	   nanoFTPScanProxyr    s    
 ""3'r   c                 r&  )z!Cleanup the HTTP protocol layer. N)rA   ZxmlNanoHTTPCleanupr   r   r	   nanoHTTPCleanupr    s    !!#r   c                 r&  )zSInitialize the HTTP protocol layer. Currently it just
checks for proxy information N)rA   ZxmlNanoHTTPInitr   r   r	   nanoHTTPInitr    s      r   c                ry  )z(Re)Initialize the HTTP Proxy context by parsing the URL
and finding the protocol host port it indicates. Should be
like http://myproxy/ or http://myproxy:3128/ A None URL
 cleans up proxy information. N)rA   ZxmlNanoHTTPScanProxyr  r    r	   nanoHTTPScanProxyr    s    
 ##C(r   c                rt  )z8Creates a parser context for an XML in-memory document. zxmlCreateDocParserCtxt() failedr   )rA   ZxmlCreateDocParserCtxtr(   r  r=   r9   r   r	   createDocParserCtxtr    s-    

+
+C
0C
{%FGG3r   c                 r&  )zInitialization function for the XML parser.  Call once from
the main thread before using the library in multithreaded
 programs. N)rA   ZxmlInitParserr   r   r	   
initParserr    s     r   c                r"  )a#  DEPRECATED: Use the modern options API with
XML_PARSE_NOBLANKS.  Set and return the previous value for
default blanks text nodes support. The 1.x version of the
parser used an heuristic to try to detect ignorable white
spaces. As a result the SAX callback was generating
xmlSAX2IgnorableWhitespace() callbacks instead of
characters() one, and when using the DOM output text nodes
containing those blanks were not generated. The 2.x and
later version will switch to the XML standard way and
ignorableWhitespace() are only generated when running the
parser in validating mode and when the current element
doesn't allow CDATA or mixed content. This function is
provided as a way to force the standard behavior on 1.X
libs and to switch back to the old mode for compatibility
when running 1.X client code on 2.X . Upgrade of 1.X code
should be done by using xmlIsBlankNode() commodity function
to detect the "empty" nodes generated. This value also
affect autogeneration of indentation when saving code if
 blanks sections are kept, indentation is not generated. )rA   ZxmlKeepBlanksDefaultr$  r   r	   keepBlanksDefaultr    s    ( 
)
)#
.CJr   c                r"  )zDEPRECATED: The modern options API always enables line
numbers.  Set and return the previous value for enabling
line numbers in elements contents. This may break on old
 application and is turned off by default. )rA   ZxmlLineNumbersDefaultr$  r   r	   lineNumbersDefaultr    s    
 
*
*3
/CJr   c                 r+  )r,  zxmlNewParserCtxt() failedr   )rA   ZxmlNewParserCtxtr(   r  r.  r/  r	   newParserCtxtr    s+    

%
%
'C
{%@AA3r   c                r  )z#Load and parse an external subset. zxmlParseDTD() failedr   )rA   ZxmlParseDTDr(   r   )rG  SystemIDr9   r   r	   parseDTDr    s-    

 
 
6C
{%;<<sr   c                rt  )zODEPRECATED: Use xmlReadDoc.  parse an XML in-memory
document and build a tree. zxmlParseDoc() failedr   )rA   ZxmlParseDocr(   r   r1  r9   r   r	   parseDocr    s/     
 
 
%C
{%;<<sr   c                rt  )zparse an XML external entity out of context and build a
tree.  [78] extParsedEnt ::= TextDecl? content  This
 correspond to a "Well Balanced" chunk zxmlParseEntity() failedr   )rA   ZxmlParseEntityr(   r   rv  r   r	   parseEntityr    s/     
#
#H
-C
{%>??sr   c                rt  )zDEPRECATED: Use xmlReadFile.  parse an XML file and build a
tree. Automatic support for ZLIB/Compress compressed
 document is provided by default if found at compile-time. zxmlParseFile() failedr   )rA   ZxmlParseFiler(   r   rv  r   r	   	parseFiler  "  s/     
!
!(
+C
{%<==sr   c                r  )zODEPRECATED: Use xmlReadMemory.  parse an XML in-memory
block and build a tree. zxmlParseMemory() failedr   )rA   ZxmlParseMemoryr(   r   r  r   r	   parseMemoryr  *  s/     
#
#F
1C
{%>??sr   c                r"  )zDEPRECATED: Use the modern options API with
XML_PARSE_PEDANTIC.  Set and return the previous value for
 enabling pedantic warnings. )rA   ZxmlPedanticParserDefaultr$  r   r	   pedanticParserDefaultr  1  s     
-
-c
2CJr   c                r3  )r4  zxmlReadDoc() failedr   )rA   Z
xmlReadDocr   r   r6  r   r	   readDocr  8  s/    


(
<C
{#899sr   c                r3  )zparse an XML from a file descriptor and build a tree. NOTE
that the file descriptor will not be closed when the reader
 is closed or reset. zxmlReadFd() failedr   )rA   Z	xmlReadFdr   r   r:  r   r	   readFdr  >  s1     

r
:C
{#788sr   c                r<  )r=  zxmlReadFile() failedr   )rA   ZxmlReadFiler   r   r?  rL   r	   readFiler  F  s/    

 
 W
=C
{#9::sr   c                r@  )r4  zxmlReadMemory() failedr   )rA   ZxmlReadMemoryr   r   rB  r   r	   
readMemoryr  L  s1    

"
"6
HC
{#;<<sr   c                rt  )zDEPRECATED: Use xmlReadDoc with XML_PARSE_RECOVER.  parse
an XML in-memory document and build a tree. In the case the
document is not Well Formed, a attempt to build a tree is
 tried anyway zxmlRecoverDoc() failedr   )rA   ZxmlRecoverDocr   r   r  r   r	   
recoverDocr  R  s/    
 
"
"3
'C
{#;<<sr   c                rt  )a  DEPRECATED: Use xmlReadFile with XML_PARSE_RECOVER.  parse
an XML file and build a tree. Automatic support for
ZLIB/Compress compressed document is provided by default if
found at compile-time. In the case the document is not Well
 Formed, it attempts to build a tree anyway zxmlRecoverFile() failedr   )rA   ZxmlRecoverFiler   r   rv  r   r	   recoverFiler  [  s/     
#
#H
-C
{#<==sr   c                r  )zDEPRECATED: Use xmlReadMemory with XML_PARSE_RECOVER. 
parse an XML in-memory block and build a tree. In the case
the document is not Well Formed, an attempt to build a tree
 is tried anyway zxmlRecoverMemory() failedr   )rA   ZxmlRecoverMemoryr   r   r  r   r	   recoverMemoryr  e  s/    
 
%
%f
3C
{#>??sr   c                r"  )a|  DEPRECATED: Use the modern options API with
XML_PARSE_NOENT.  Set and return the previous value for
default entity support. Initially the parser always keep
entity references instead of substituting entity values in
the output. This function has to be used to change the
default parser behavior SAX::substituteEntities() has to be
 used for changing that on a file by file basis. )rA   ZxmlSubstituteEntitiesDefaultr$  r   r	   substituteEntitiesDefaultr  n  s     
1
1#
6CJr   c                 r"  r   )rA   Z'xmlThrDefDoValidityCheckingDefaultValueZvr9   r   r	   $thrDefDoValidityCheckingDefaultValuer  y      

<
<Q
?CJr   c                 r"  r   )rA   Z xmlThrDefGetWarningsDefaultValuer  r   r	   thrDefGetWarningsDefaultValuer  }      

5
5a
8CJr   c                 r"  r   )rA   ZxmlThrDefKeepBlanksDefaultValuer  r   r	   thrDefKeepBlanksDefaultValuer        

4
4Q
7CJr   c                 r"  r   )rA   Z xmlThrDefLineNumbersDefaultValuer  r   r	   thrDefLineNumbersDefaultValuer    r  r   c                 r"  r   )rA   ZxmlThrDefLoadExtDtdDefaultValuer  r   r	   thrDefLoadExtDtdDefaultValuer    r  r   c                 r"  r   )rA   ZxmlThrDefParserDebugEntitiesr  r   r	   thrDefParserDebugEntitiesr    s    

1
1!
4CJr   c                 r"  r   )rA   Z#xmlThrDefPedanticParserDefaultValuer  r   r	    thrDefPedanticParserDefaultValuer    s    

8
8
;CJr   c                 r"  r   )rA   Z'xmlThrDefSubstituteEntitiesDefaultValuer  r   r	   $thrDefSubstituteEntitiesDefaultValuer    r  r   c                r"  )a  DEPRECATED: Internal function, do not use.  Checks that the
value conforms to the LanguageID production:  NOTE: this is
somewhat deprecated, those productions were removed from
the XML Second edition.  [33] LanguageID ::= Langcode ('-'
Subcode)* [34] Langcode ::= ISO639Code |  IanaCode | 
UserCode [35] ISO639Code ::= ([a-z] | [A-Z]) ([a-z] |
[A-Z]) [36] IanaCode ::= ('i' | 'I') '-' ([a-z] | [A-Z])+
[37] UserCode ::= ('x' | 'X') '-' ([a-z] | [A-Z])+ [38]
Subcode ::= ([a-z] | [A-Z])+  The current REC reference the
successors of RFC 1766, currently 5646 
http://www.rfc-editor.org/rfc/rfc5646.txt langtag       =
language ["-" script] ["-" region] *("-" variant) *("-"
extension) ["-" privateuse] language      = 2*3ALPHA       
; shortest ISO 639 code ["-" extlang]       ; sometimes
followed by ; extended language subtags / 4ALPHA           
; or reserved for future use / 5*8ALPHA            ; or
registered language subtag  extlang       = 3ALPHA         
; selected ISO 639 codes *2("-" 3ALPHA)      ; permanently
reserved  script        = 4ALPHA              ; ISO 15924
code  region        = 2ALPHA              ; ISO 3166-1 code
/ 3DIGIT              ; UN M.49 code  variant       =
5*8alphanum         ; registered variants / (DIGIT
3alphanum)  extension     = singleton 1*("-" (2*8alphanum))
; Single alphanumerics ; "x" reserved for private use
singleton     = DIGIT               ; 0 - 9 / %x41-57      
; A - W / %x59-5A             ; Y - Z / %x61-77            
; a - w / %x79-7A             ; y - z  it sounds right to
still allow Irregular i-xxx IANA and user codes too The
parser below doesn't try to cope with extension or
privateuse that could be added but that's not interoperable
 anyway )rA   ZxmlCheckLanguageID)langr9   r   r	   checkLanguageIDr    s    @ 
'
'
-CJr   c                rO  z#append the char value in the array )rA   ZxmlCopyChar)r8   rX  r%  r9   rL   r	   copyCharr    s    

 
 3
/CJr   c                re  r  )rA   ZxmlCopyCharMultiByte)rX  r%  r9   r   r	   copyCharMultiByter    s    

)
)#
3CJr   c                r<  )zCreate a parser context for an external entity Automatic
support for ZLIB/Compress compressed document is provided
 by default if found at compile-time. z"xmlCreateEntityParserCtxt() failedr   )rA   ZxmlCreateEntityParserCtxtr(   r  )r7  IDbaser9   rL   r	   createEntityParserCtxtr    s1     
.
.s
=C
{%IJJ3r   c                rt  )r  z xmlCreateFileParserCtxt() failedr   )rA   ZxmlCreateFileParserCtxtr(   r  rv  r   r	   createFileParserCtxtr    s/     
,
,X
6C
{%GHH3r   c                r  )z7Create a parser context for an XML in-memory document. z"xmlCreateMemoryParserCtxt() failedr   )rA   ZxmlCreateMemoryParserCtxtr(   r  r  r   r	   createMemoryParserCtxtr    s-    

.
.v
<C
{%IJJ3r   c                r  )zCreate a parser context for a file or URL content.
Automatic support for ZLIB/Compress compressed document is
provided by default if found at compile-time and for file
 accesses zxmlCreateURLParserCtxt() failedr   )rA   ZxmlCreateURLParserCtxtr(   r  )r  r8  r9   r   r	   createURLParserCtxtr    s/    
 
+
+H
>C
{%FGG3r   c                r"  )z`Check whether the character is allowed by the production
[84] Letter ::= BaseChar | Ideographic )rA   ZxmlIsLetter)Zcr9   r   r	   isLetterr    s     
 
 
#CJr   c                X    V f   RpMV P                   p\        P                  ! V4      pV# )zZDEPRECATED: Internal function, do not use.  Pops the top
element name from the name stack N)r-   rA   namePopr   ctxt__or9   r   r	   r  r    s+     |tWGG'


W
%CJr   c                sX    V f   RpMV P                   p\        P                  ! W!4      pV# )z_DEPRECATED: Internal function, do not use.  Pushes a new
element name on top of the name stack N)r-   rA   namePush)r   rc  r  r9   r   r	   r  r    s+     |tWGG'


g
-CJr   c                s    V f   RpMV P                   p\        P                  ! V4      pVf   \        R4      h\	        VR7      # )zZDEPRECATED: Internal function, do not use.  Pops the top
element node from the node stack NznodePop() failedr   )r-   rA   nodePopr   r   r  r   r	   r  r    sA     |tWGG'


W
%C
{#566r   c                s~    V f   RpMV P                   pVf   RpMVP                   p\        P                  ! W#4      pV# )z_DEPRECATED: Internal function, do not use.  Pushes a new
element node on top of the node stack N)r-   rA   nodePush)r   rc  r  Zvalue__or9   r:   r	   r  r    s=     |tWGG'}hXX(


g
0CJr   c                4    \         P                  ! WV4       R# )zfInterface to parse an XML file or resource pointed by an
URI to build an event flow to the SAX object N)rA   ZxmlSAXParseFile)SAXr  Zrecoverr>   r	   SAXParseFiler    s     s1r   c                r  )z1Create a libxml2 input buffer from a Python file zxmlCreateInputBuffer() failedr   )rA   rB   r   inputBufferrK   r   r9   r   r	   createInputBufferr    s-    

)
)$
9C
{#BCCC  r   c                r  )z2Create a libxml2 output buffer from a Python file zxmlCreateOutputBuffer() failedr   )rA   ZxmlCreateOutputBufferr   outputBufferr  r   r	   createOutputBufferr  !  s-    

*
*4
:C
{#CDDS!!r   c                r3  )zCreate a progressive XML parser context to build either an
event flow if the SAX object is not None, or a DOM tree
 otherwise. zxmlCreatePushParser() failedr   )rA   ZxmlCreatePushParserr(   r  r  chunkr!  r  r9   r   r	   createPushParserr  '  s1     
(
(T
?C
{%CDD3r   c                r"  )zSwitch on the generation of line number for elements nodes.
Also returns the number of bytes allocated and not freed by
 libxml2 since memory debugging was switched on. )rA   ZxmlDebugMemory)Zactivater9   r   r	   debugMemoryr  /  s     
#
#H
-CJr   c                 r&  )z/dump the memory allocated in the file .memdump N)rA   ZxmlDumpMemoryr   r   r	   
dumpMemoryr  6  s    r   c                r3  )zCreate a progressive HTML parser context to build either an
event flow if the SAX object is not None, or a DOM tree
 otherwise. zhtmlCreatePushParser() failedr   )rA   htmlCreatePushParserr(   r  r  r   r	   r  r  :  s1     
)
)#d
@C
{%DEE3r   c                r  )zgInterface to parse an HTML file or resource pointed by an
URI to build an event flow to the SAX object N)rA   htmlSAXParseFile)r  r  r   r>   r	   r  r  B  s     (3r   c                 rT  )z8Returns the total amount of memory allocated by libxml2 )rA   ZxmlMemoryUsedr.  r/  r	   
memoryUsedr  G  s    

"
"
$CJr   c                rt  )zCreate a new Node zxmlNewNode() failedr   )rA   Z
xmlNewNoder   r   r*  r   r	   newNoder  L  s-    



%C
{#899r   c                 r&  )an  Cleanup function for the XML library. It tries to reclaim
all parsing related global memory allocated for the library
processing. It doesn't deallocate any document related
memory. Calling this function should not prevent reusing
the library but one should call xmlCleanupParser() only
when the process has finished using the library or XML
 document built with it. Nr  r   r   r	   pythonCleanupParserr  R  s     %%'r   c                r"  )z-Set the entity resolver as a python function )rA   ZxmlSetEntityLoader)Zresolverr9   r   r	   setEntityLoaderr  \  s    

'
'
1CJr   c                 r&  )a2  DEPRECATED: This function will be made private. Call
xmlCleanupParser to free global state but see the warnings
there. xmlCleanupParser should be only called once at
program exit. In most cases, you don't have call cleanup
functions at all.  Cleanup the default Schemas type library
 associated to RelaxNG N)rA   ZxmlRelaxNGCleanupTypesr   r   r	   relaxNGCleanupTypesr  e  s     %%'r   c                 rT  )z'Initialize the default type libraries. )rA   ZxmlRelaxNGInitTypesr.  r/  r	   relaxNGInitTypesr  n  s    

(
(
*CJr   c                r  )zfCreate an XML RelaxNGs parse context for that memory buffer
expected to contain an XML RelaxNGs file. z#xmlRelaxNGNewMemParserCtxt() failedr   )rA   ZxmlRelaxNGNewMemParserCtxtr(   relaxNgParserCtxtr  r   r	   relaxNGNewMemParserCtxtr  s  s/     
/
/
=C
{%JKK#&&r   c                rt  )zfCreate an XML RelaxNGs parse context for that file/resource
expected to contain an XML RelaxNGs file. z xmlRelaxNGNewParserCtxt() failedr   )rA   ZxmlRelaxNGNewParserCtxtr(   r  r7  r9   r   r	   relaxNGNewParserCtxtr  z  s/     
,
,S
1C
{%GHH#&&r   c                s4    \         P                  ! WW#4      pV# )zBuilds the QName @prefix:@ncname in @memory if there is
enough space and prefix is not None nor empty, otherwise
allocate a new string. If prefix is None or empty it
 returns ncname. )rA   ZxmlBuildQName)ZncnameprefixZmemoryr8   r9   r   r	   
buildQNamer    s    
 
"
"66
?CJr   c                 rT  )z3get the default compression mode used, ZLIB based. )rA   ZxmlGetCompressModer.  r/  r	   compressModer        

'
'
)CJr   c                re  )z7Try to find if the document correspond to an XHTML DTD )rA   Z
xmlIsXHTML)ri   ZpublicIDr9   r   r	   isXHTMLr    s    



3CJr   c                rt  )zqUse of this function is DISCOURAGED in favor of
xmlNewDocComment.  Creation of a new node containing a
 comment. zxmlNewComment() failedr   )rA   ZxmlNewCommentr   r   re   r9   r   r	   
newCommentr    s/     
"
"7
+C
{#;<<r   c                rt  )zCreates a new XML document zxmlNewDoc() failedr   )rA   Z	xmlNewDocr   r   rI  r   r	   newDocr     s-    


w
'C
{#788sr   c                r  )zlCreation of a processing instruction element.  Use of this
function is DISCOURAGED in favor of xmlNewDocPI. zxmlNewPI() failedr   )rA   ZxmlNewPIr   r   )r_   re   r9   r   r	   newPIr    s/     

d
,C
{#677r   c                rt  )z]Creation of a new text node.  Use of this function is
DISCOURAGED in favor of xmlNewDocText. zxmlNewText() failedr   )rA   Z
xmlNewTextr   r   r  r   r	   newTextr    s/     


(C
{#899r   c                r  )zUse of this function is DISCOURAGED in favor of
xmlNewDocTextLen.  Creation of a new text node with an
 extra parameter for the content's length zxmlNewTextLen() failedr   )rA   ZxmlNewTextLenr   r   )re   r8   r9   r   r	   
newTextLenr    s/     
"
"7
0C
{#;<<r   c                ry  )zjset the default compression mode used, ZLIB based Correct
values: 0 (uncompressed) to 9 (max compression) N)rA   ZxmlSetCompressMode)moder    r	   setCompressModer    s     !!$'r   c                 r"  r   )rA   ZxmlThrDefDefaultBufferSizer  r   r	   thrDefDefaultBufferSizer    s    

/
/
2CJr   c                re  )z;Check that a value conforms to the lexical space of NCName )rA   ZxmlValidateNCNamerc  Zspacer9   r   r	   validateNCNamer    rh  r   c                re  )z<Check that a value conforms to the lexical space of NMToken )rA   ZxmlValidateNMTokenr  r   r	   validateNMTokenr	    s    

'
'
5CJr   c                re  )z9Check that a value conforms to the lexical space of Name )rA   ZxmlValidateNamer  r   r	   validateNamer
    s    

$
$U
2CJr   c                re  )z:Check that a value conforms to the lexical space of QName )rA   ZxmlValidateQNamer  r   r	   validateQNamer    s    

%
%e
3CJr   c                r"  )zEscaping routine, does not do validity checks ! It will try
to escape the chars needing this, but this is heuristic
 based it's impossible to be sure. )rA   ZxmlURIEscaper  r   r	   	URIEscaper    s     
!
!#
&CJr   c                re  )zThis routine escapes a string to hex, ignoring reserved
characters (a-z, A-Z, 0-9, "@-_.!~*'()") and the characters
 in the exception list. )rA   ZxmlURIEscapeStr)r=   r   r9   r   r	   URIEscapeStrr    s     
$
$S
/CJr   c                rO  )zUnescaping routine, but does not check that the string is
an URI. The output is a direct unsigned char translation of
%XX values (no encoding) Note that the length of the result
 can only be smaller or same size as the input string. )rA   ZxmlURIUnescapeString)r=   r8   rb   r9   rL   r	   URIUnescapeStringr    s    
 
)
)#F
;CJr   c                re  )a  Expresses the URI of the reference in terms relative to the
base.  Some examples of this operation include: base =
"http://site1.com/docs/book1.html" URI input               
URI returned docs/pic1.gif                    pic1.gif
docs/img/pic1.gif                img/pic1.gif img/pic1.gif 
../img/pic1.gif http://site1.com/docs/pic1.gif   pic1.gif
http://site2.com/docs/pic1.gif  
http://site2.com/docs/pic1.gif  base = "docs/book1.html"
URI input                        URI returned docs/pic1.gif
pic1.gif docs/img/pic1.gif                img/pic1.gif
img/pic1.gif                     ../img/pic1.gif
http://site1.com/docs/pic1.gif  
http://site1.com/docs/pic1.gif   Note: if the URI reference
is really weird or complicated, it may be worthwhile to
first convert it into a "nice" one by calling xmlBuildURI
(using 'base') before calling this routine, since this
routine (for reasonable efficiency) assumes URI has already
 been through some validation. )rA   ZxmlBuildRelativeURIr  r  r9   r   r	   buildRelativeURIr    s    & 
(
(
3CJr   c                re  )zComputes he final URI of the reference done by checking
that the given URI is valid, and building the final URI
using the base URI. This is processed according to section
5.2 of the RFC 2396  5.2. Resolving Relative References to
 Absolute Form )rA   ZxmlBuildURIr  r   r	   buildURIr    s     
 
 
+CJr   c                r"  )z3Constructs a canonic path from the specified path. )rA   ZxmlCanonicPathpathr9   r   r	   canonicPathr        

#
#D
)CJr   c                 r+  )zSimply creates an empty xmlURI zxmlCreateURI() failedr   )rA   ZxmlCreateURIr)   r  r.  r/  r	   	createURIr    s*    

!
!
#C
{"9::C=r   c                r"  )zApplies the 5 normalization steps to a path string--that
is, RFC 2396 Section 5.2, steps 6.c through 6.g. 
Normalization occurs directly on the string, no new
 allocation is done )rA   ZxmlNormalizeURIPathr  r   r	   normalizeURIPathr    s    
 
(
(
.CJr   c                rt  )z_Parse an URI based on RFC 3986  URI-reference = [
absoluteURI | relativeURI ] [ "#" fragment ] zxmlParseURI() failedr   )rA   ZxmlParseURIr)   r  r  r   r	   parseURIr  $  s.     
 
 
%C
{"899C=r   c                r  )zcParse an URI but allows to keep intact the original
fragments.  URI-reference = URI / relative-ref zxmlParseURIRaw() failedr   )rA   ZxmlParseURIRawr)   r  )r=   Zrawr9   r   r	   parseURIRawr  +  s.     
#
#C
-C
{";<<C=r   c                r"  )z/Constructs an URI expressing the existing path )rA   ZxmlPathToURIr  r   r	   	pathToURIr  2      

!
!$
'CJr   c                 r+  )z)Allocate a validation context structure. zxmlNewValidCtxt() failedr   )rA   ZxmlNewValidCtxtr   	ValidCtxtr.  r/  r	   newValidCtxtr  ;  s+    

$
$
&C
{#=>>#r   c                r"  )z4Validate that the given value match Name production )rA   ZxmlValidateNameValuerb  r   r	   validateNameValuer  A  s    

)
)%
0CJr   c                r"  )z5Validate that the given value match Names production )rA   ZxmlValidateNamesValuerb  r   r	   validateNamesValuer  F  s    

*
*5
1CJr   c                r"  )zKValidate that the given value match Nmtoken production  [
VC: Name Token ] )rA   ZxmlValidateNmtokenValuerb  r   r	   validateNmtokenValuer   K  rj  r   c                r"  )zLValidate that the given value match Nmtokens production  [
VC: Name Token ] )rA   ZxmlValidateNmtokensValuerb  r   r	   validateNmtokensValuer!  Q  s     
-
-e
4CJr   c                r"  )zfunction checks to see if @path is a valid source (file,
socket...) for XML.  if stat is not available on the target
 machine, )rA   ZxmlCheckFilenamer  r   r	   checkFilenamer"  [  s     
%
%d
+CJr   c                 r&  )zKclears the entire input callback table. this includes the
compiled-in I/O. N)rA   ZxmlCleanupInputCallbacksr   r   r	   cleanupInputCallbacksr#  b  rL  r   c                 r&  )zVclears the entire output callback table. this includes the
compiled-in I/O callbacks. N)rA   ZxmlCleanupOutputCallbacksr   r   r	   cleanupOutputCallbacksr$  g  rN  r   c                r"  )zinput from FILE * )rA   ZxmlFileMatchrv  r   r	   	fileMatchr%  l  s    

!
!(
+CJr   c                r"  )z$check if the URI matches an FTP one )rA   ZxmlIOFTPMatchrv  r   r	   
iOFTPMatchr&  q  s    

"
"8
,CJr   c                r"  )z%check if the URI matches an HTTP one )rA   ZxmlIOHTTPMatchrv  r   r	   iOHTTPMatchr'  v  s    

#
#H
-CJr   c                r"  )zUThis function is obsolete. Please see xmlURIFromPath in
uri.c for a better solution. )rA   ZxmlNormalizeWindowsPathr  r   r	   normalizeWindowsPathr(  {       
,
,T
2CJr   c                r"  )z#lookup the directory for that file )rA   ZxmlParserGetDirectoryrv  r   r	   parserGetDirectoryr*    s    

*
*8
4CJr   c                 rT  )zZRemove the top output callbacks from the output stack. This
includes the compiled-in I/O. )rA   ZxmlPopOutputCallbacksr.  r/  r	   popOutputCallbacksr+    s     
*
*
,CJr   c                 r&  z0Registers the default compiled-in I/O handlers. N)rA   Z xmlRegisterDefaultInputCallbacksr   r   r	   registerDefaultInputCallbacksr-    s    //1r   c                 r&  r,  )rA   Z!xmlRegisterDefaultOutputCallbacksr   r   r	   registerDefaultOutputCallbacksr.    s    002r   c                 r&  )zBy default, libxml submits HTTP output requests using the
"PUT" method. Calling this method changes the HTTP output
 method to use the "POST" method instead. N)rA   ZxmlRegisterHTTPPostCallbacksr   r   r	   registerHTTPPostCallbacksr/    s     ++-r   c                 r+  )zZGet the last global error registered. This is per thread if
compiled with thread support. zxmlGetLastError() failedr   )rA   ZxmlGetLastErrorr   Errorr.  r/  r	   	lastErrorr1    s,     
$
$
&C
{#=>>c?r   c                 r&  )zmCleanup the last global error registered. For parsing error
this does not change the well-formedness result. N)rA   ZxmlResetLastErrorr   r   r	   resetLastErrorr2    r  r   c                rt  )z@Create an xmlTextReader structure fed with the resource at
@URI z!xmlNewTextReaderFilename() failedr   )rA   ZxmlNewTextReaderFilenamer   xmlTextReaderro  r   r	   newTextReaderFilenamer4    s/     
-
-c
2C
{#FGGc""r   c                r3  )xCreate an xmltextReader for an XML in-memory document. The
parsing flags @options are a combination of xmlParserOption. zxmlReaderForDoc() failedr   )rA   ZxmlReaderForDocr   r3  r6  r   r	   readerForDocr6    s1     
$
$Sx
AC
{#=>>c""r   c                r3  )zCreate an xmltextReader for an XML from a file descriptor.
The parsing flags @options are a combination of
xmlParserOption. NOTE that the file descriptor will not be
 closed when the reader is closed or reset. zxmlReaderForFd() failedr   )rA   ZxmlReaderForFdr   r3  r:  r   r	   readerForFdr7    s1    
 
#
#BX
?C
{#<==c""r   c                r<  )zwparse an XML file from the filesystem or the network. The
parsing flags @options are a combination of xmlParserOption. zxmlReaderForFile() failedr   )rA   ZxmlReaderForFiler   r3  r?  rL   r	   readerForFiler8    s1     
%
%h'
BC
{#>??c""r   c                r@  )r5  zxmlReaderForMemory() failedr   )rA   ZxmlReaderForMemoryr   r3  rB  r   r	   readerForMemoryr9    s3     
'
'cW
MC
{#@AAc""r   c                rt  )zParses a regular expression conforming to XML Schemas Part
2 Datatype Appendix F and builds an automata suitable for
 testing strings against that regular expression zxmlRegexpCompile() failedr   )rA   ZxmlRegexpCompiler   xmlReg)Zregexpr9   r   r	   regexpCompiler;    s/     
%
%f
-C
{#>??sr   c                 r"  r   )rA   ZxmlThrDefIndentTreeOutputr  r   r	   thrDefIndentTreeOutputr<        

.
.q
1CJr   c                 r"  r   )rA   ZxmlThrDefSaveNoEmptyTagsr  r   r	   thrDefSaveNoEmptyTagsr>    s    

-
-a
0CJr   c                 r"  r   )rA   ZxmlThrDefTreeIndentStringr  r   r	   thrDefTreeIndentStringr?    r=  r   c                r  )zdCreate an XML Schemas parse context for that memory buffer
expected to contain an XML Schemas file. z"xmlSchemaNewMemParserCtxt() failedr   )rA   ZxmlSchemaNewMemParserCtxtr(   SchemaParserCtxtr  r   r	   schemaNewMemParserCtxtrA    s/     
.
.v
<C
{%IJJ%%r   c                rt  )zdCreate an XML Schemas parse context for that file/resource
expected to contain an XML Schemas file. zxmlSchemaNewParserCtxt() failedr   )rA   ZxmlSchemaNewParserCtxtr(   r@  r  r   r	   schemaNewParserCtxtrB    s/     
+
+C
0C
{%FGG%%r   c                 r&  )a#  DEPRECATED: This function will be made private. Call
xmlCleanupParser to free global state but see the warnings
there. xmlCleanupParser should be only called once at
program exit. In most cases, you don't have to call cleanup
functions at all.  Cleanup the default XML Schemas type
 library N)rA   ZxmlSchemaCleanupTypesr   r   r	   schemaCleanupTypesrC    s     $$&r   c                r"  )z1Removes and normalize white spaces in the string )rA   ZxmlSchemaCollapseStringrb  r   r	   schemaCollapseStringrD    rm  r   c                 rT  )z0Initialize the default XML Schemas type library )rA   ZxmlSchemaInitTypesr.  r/  r	   schemaInitTypesrE    r  r   c                r"  )z(Replaces 0xd, 0x9 and 0xa with a space. )rA   ZxmlSchemaWhiteSpaceReplacerb  r   r	   schemaWhiteSpaceReplacerF    s    

/
/
6CJr   c                re  )zcompares the two UCS4 values )rA   ZxmlUTF8Charcmp)Zutf1Zutf2r9   r   r	   UTF8CharcmprG  !  s    

#
#D
/CJr   c                r"  )z1calculates the internal size of a UTF8 character )rA   ZxmlUTF8Sizeutfr9   r   r	   UTF8SizerJ  &  s    

 
 
%CJr   c                r"  )zgcompute the length of an UTF8 string, it doesn't do a full
UTF8 checking of the content of the string. )rA   ZxmlUTF8StrlenrH  r   r	   
UTF8StrlenrK  +  s     
"
"3
'CJr   c                re  )z;a function to provide the relative location of a UTF8 char )rA   ZxmlUTF8Strloc)rI  Zutfcharr9   r   r	   
UTF8StrlocrL  1  s    

"
"3
0CJr   c                re  )za strndup for array of UTF8's )rA   ZxmlUTF8StrnduprI  r8   r9   r   r	   UTF8StrnduprN  6  s    

#
#C
-CJr   c                re  )zQa function to provide the equivalent of fetching a
character from a string array )rA   ZxmlUTF8Strpos)rI  Zposr9   r   r	   
UTF8StrposrO  ;  s     
"
"3
,CJr   c                re  )z`storage size of an UTF8 string the behaviour is not
guaranteed if the input string is not UTF-8 )rA   ZxmlUTF8StrsizerM  r   r	   UTF8StrsizerP  A  s     
#
#C
-CJr   c                rO  )z`Create a substring from a given UTF-8 string Note: 
positions are given in units of UTF-8 chars )rA   ZxmlUTF8Strsub)rI  Zstartr8   r9   rL   r	   
UTF8StrsubrQ  G  s     
"
"3s
3CJr   c                r"  )aU  Checks @utf for being valid UTF-8. @utf is assumed to be
null-terminated. This function is not super-strict, as it
will allow longer UTF-8 sequences than necessary. Note that
Java is capable of producing these sequences if provoked.
Also note, this routine checks for the 4-byte maximum size,
 but does not check for 0x10ffff maximum value. )rA   ZxmlCheckUTF8rH  r   r	   	checkUTF8rR  M  s     
!
!#
&CJr   c                r"  )z?Check whether the character is part of AegeanNumbers UCS
Block )rA   ZxmlUCSIsAegeanNumberscoder9   r   r	   uCSIsAegeanNumbersrU  [       
*
*4
0CJr   c                r"  )zMCheck whether the character is part of
AlphabeticPresentationForms UCS Block )rA   Z#xmlUCSIsAlphabeticPresentationFormsrS  r   r	    uCSIsAlphabeticPresentationFormsrW  a       
8
8
>CJr   c                r"  )z8Check whether the character is part of Arabic UCS Block )rA   ZxmlUCSIsArabicrS  r   r	   uCSIsArabicrY  g  r  r   c                r"  )zKCheck whether the character is part of
ArabicPresentationForms-A UCS Block )rA   Z xmlUCSIsArabicPresentationFormsArS  r   r	   uCSIsArabicPresentationFormsArZ  l       
5
5d
;CJr   c                r"  )zKCheck whether the character is part of
ArabicPresentationForms-B UCS Block )rA   Z xmlUCSIsArabicPresentationFormsBrS  r   r	   uCSIsArabicPresentationFormsBr\  r  r[  r   c                r"  )z:Check whether the character is part of Armenian UCS Block )rA   ZxmlUCSIsArmenianrS  r   r	   uCSIsArmenianr]  x      

%
%d
+CJr   c                r"  )z8Check whether the character is part of Arrows UCS Block )rA   ZxmlUCSIsArrowsrS  r   r	   uCSIsArrowsr_  }  r  r   c                r"  )z<Check whether the character is part of BasicLatin UCS Block )rA   ZxmlUCSIsBasicLatinrS  r   r	   uCSIsBasicLatinr`        

'
'
-CJr   c                r"  )z9Check whether the character is part of Bengali UCS Block )rA   ZxmlUCSIsBengalirS  r   r	   uCSIsBengalirb        

$
$T
*CJr   c                re  )z5Check whether the character is part of the UCS Block )rA   ZxmlUCSIsBlock)rT  Zblockr9   r   r	   
uCSIsBlockrd    s    

"
"4
/CJr   c                r"  )z?Check whether the character is part of BlockElements UCS
Block )rA   ZxmlUCSIsBlockElementsrS  r   r	   uCSIsBlockElementsre    rV  r   c                r"  )z:Check whether the character is part of Bopomofo UCS Block )rA   ZxmlUCSIsBopomoforS  r   r	   uCSIsBopomoforf    r^  r   c                r"  )zBCheck whether the character is part of BopomofoExtended UCS
Block )rA   ZxmlUCSIsBopomofoExtendedrS  r   r	   uCSIsBopomofoExtendedrg         
-
-d
3CJr   c                r"  )z<Check whether the character is part of BoxDrawing UCS Block )rA   ZxmlUCSIsBoxDrawingrS  r   r	   uCSIsBoxDrawingri    ra  r   c                r"  )zACheck whether the character is part of BraillePatterns UCS
Block )rA   ZxmlUCSIsBraillePatternsrS  r   r	   uCSIsBraillePatternsrj    r)  r   c                r"  )z7Check whether the character is part of Buhid UCS Block )rA   ZxmlUCSIsBuhidrS  r   r	   
uCSIsBuhidrk        

"
"4
(CJr   c                r"  )zICheck whether the character is part of
ByzantineMusicalSymbols UCS Block )rA   ZxmlUCSIsByzantineMusicalSymbolsrS  r   r	   uCSIsByzantineMusicalSymbolsrm         
4
4T
:CJr   c                r"  )zBCheck whether the character is part of CJKCompatibility UCS
Block )rA   ZxmlUCSIsCJKCompatibilityrS  r   r	   uCSIsCJKCompatibilityro    rh  r   c                r"  )zGCheck whether the character is part of
CJKCompatibilityForms UCS Block )rA   ZxmlUCSIsCJKCompatibilityFormsrS  r   r	   uCSIsCJKCompatibilityFormsrp         
2
24
8CJr   c                r"  )zLCheck whether the character is part of
CJKCompatibilityIdeographs UCS Block )rA   Z"xmlUCSIsCJKCompatibilityIdeographsrS  r   r	   uCSIsCJKCompatibilityIdeographsrr         
7
7
=CJr   c                r"  )zVCheck whether the character is part of
CJKCompatibilityIdeographsSupplement UCS Block )rA   Z,xmlUCSIsCJKCompatibilityIdeographsSupplementrS  r   r	   )uCSIsCJKCompatibilityIdeographsSupplementrt    s     
A
A$
GCJr   c                r"  )zGCheck whether the character is part of
CJKRadicalsSupplement UCS Block )rA   ZxmlUCSIsCJKRadicalsSupplementrS  r   r	   uCSIsCJKRadicalsSupplementru    rq  r   c                r"  )zJCheck whether the character is part of
CJKSymbolsandPunctuation UCS Block )rA   Z xmlUCSIsCJKSymbolsandPunctuationrS  r   r	   uCSIsCJKSymbolsandPunctuationrv    r[  r   c                r"  )zFCheck whether the character is part of CJKUnifiedIdeographs
UCS Block )rA   ZxmlUCSIsCJKUnifiedIdeographsrS  r   r	   uCSIsCJKUnifiedIdeographsrw         
1
1$
7CJr   c                r"  )zPCheck whether the character is part of
CJKUnifiedIdeographsExtensionA UCS Block )rA   Z&xmlUCSIsCJKUnifiedIdeographsExtensionArS  r   r	   #uCSIsCJKUnifiedIdeographsExtensionAry         
;
;D
ACJr   c                r"  )zPCheck whether the character is part of
CJKUnifiedIdeographsExtensionB UCS Block )rA   Z&xmlUCSIsCJKUnifiedIdeographsExtensionBrS  r   r	   #uCSIsCJKUnifiedIdeographsExtensionBr{    rz  r   c                re  )z8Check whether the character is part of the UCS Category )rA   ZxmlUCSIsCat)rT  Zcatr9   r   r	   uCSIsCatr|    s    

 
 
+CJr   c                r"  )z6Check whether the character is part of C UCS Category )rA   ZxmlUCSIsCatCrS  r   r	   	uCSIsCatCr}    r  r   c                r"  )z7Check whether the character is part of Cc UCS Category )rA   ZxmlUCSIsCatCcrS  r   r	   
uCSIsCatCcr~    rl  r   c                r"  )z7Check whether the character is part of Cf UCS Category )rA   ZxmlUCSIsCatCfrS  r   r	   
uCSIsCatCfr    rl  r   c                r"  )z7Check whether the character is part of Co UCS Category )rA   ZxmlUCSIsCatCorS  r   r	   
uCSIsCatCor  	  rl  r   c                r"  )z7Check whether the character is part of Cs UCS Category )rA   ZxmlUCSIsCatCsrS  r   r	   
uCSIsCatCsr  	  rl  r   c                r"  )z6Check whether the character is part of L UCS Category )rA   ZxmlUCSIsCatLrS  r   r	   	uCSIsCatLr  	  r  r   c                r"  )z7Check whether the character is part of Ll UCS Category )rA   ZxmlUCSIsCatLlrS  r   r	   
uCSIsCatLlr  	  rl  r   c                r"  )z7Check whether the character is part of Lm UCS Category )rA   ZxmlUCSIsCatLmrS  r   r	   
uCSIsCatLmr  	  rl  r   c                r"  )z7Check whether the character is part of Lo UCS Category )rA   ZxmlUCSIsCatLorS  r   r	   
uCSIsCatLor  	  rl  r   c                r"  )z7Check whether the character is part of Lt UCS Category )rA   ZxmlUCSIsCatLtrS  r   r	   
uCSIsCatLtr   	  rl  r   c                r"  )z7Check whether the character is part of Lu UCS Category )rA   ZxmlUCSIsCatLurS  r   r	   
uCSIsCatLur  %	  rl  r   c                r"  )z6Check whether the character is part of M UCS Category )rA   ZxmlUCSIsCatMrS  r   r	   	uCSIsCatMr  *	  r  r   c                r"  )z7Check whether the character is part of Mc UCS Category )rA   ZxmlUCSIsCatMcrS  r   r	   
uCSIsCatMcr  /	  rl  r   c                r"  )z7Check whether the character is part of Me UCS Category )rA   ZxmlUCSIsCatMerS  r   r	   
uCSIsCatMer  4	  rl  r   c                r"  )z7Check whether the character is part of Mn UCS Category )rA   ZxmlUCSIsCatMnrS  r   r	   
uCSIsCatMnr  9	  rl  r   c                r"  )z6Check whether the character is part of N UCS Category )rA   ZxmlUCSIsCatNrS  r   r	   	uCSIsCatNr  >	  r  r   c                r"  )z7Check whether the character is part of Nd UCS Category )rA   ZxmlUCSIsCatNdrS  r   r	   
uCSIsCatNdr  C	  rl  r   c                r"  )z7Check whether the character is part of Nl UCS Category )rA   ZxmlUCSIsCatNlrS  r   r	   
uCSIsCatNlr  H	  rl  r   c                r"  )z7Check whether the character is part of No UCS Category )rA   ZxmlUCSIsCatNorS  r   r	   
uCSIsCatNor  M	  rl  r   c                r"  )z6Check whether the character is part of P UCS Category )rA   ZxmlUCSIsCatPrS  r   r	   	uCSIsCatPr  R	  r  r   c                r"  )z7Check whether the character is part of Pc UCS Category )rA   ZxmlUCSIsCatPcrS  r   r	   
uCSIsCatPcr  W	  rl  r   c                r"  )z7Check whether the character is part of Pd UCS Category )rA   ZxmlUCSIsCatPdrS  r   r	   
uCSIsCatPdr  \	  rl  r   c                r"  )z7Check whether the character is part of Pe UCS Category )rA   ZxmlUCSIsCatPerS  r   r	   
uCSIsCatPer  a	  rl  r   c                r"  )z7Check whether the character is part of Pf UCS Category )rA   ZxmlUCSIsCatPfrS  r   r	   
uCSIsCatPfr  f	  rl  r   c                r"  )z7Check whether the character is part of Pi UCS Category )rA   ZxmlUCSIsCatPirS  r   r	   
uCSIsCatPir  k	  rl  r   c                r"  )z7Check whether the character is part of Po UCS Category )rA   ZxmlUCSIsCatPorS  r   r	   
uCSIsCatPor  p	  rl  r   c                r"  )z7Check whether the character is part of Ps UCS Category )rA   ZxmlUCSIsCatPsrS  r   r	   
uCSIsCatPsr  u	  rl  r   c                r"  )z6Check whether the character is part of S UCS Category )rA   ZxmlUCSIsCatSrS  r   r	   	uCSIsCatSr  z	  r  r   c                r"  )z7Check whether the character is part of Sc UCS Category )rA   ZxmlUCSIsCatScrS  r   r	   
uCSIsCatScr  	  rl  r   c                r"  )z7Check whether the character is part of Sk UCS Category )rA   ZxmlUCSIsCatSkrS  r   r	   
uCSIsCatSkr  	  rl  r   c                r"  )z7Check whether the character is part of Sm UCS Category )rA   ZxmlUCSIsCatSmrS  r   r	   
uCSIsCatSmr  	  rl  r   c                r"  )z7Check whether the character is part of So UCS Category )rA   ZxmlUCSIsCatSorS  r   r	   
uCSIsCatSor  	  rl  r   c                r"  )z6Check whether the character is part of Z UCS Category )rA   ZxmlUCSIsCatZrS  r   r	   	uCSIsCatZr  	  r  r   c                r"  )z7Check whether the character is part of Zl UCS Category )rA   ZxmlUCSIsCatZlrS  r   r	   
uCSIsCatZlr  	  rl  r   c                r"  )z7Check whether the character is part of Zp UCS Category )rA   ZxmlUCSIsCatZprS  r   r	   
uCSIsCatZpr  	  rl  r   c                r"  )z7Check whether the character is part of Zs UCS Category )rA   ZxmlUCSIsCatZsrS  r   r	   
uCSIsCatZsr  	  rl  r   c                r"  )z:Check whether the character is part of Cherokee UCS Block )rA   ZxmlUCSIsCherokeerS  r   r	   uCSIsCherokeer  	  r^  r   c                r"  )zKCheck whether the character is part of
CombiningDiacriticalMarks UCS Block )rA   Z!xmlUCSIsCombiningDiacriticalMarksrS  r   r	   uCSIsCombiningDiacriticalMarksr  	       
6
6t
<CJr   c                r"  )zUCheck whether the character is part of
CombiningDiacriticalMarksforSymbols UCS Block )rA   Z+xmlUCSIsCombiningDiacriticalMarksforSymbolsrS  r   r	   (uCSIsCombiningDiacriticalMarksforSymbolsr  	  s     
@
@
FCJr   c                r"  )zDCheck whether the character is part of CombiningHalfMarks
UCS Block )rA   ZxmlUCSIsCombiningHalfMarksrS  r   r	   uCSIsCombiningHalfMarksr  	       
/
/
5CJr   c                r"  )zJCheck whether the character is part of
CombiningMarksforSymbols UCS Block )rA   Z xmlUCSIsCombiningMarksforSymbolsrS  r   r	   uCSIsCombiningMarksforSymbolsr  	  r[  r   c                r"  )zACheck whether the character is part of ControlPictures UCS
Block )rA   ZxmlUCSIsControlPicturesrS  r   r	   uCSIsControlPicturesr  	  r)  r   c                r"  )zACheck whether the character is part of CurrencySymbols UCS
Block )rA   ZxmlUCSIsCurrencySymbolsrS  r   r	   uCSIsCurrencySymbolsr  	  r)  r   c                r"  )zBCheck whether the character is part of CypriotSyllabary UCS
Block )rA   ZxmlUCSIsCypriotSyllabaryrS  r   r	   uCSIsCypriotSyllabaryr  	  rh  r   c                r"  )z:Check whether the character is part of Cyrillic UCS Block )rA   ZxmlUCSIsCyrillicrS  r   r	   uCSIsCyrillicr  	  r^  r   c                r"  )zDCheck whether the character is part of CyrillicSupplement
UCS Block )rA   ZxmlUCSIsCyrillicSupplementrS  r   r	   uCSIsCyrillicSupplementr  	  r  r   c                r"  )z9Check whether the character is part of Deseret UCS Block )rA   ZxmlUCSIsDeseretrS  r   r	   uCSIsDeseretr  	  rc  r   c                r"  )z<Check whether the character is part of Devanagari UCS Block )rA   ZxmlUCSIsDevanagarirS  r   r	   uCSIsDevanagarir  	  ra  r   c                r"  )z:Check whether the character is part of Dingbats UCS Block )rA   ZxmlUCSIsDingbatsrS  r   r	   uCSIsDingbatsr  	  r^  r   c                r"  )zGCheck whether the character is part of
EnclosedAlphanumerics UCS Block )rA   ZxmlUCSIsEnclosedAlphanumericsrS  r   r	   uCSIsEnclosedAlphanumericsr  	  rq  r   c                r"  )zMCheck whether the character is part of
EnclosedCJKLettersandMonths UCS Block )rA   Z#xmlUCSIsEnclosedCJKLettersandMonthsrS  r   r	    uCSIsEnclosedCJKLettersandMonthsr  	  rX  r   c                r"  )z:Check whether the character is part of Ethiopic UCS Block )rA   ZxmlUCSIsEthiopicrS  r   r	   uCSIsEthiopicr  	  r^  r   c                r"  )zDCheck whether the character is part of GeneralPunctuation
UCS Block )rA   ZxmlUCSIsGeneralPunctuationrS  r   r	   uCSIsGeneralPunctuationr  
  r  r   c                r"  )zACheck whether the character is part of GeometricShapes UCS
Block )rA   ZxmlUCSIsGeometricShapesrS  r   r	   uCSIsGeometricShapesr  
  r)  r   c                r"  )z:Check whether the character is part of Georgian UCS Block )rA   ZxmlUCSIsGeorgianrS  r   r	   uCSIsGeorgianr  
  r^  r   c                r"  )z8Check whether the character is part of Gothic UCS Block )rA   ZxmlUCSIsGothicrS  r   r	   uCSIsGothicr  
  r  r   c                r"  )z7Check whether the character is part of Greek UCS Block )rA   ZxmlUCSIsGreekrS  r   r	   
uCSIsGreekr  
  rl  r   c                r"  )z?Check whether the character is part of GreekExtended UCS
Block )rA   ZxmlUCSIsGreekExtendedrS  r   r	   uCSIsGreekExtendedr  
  rV  r   c                r"  )z@Check whether the character is part of GreekandCoptic UCS
Block )rA   ZxmlUCSIsGreekandCopticrS  r   r	   uCSIsGreekandCopticr  "
       
+
+D
1CJr   c                r"  )z:Check whether the character is part of Gujarati UCS Block )rA   ZxmlUCSIsGujaratirS  r   r	   uCSIsGujaratir  (
  r^  r   c                r"  )z:Check whether the character is part of Gurmukhi UCS Block )rA   ZxmlUCSIsGurmukhirS  r   r	   uCSIsGurmukhir  -
  r^  r   c                r"  )zLCheck whether the character is part of
HalfwidthandFullwidthForms UCS Block )rA   Z"xmlUCSIsHalfwidthandFullwidthFormsrS  r   r	   uCSIsHalfwidthandFullwidthFormsr  2
  rs  r   c                r"  )zICheck whether the character is part of
HangulCompatibilityJamo UCS Block )rA   ZxmlUCSIsHangulCompatibilityJamorS  r   r	   uCSIsHangulCompatibilityJamor  8
  rn  r   c                r"  )z<Check whether the character is part of HangulJamo UCS Block )rA   ZxmlUCSIsHangulJamorS  r   r	   uCSIsHangulJamor  >
  ra  r   c                r"  )zACheck whether the character is part of HangulSyllables UCS
Block )rA   ZxmlUCSIsHangulSyllablesrS  r   r	   uCSIsHangulSyllablesr  C
  r)  r   c                r"  )z9Check whether the character is part of Hanunoo UCS Block )rA   ZxmlUCSIsHanunoorS  r   r	   uCSIsHanunoor  I
  rc  r   c                r"  )z8Check whether the character is part of Hebrew UCS Block )rA   ZxmlUCSIsHebrewrS  r   r	   uCSIsHebrewr  N
  r  r   c                r"  )zJCheck whether the character is part of
HighPrivateUseSurrogates UCS Block )rA   Z xmlUCSIsHighPrivateUseSurrogatesrS  r   r	   uCSIsHighPrivateUseSurrogatesr  S
  r[  r   c                r"  )z@Check whether the character is part of HighSurrogates UCS
Block )rA   ZxmlUCSIsHighSurrogatesrS  r   r	   uCSIsHighSurrogatesr  Y
  r  r   c                r"  )z:Check whether the character is part of Hiragana UCS Block )rA   ZxmlUCSIsHiraganarS  r   r	   uCSIsHiraganar  _
  r^  r   c                r"  )z?Check whether the character is part of IPAExtensions UCS
Block )rA   ZxmlUCSIsIPAExtensionsrS  r   r	   uCSIsIPAExtensionsr  d
  rV  r   c                r"  )zRCheck whether the character is part of
IdeographicDescriptionCharacters UCS Block )rA   Z(xmlUCSIsIdeographicDescriptionCharactersrS  r   r	   %uCSIsIdeographicDescriptionCharactersr  j
  s     
=
=d
CCJr   c                r"  )z8Check whether the character is part of Kanbun UCS Block )rA   ZxmlUCSIsKanbunrS  r   r	   uCSIsKanbunr  p
  r  r   c                r"  )z@Check whether the character is part of KangxiRadicals UCS
Block )rA   ZxmlUCSIsKangxiRadicalsrS  r   r	   uCSIsKangxiRadicalsr  u
  r  r   c                r"  )z9Check whether the character is part of Kannada UCS Block )rA   ZxmlUCSIsKannadarS  r   r	   uCSIsKannadar  {
  rc  r   c                r"  )z:Check whether the character is part of Katakana UCS Block )rA   ZxmlUCSIsKatakanarS  r   r	   uCSIsKatakanar  
  r^  r   c                r"  )zLCheck whether the character is part of
KatakanaPhoneticExtensions UCS Block )rA   Z"xmlUCSIsKatakanaPhoneticExtensionsrS  r   r	   uCSIsKatakanaPhoneticExtensionsr  
  rs  r   c                r"  )z7Check whether the character is part of Khmer UCS Block )rA   ZxmlUCSIsKhmerrS  r   r	   
uCSIsKhmerr  
  rl  r   c                r"  )z>Check whether the character is part of KhmerSymbols UCS
Block )rA   ZxmlUCSIsKhmerSymbolsrS  r   r	   uCSIsKhmerSymbolsr  
  s     
)
)$
/CJr   c                r"  )z5Check whether the character is part of Lao UCS Block )rA   ZxmlUCSIsLaorS  r   r	   uCSIsLaor  
  s    

 
 
&CJr   c                r"  )zCCheck whether the character is part of Latin-1Supplement
UCS Block )rA   ZxmlUCSIsLatin1SupplementrS  r   r	   uCSIsLatin1Supplementr  
  rh  r   c                r"  )zACheck whether the character is part of LatinExtended-A UCS
Block )rA   ZxmlUCSIsLatinExtendedArS  r   r	   uCSIsLatinExtendedAr  
  r  r   c                r"  )zICheck whether the character is part of
LatinExtendedAdditional UCS Block )rA   ZxmlUCSIsLatinExtendedAdditionalrS  r   r	   uCSIsLatinExtendedAdditionalr  
  rn  r   c                r"  )zACheck whether the character is part of LatinExtended-B UCS
Block )rA   ZxmlUCSIsLatinExtendedBrS  r   r	   uCSIsLatinExtendedBr  
  r  r   c                r"  )zCCheck whether the character is part of LetterlikeSymbols
UCS Block )rA   ZxmlUCSIsLetterlikeSymbolsrS  r   r	   uCSIsLetterlikeSymbolsr  
       
.
.t
4CJr   c                r"  )z7Check whether the character is part of Limbu UCS Block )rA   ZxmlUCSIsLimburS  r   r	   
uCSIsLimbur  
  rl  r   c                r"  )zBCheck whether the character is part of LinearBIdeograms UCS
Block )rA   ZxmlUCSIsLinearBIdeogramsrS  r   r	   uCSIsLinearBIdeogramsr  
  rh  r   c                r"  )zBCheck whether the character is part of LinearBSyllabary UCS
Block )rA   ZxmlUCSIsLinearBSyllabaryrS  r   r	   uCSIsLinearBSyllabaryr  
  rh  r   c                r"  )z?Check whether the character is part of LowSurrogates UCS
Block )rA   ZxmlUCSIsLowSurrogatesrS  r   r	   uCSIsLowSurrogatesr  
  rV  r   c                r"  )z;Check whether the character is part of Malayalam UCS Block )rA   ZxmlUCSIsMalayalamrS  r   r	   uCSIsMalayalamr  
  rD  r   c                r"  )zQCheck whether the character is part of
MathematicalAlphanumericSymbols UCS Block )rA   Z'xmlUCSIsMathematicalAlphanumericSymbolsrS  r   r	   $uCSIsMathematicalAlphanumericSymbolsr  
  s     
<
<T
BCJr   c                r"  )zGCheck whether the character is part of
MathematicalOperators UCS Block )rA   ZxmlUCSIsMathematicalOperatorsrS  r   r	   uCSIsMathematicalOperatorsr  
  rq  r   c                r"  )zTCheck whether the character is part of
MiscellaneousMathematicalSymbols-A UCS Block )rA   Z)xmlUCSIsMiscellaneousMathematicalSymbolsArS  r   r	   &uCSIsMiscellaneousMathematicalSymbolsAr  
       
>
>t
DCJr   c                r"  )zTCheck whether the character is part of
MiscellaneousMathematicalSymbols-B UCS Block )rA   Z)xmlUCSIsMiscellaneousMathematicalSymbolsBrS  r   r	   &uCSIsMiscellaneousMathematicalSymbolsBr  
  r  r   c                r"  )zFCheck whether the character is part of MiscellaneousSymbols
UCS Block )rA   ZxmlUCSIsMiscellaneousSymbolsrS  r   r	   uCSIsMiscellaneousSymbolsr  
  rx  r   c                r"  )zOCheck whether the character is part of
MiscellaneousSymbolsandArrows UCS Block )rA   Z%xmlUCSIsMiscellaneousSymbolsandArrowsrS  r   r	   "uCSIsMiscellaneousSymbolsandArrowsr  
  s     
:
:4
@CJr   c                r"  )zHCheck whether the character is part of
MiscellaneousTechnical UCS Block )rA   ZxmlUCSIsMiscellaneousTechnicalrS  r   r	   uCSIsMiscellaneousTechnicalr  
       
3
3D
9CJr   c                r"  )z;Check whether the character is part of Mongolian UCS Block )rA   ZxmlUCSIsMongolianrS  r   r	   uCSIsMongolianr  
  rD  r   c                r"  )z@Check whether the character is part of MusicalSymbols UCS
Block )rA   ZxmlUCSIsMusicalSymbolsrS  r   r	   uCSIsMusicalSymbolsr    r  r   c                r"  )z9Check whether the character is part of Myanmar UCS Block )rA   ZxmlUCSIsMyanmarrS  r   r	   uCSIsMyanmarr  
  rc  r   c                r"  )z=Check whether the character is part of NumberForms UCS Block )rA   ZxmlUCSIsNumberFormsrS  r   r	   uCSIsNumberFormsr        

(
(
.CJr   c                r"  )z7Check whether the character is part of Ogham UCS Block )rA   ZxmlUCSIsOghamrS  r   r	   
uCSIsOghamr    rl  r   c                r"  )z;Check whether the character is part of OldItalic UCS Block )rA   ZxmlUCSIsOldItalicrS  r   r	   uCSIsOldItalicr    rD  r   c                r"  )zMCheck whether the character is part of
OpticalCharacterRecognition UCS Block )rA   Z#xmlUCSIsOpticalCharacterRecognitionrS  r   r	    uCSIsOpticalCharacterRecognitionr    rX  r   c                r"  )z7Check whether the character is part of Oriya UCS Block )rA   ZxmlUCSIsOriyarS  r   r	   
uCSIsOriyar  $  rl  r   c                r"  )z9Check whether the character is part of Osmanya UCS Block )rA   ZxmlUCSIsOsmanyarS  r   r	   uCSIsOsmanyar  )  rc  r   c                r"  )zDCheck whether the character is part of PhoneticExtensions
UCS Block )rA   ZxmlUCSIsPhoneticExtensionsrS  r   r	   uCSIsPhoneticExtensionsr  .  r  r   c                r"  )z<Check whether the character is part of PrivateUse UCS Block )rA   ZxmlUCSIsPrivateUserS  r   r	   uCSIsPrivateUser  4  ra  r   c                r"  )z@Check whether the character is part of PrivateUseArea UCS
Block )rA   ZxmlUCSIsPrivateUseArearS  r   r	   uCSIsPrivateUseArear  9  r  r   c                r"  )z7Check whether the character is part of Runic UCS Block )rA   ZxmlUCSIsRunicrS  r   r	   
uCSIsRunicr  ?  rl  r   c                r"  )z9Check whether the character is part of Shavian UCS Block )rA   ZxmlUCSIsShavianrS  r   r	   uCSIsShavianr  D  rc  r   c                r"  )z9Check whether the character is part of Sinhala UCS Block )rA   ZxmlUCSIsSinhalarS  r   r	   uCSIsSinhalar  I  rc  r   c                r"  )zCCheck whether the character is part of SmallFormVariants
UCS Block )rA   ZxmlUCSIsSmallFormVariantsrS  r   r	   uCSIsSmallFormVariantsr  N  r  r   c                r"  )zHCheck whether the character is part of
SpacingModifierLetters UCS Block )rA   ZxmlUCSIsSpacingModifierLettersrS  r   r	   uCSIsSpacingModifierLettersr  T  r  r   c                r"  )z:Check whether the character is part of Specials UCS Block )rA   ZxmlUCSIsSpecialsrS  r   r	   uCSIsSpecialsr  Z  r^  r   c                r"  )zKCheck whether the character is part of
SuperscriptsandSubscripts UCS Block )rA   Z!xmlUCSIsSuperscriptsandSubscriptsrS  r   r	   uCSIsSuperscriptsandSubscriptsr  _  r  r   c                r"  )zFCheck whether the character is part of SupplementalArrows-A
UCS Block )rA   ZxmlUCSIsSupplementalArrowsArS  r   r	   uCSIsSupplementalArrowsAr  e       
0
0
6CJr   c                r"  )zFCheck whether the character is part of SupplementalArrows-B
UCS Block )rA   ZxmlUCSIsSupplementalArrowsBrS  r   r	   uCSIsSupplementalArrowsBr  k  r  r   c                r"  )zSCheck whether the character is part of
SupplementalMathematicalOperators UCS Block )rA   Z)xmlUCSIsSupplementalMathematicalOperatorsrS  r   r	   &uCSIsSupplementalMathematicalOperatorsr  q  r  r   c                r"  )zOCheck whether the character is part of
SupplementaryPrivateUseArea-A UCS Block )rA   Z$xmlUCSIsSupplementaryPrivateUseAreaArS  r   r	   !uCSIsSupplementaryPrivateUseAreaAr  w       
9
9$
?CJr   c                r"  )zOCheck whether the character is part of
SupplementaryPrivateUseArea-B UCS Block )rA   Z$xmlUCSIsSupplementaryPrivateUseAreaBrS  r   r	   !uCSIsSupplementaryPrivateUseAreaBr  }  r  r   c                r"  )z8Check whether the character is part of Syriac UCS Block )rA   ZxmlUCSIsSyriacrS  r   r	   uCSIsSyriacr    r  r   c                r"  )z9Check whether the character is part of Tagalog UCS Block )rA   ZxmlUCSIsTagalogrS  r   r	   uCSIsTagalogr     rc  r   c                r"  )z:Check whether the character is part of Tagbanwa UCS Block )rA   ZxmlUCSIsTagbanwarS  r   r	   uCSIsTagbanwar    r^  r   c                r"  )z6Check whether the character is part of Tags UCS Block )rA   ZxmlUCSIsTagsrS  r   r	   	uCSIsTagsr    r  r   c                r"  )z7Check whether the character is part of TaiLe UCS Block )rA   ZxmlUCSIsTaiLerS  r   r	   
uCSIsTaiLer    rl  r   c                r"  )zDCheck whether the character is part of TaiXuanJingSymbols
UCS Block )rA   ZxmlUCSIsTaiXuanJingSymbolsrS  r   r	   uCSIsTaiXuanJingSymbolsr    r  r   c                r"  )z7Check whether the character is part of Tamil UCS Block )rA   ZxmlUCSIsTamilrS  r   r	   
uCSIsTamilr    rl  r   c                r"  )z8Check whether the character is part of Telugu UCS Block )rA   ZxmlUCSIsTelugurS  r   r	   uCSIsTelugur    r  r   c                r"  )z8Check whether the character is part of Thaana UCS Block )rA   ZxmlUCSIsThaanarS  r   r	   uCSIsThaanar    r  r   c                r"  )z6Check whether the character is part of Thai UCS Block )rA   ZxmlUCSIsThairS  r   r	   	uCSIsThair    r  r   c                r"  )z9Check whether the character is part of Tibetan UCS Block )rA   ZxmlUCSIsTibetanrS  r   r	   uCSIsTibetanr	    rc  r   c                r"  )z:Check whether the character is part of Ugaritic UCS Block )rA   ZxmlUCSIsUgariticrS  r   r	   uCSIsUgariticr
    r^  r   c                r"  )zTCheck whether the character is part of
UnifiedCanadianAboriginalSyllabics UCS Block )rA   Z*xmlUCSIsUnifiedCanadianAboriginalSyllabicsrS  r   r	   'uCSIsUnifiedCanadianAboriginalSyllabicsr    s     
?
?
ECJr   c                r"  )zDCheck whether the character is part of VariationSelectors
UCS Block )rA   ZxmlUCSIsVariationSelectorsrS  r   r	   uCSIsVariationSelectorsr    r  r   c                r"  )zNCheck whether the character is part of
VariationSelectorsSupplement UCS Block )rA   Z$xmlUCSIsVariationSelectorsSupplementrS  r   r	   !uCSIsVariationSelectorsSupplementr    r  r   c                r"  )z<Check whether the character is part of YiRadicals UCS Block )rA   ZxmlUCSIsYiRadicalsrS  r   r	   uCSIsYiRadicalsr    ra  r   c                r"  )z=Check whether the character is part of YiSyllables UCS Block )rA   ZxmlUCSIsYiSyllablesrS  r   r	   uCSIsYiSyllablesr    r  r   c                r"  )zGCheck whether the character is part of
YijingHexagramSymbols UCS Block )rA   ZxmlUCSIsYijingHexagramSymbolsrS  r   r	   uCSIsYijingHexagramSymbolsr    rq  r   c                ry  )zjcheck the compiled lib version against the include one.
This can warn or immediately kill the application N)rA   ZxmlCheckVersion)r   r    r	   checkVersionr    s     w'r   c                r  )z/Pops the top XPath object from the value stack N)r-   rA   valuePopr  r   r	   r  r    s)    |tWGG'


g
&CJr   c                   s  a  ] tR tRt o RjR ltR tR tR tR tR t	R	 t
R
 tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR t R  t!R! t"R" t#R# t$R$ t%R% t&R& t'R' t(R( t)R) t*R* t+R+ t,R, t-R- t.R. t/R/ t0R0 t1R1 t2R2 t3R3 t4R4 t5R5 t6R6 t7R7 t8R8 t9R9 t:R: t;R; t<R< t=R= t>R> t?R? t@R@ tARA tBRB tCRC tDRD tERE tFRF tGRG tHRH tIRI tJRJ tKRK tLRL tMRM tNRN tORO tPRP tQRQ tRRR tSRS tTRT tURU tVRV tWRW tXRX tYRY tZRZ t[R[ t\R\ t]R] t^R^ t_R_ t`R` taRa tbRb tcRc tdRd teRe tfRf tgRg thRh tiRitjV tkR# )kr     Nc                t    \        V4      ^ 8w  d   \        R4      hWn        \        P	                  WR7       R# )r    z'xmlNode got a wrong wrapper object typer   N)r   	TypeErrorr-   r}   r   r.   r   r	   r   ZxmlNode.__init__  0    "Y?h5i/i)r   c                P    R V P                   \        \        V 4      4      3,          # )z<xmlNode (%s) object at 0x%x>r_   Zintr   r   r    r	   __repr__ZxmlNode.__repr__      .$))S=O1PPPr   c                j    \         P                  ! V P                  4      pVf   R# \        VR7      pV# zGet the namespace of a node Nr   )rA   ZxmlNodeGetNsr-   r   r   r9   _xmlNode__tmpr   r	   nsZ
xmlNode.ns   s+    %%dgg.;d3r   c                r  r  )rA   ZxmlNodeGetNsDefsr-   r   r  r   r	   nsDefsZxmlNode.nsDefs  s+    ))$''2;d3r   c                H    \         P                  ! WP                  V4       R# )z>Dumps debug information for the element node, it is
recursive N)rA   ZxmlDebugDumpNoder-   r   r  Zdepthr>   r	   debugDumpNodeZxmlNode.debugDumpNode  s     	##FGGU;r   c                r!  )zFDumps debug information for the list of element node, it is
recursive N)rA   ZxmlDebugDumpNodeListr-   r"  r>   r	   debugDumpNodeListZxmlNode.debugDumpNodeList  s     	''?r   c                r!  )zBDumps debug information for the element node, it is not
recursive N)rA   ZxmlDebugDumpOneNoder-   r"  r>   r	   debugDumpOneNodeZxmlNode.debugDumpOneNode  s     	&&vww>r   c                r   )zCount the children of @node. )rA   ZxmlLsCountNoder-   r   r   r	   lsCountNodeZxmlNode.lsCountNode!      ''0
r   c                F    \         P                  ! WP                  4       R# )z,Dump to @output the type and name of @node. N)rA   ZxmlLsOneNoder-   r   r  r   r	   	lsOneNodeZxmlNode.lsOneNode&  s    0r   c                F    \         P                  ! V P                  4       R# )zPrint node to the output FILE N)rA   ZxmlShellPrintNoder-   r   r    r	   shellPrintNodeZxmlNode.shellPrintNode*  s    $$TWW-r   c                    Vf   RpMVP                   p\        P                  ! V P                   V4      pVf   \        R4      h\	        VR7      pV# )a4  Add a new node to @parent, at the end of the child (or
property) list merging adjacent TEXT nodes (in which case
@cur is freed) If the new node is ATTRIBUTE, it is added
into properties instead of children. If there is an
attribute with equal name, it is first destroyed.  All tree
manipulation functions can safely move nodes within a
document. But when moving nodes from one document to
another, references to namespaces in element or attribute
nodes are NOT fixed. In this case, you MUST call
xmlReconciliateNs after the move operation to avoid memory
 errors. NzxmlAddChild() failedr   )r-   rA   ZxmlAddChildr   r   r   r1  cur__or9   r  r:   r	   addChildZxmlNode.addChild2  sK     ;vvf$$TWWf5;Y'=>>S!r   c                r-  )zAdd a list of node at the end of the child list of the
parent merging adjacent TEXT nodes (@cur may be freed)  See
 the note regarding namespaces in xmlAddChild. NzxmlAddChildList() failedr   )r-   rA   ZxmlAddChildListr   r   r.  r:   r	   addChildListZxmlNode.addChildListE  sK     ;vvf((&9;Y'ABBS!r   c                H    \         P                  ! V P                  V4       R# )zAppend the extra substring to the node content. NOTE: In
contrast to xmlNodeSetContent(), @content is supposed to be
raw text, so unescaped XML special chars are allowed,
 entity references are not supported. N)rA   ZxmlNodeAddContentr-   rd   r   r	   
addContentZxmlNode.addContentP      
 	$$TWWg6r   c                r   )zAppend the extra substring to the node content. NOTE: In
contrast to xmlNodeSetContentLen(), @content is supposed to
be raw text, so unescaped XML special chars are allowed,
 entity references are not supported. N)rA   ZxmlNodeAddContentLenr-   r   re   r8   r>   r	   addContentLenZxmlNode.addContentLenW      
 	''>r   c                r-  )a  Add a new node @elem as the next sibling of @cur If the new
node was already inserted in a document it is first
unlinked from its existing context. As a result of text
merging @elem may be freed. If the new node is ATTRIBUTE,
it is added into properties instead of children. If there
is an attribute with equal name, it is first destroyed. 
 See the note regarding namespaces in xmlAddChild. NzxmlAddNextSibling() failedr   )r-   rA   ZxmlAddNextSiblingr   r   r   rq   elem__or9   r  r:   r	   addNextSiblingZxmlNode.addNextSibling^  sK     <4g**477G<;Y'CDDS!r   c                r-  )a  Add a new node @elem as the previous sibling of @cur
merging adjacent TEXT nodes (@elem may be freed) If the new
node was already inserted in a document it is first
unlinked from its existing context. If the new node is
ATTRIBUTE, it is added into properties instead of children.
If there is an attribute with equal name, it is first
destroyed.  See the note regarding namespaces in
 xmlAddChild. NzxmlAddPrevSibling() failedr   )r-   rA   ZxmlAddPrevSiblingr   r   r8  r:   r	   addPrevSiblingZxmlNode.addPrevSiblingm  sK     <4g**477G<;Y'CDDS!r   c                r-  )a  Add a new element @elem to the list of siblings of @cur
merging adjacent TEXT nodes (@elem may be freed) If the new
element was already inserted in a document it is first
unlinked from its existing context.  See the note regarding
 namespaces in xmlAddChild. NzxmlAddSibling() failedr   )r-   rA   ZxmlAddSiblingr   r   r8  r:   r	   
addSiblingZxmlNode.addSibling}  sK     <4g&&tww8;Y'?@@S!r   c                ~    \         P                  ! V P                  V4      pVf   \        R4      h\	        VR7      pV# )zDo a copy of the node. zxmlCopyNode() failedr   )rA   ZxmlCopyNoder-   r   r   )r   extendedr9   r  r   r	   copyNodeZxmlNode.copyNode  s7    $$TWWh7;Y'=>>S!r   c                |    \         P                  ! V P                  4      pVf   \        R4      h\	        VR7      pV# )zgDo a recursive copy of the node list. Use
xmlDocCopyNodeList() if possible to ensure string interning. zxmlCopyNodeList() failedr   )rA   ZxmlCopyNodeListr-   r   r   r  r   r	   copyNodeListZxmlNode.copyNodeList  s7     ((1;Y'ABBS!r   c                r-  zDo a copy of the attribute. NzxmlCopyProp() failedr   r-   rA   ZxmlCopyPropr   r   r.  r:   r	   copyPropZxmlNode.copyProp  sI    ;vvf$$TWWf5;Y'=>>S!r   c                r-  z Do a copy of an attribute list. NzxmlCopyPropList() failedr   r-   rA   ZxmlCopyPropListr   r   r.  r:   r	   copyPropListZxmlNode.copyPropList  sI    ;vvf((&9;Y'ABBS!r   c                    Vf   RpMVP                   p\        P                  ! V P                   W24      pVf   \        R4      h\	        VR7      pV# z+Do a copy of the node to a given document. NzxmlDocCopyNode() failedr   r-   rA   ZxmlDocCopyNoder   r   )r   r   r>  doc__or9   r     &&&   r	   docCopyNodeZxmlNode.docCopyNode  sI    ;vvf''B;Y'@AAS!r   c                    Vf   RpMVP                   p\        P                  ! W P                   4      pVf   \        R4      h\	        VR7      pV# z&Do a recursive copy of the node list. NzxmlDocCopyNodeList() failedr   r-   rA   ZxmlDocCopyNodeListr   r   r   r   rK  r9   r  r:   r	   docCopyNodeListZxmlNode.docCopyNodeList  sG    ;vvf++FGG<;Y'DEES!r   c                s    Vf   RpMVP                   p\        P                  ! W P                   4      pVf   R# \        VR7      pV# zkSet the root element of the document (doc->children is a
list containing possibly comments, PIs, etc ...). Nr   r-   rA   ZxmlDocSetRootElementr   rQ  r:   r	   docSetRootElementZxmlNode.docSetRootElement  s@     ;vvf--fgg>;dS!r   c                r  )zFinds the first child node of that element which is a
Element node Note the handling of entities references is
different than in the W3C DOM element traversal spec since
we don't have back reference from entities content to
 entities references. Nr   )rA   ZxmlFirstElementChildr-   r   r  r   r	   firstElementChildZxmlNode.firstElementChild  s.     --dgg6;dS!r   c                r+  )zFree a node, this is a recursive behaviour, all the
children are freed too. This doesn't unlink the child from
 the list, use xmlUnlinkNode() first. N)rA   ZxmlFreeNoder-   r   r    r	   freeNodeZxmlNode.freeNode  s     	tww'r   c                r+  )zaFree a node and all its siblings, this is a recursive
behaviour, all the children are freed too. N)rA   ZxmlFreeNodeListr-   r   r    r	   freeNodeListZxmlNode.freeNodeList       	""477+r   c                l    Vf   RpMVP                   p\        P                  ! W P                   4      pV# a_  Searches for the BASE URL. The code should work on both XML
and HTML document even if base mechanisms are completely
different. It returns the base as defined in RFC 2396
sections 5.1.1. Base URI within Document Content and 5.1.2.
Base URI from the Encapsulating Entity However it does not
 return the document base (5.1.3), use doc->URL in this case Nr-   rA   ZxmlNodeGetBaser   r   rK  r9   r   r	   getBaseZxmlNode.getBase  s/     ;vvf''8
r   c                r   )zRead the value of a node, this can be either the text
carried directly by this node if it's a TEXT node or the
aggregate string of the values carried by this node child's
 (TEXT and ENTITY_REF). Entity references are substituted. r   r   r   r	   r   ZxmlNode.getContent      
 **4773
r   c                r   )zxSearches the language of a node, i.e. the values of the
xml:lang attribute or the one carried by the nearest
 ancestor. )rA   ZxmlNodeGetLangr-   r   r   r	   getLangZxmlNode.getLang  s     ''0
r   c                r   )zSearches the space preserving behaviour of a node, i.e. the
values of the xml:space attribute or the one carried by the
 nearest ancestor. )rA   ZxmlNodeGetSpacePreserver-   r   r   r	   getSpacePreserveZxmlNode.getSpacePreserve  s     009
r   c                sl    \         P                  ! V P                  W4      pVf   R# \        VR7      pV# )aS  Search for an attribute associated to a node This attribute
has to be anchored in the namespace specified. This does
the entity substitution. This function looks in DTD
attribute declaration for #FIXED or default declaration
values unless DTD use has been turned off. Note that a
 namespace of None indicates to use the default namespace. Nr   )rA   ZxmlHasNsPropr-   r   )r   r_   	nameSpacer9   r     &&&  r	   	hasNsPropZxmlNode.hasNsProp  s0     %%dggt?;dS!r   c                r   )zSearch an attribute associated to a node This function also
looks in DTD attribute declaration for #FIXED or default
 declaration values unless DTD use has been turned off. Nr   )rA   Z
xmlHasPropr-   r   )r   r_   r9   r  r   r	   hasPropZxmlNode.hasProp  s0     ##DGGT2;dS!r   c                r   )z\Checks whether this node is an empty or whitespace only
(and possibly ignorable) text-node. )rA   ZxmlIsBlankNoder-   r   r   r	   isBlankNodeZxmlNode.isBlankNode  s     ''0
r   c                r   )zIs this node a Text node ? )rA   ZxmlNodeIsTextr-   r   r   r	   isTextZxmlNode.isText      &&tww/
r   c                r@  )z!Search the last child of a node. zxmlGetLastChild() failedr   )rA   ZxmlGetLastChildr-   r   r   r  r   r	   	lastChildZxmlNode.lastChild  s5    ((1;Y'ABBS!r   c                r  )zFinds the last child node of that element which is a
Element node Note the handling of entities references is
different than in the W3C DOM element traversal spec since
we don't have back reference from entities content to
 entities references. Nr   )rA   ZxmlLastElementChildr-   r   r  r   r	   lastElementChildZxmlNode.lastElementChild&  s.     ,,TWW5;dS!r   c                r   )zGet line number of @node. Try to override the limitation of
lines being store in 16 bits ints if XML_PARSE_BIG_LINES
 parser option was used )rA   ZxmlGetLineNor-   r   r   r	   lineNoZxmlNode.lineNo1  s     %%dgg.
r   c                n    Vf   RpMVP                   p\        P                  ! W0P                   V4      pV# zBuilds the string equivalent to the text contained in the
Node list made of TEXTs and ENTITY_REFs, contrary to
xmlNodeListGetString() this function doesn't do any
 character encoding handling. Nr-   rA   ZxmlNodeListGetRawStringr   r   inLinerK  r9   rc  r	   listGetRawStringZxmlNode.listGetRawString8  s1    
 ;vvf00&I
r   c                rl  zaBuild the string equivalent to the text contained in the
Node list made of TEXTs and ENTITY_REFs Nr-   rA   ZxmlNodeListGetStringro  rc  r	   listGetStringZxmlNode.listGetStringB  s1     ;vvf--fggvF
r   c                    Vf   RpMVP                   p\        P                  ! V P                   WBV4      pVf   \        R4      h\	        VR7      pV# a  Creation of a new child element, added at the end of
@parent children list. @ns and @content parameters are
optional (None). If @ns is None, the newly created element
inherits the namespace of @parent. If @content is non None,
a child list containing the TEXTs and ENTITY_REFs node will
be created. NOTE: @content is supposed to be a piece of XML
CDATA, so it allows entity references. XML special chars
must be escaped first by using
xmlEncodeEntitiesReentrant(), or xmlNewTextChild() should
 be used. NzxmlNewChild() failedr   r-   rA   ZxmlNewChildr   r   r   r  r_   re   ns__or9   r     &&&&   r	   newChildZxmlNode.newChildJ  sM     :tueee$$TWWe7C;Y'=>>S!r   c                ~    \         P                  ! V P                  W4      pVf   \        R4      h\	        VR7      pV# )a%  Creation of a new Namespace. This function will refuse to
create a namespace with a similar prefix than an existing
one present on this node. Note that for a default
namespace, @prefix should be None.  We use href==None in
the case of an element creation where the namespace was not
 defined. zxmlNewNs() failedr   )rA   ZxmlNewNsr-   r   r   )r   r   r  r9   r  rc  r	   newNsZxmlNode.newNs\  s8     !!$''48;Y':;;3r   c                ru  ECreate a new property tagged with a namespace and carried
by a node. NzxmlNewNsProp() failedr   r-   rA   ZxmlNewNsPropr   r   r   r  r_   rc  ry  r9   r  rz  r	   	newNsPropZxmlNode.newNsProph  M     :tueee%%dgguEB;Y'>??S!r   c                ru  r  NzxmlNewNsPropEatName() failedr   r-   rA   ZxmlNewNsPropEatNamer   r   r  rz  r	   newNsPropEatNameZxmlNode.newNsPropEatNamer  sM     :tueee,,TWWe5I;Y'EFFS!r   c                r|  )z)Create a new property carried by a node. zxmlNewProp() failedr   )rA   Z
xmlNewPropr-   r   r   r   r_   rc  r9   r  rc  r	   newPropZxmlNode.newProp|  s7    ##DGGT9;Y'<==S!r   c                ru  an  Creation of a new child element, added at the end of
@parent children list. @ns and @content parameters are
optional (None). If @ns is None, the newly created element
inherits the namespace of @parent. If @content is non None,
a child TEXT node will be created containing the string
@content. NOTE: Use xmlNewChild() if @content will contain
entities that need to be preserved. Use this function,
xmlNewTextChild(), if you need to ensure that reserved XML
chars that might appear in @content, such as the ampersand,
greater-than or less-than signs, are automatically replaced
 by their XML escaped entity representations. NzxmlNewTextChild() failedr   r-   rA   ZxmlNewTextChildr   r   rx  rz  r	   newTextChildZxmlNode.newTextChild  sM     :tueee((%wG;Y'ABBS!r   c                r  )zFinds the first closest next sibling of the node which is
an element node. Note the handling of entities references
is different than in the W3C DOM element traversal spec
since we don't have back reference from entities content to
 entities references. Nr   )rA   ZxmlNextElementSiblingr-   r   r  r   r	   nextElementSiblingZxmlNode.nextElementSibling  s.     ..tww7;dS!r   c                H    \         P                  ! V P                  V4      pV# )a@  Search and get the value of an attribute associated to a
node This does the entity substitution. This function looks
in DTD attribute declaration for #FIXED or default
declaration values unless DTD use has been turned off. This
function is similar to xmlGetProp except it will accept
 only an attribute in no namespace. )rA   ZxmlGetNoNsPropr-   r   r_   r9   r   r	   noNsPropZxmlNode.noNsProp  s     ''6
r   c                r   )z0Build a structure based Path for the given node )rA   ZxmlGetNodePathr-   r   r   r	   nodePathZxmlNode.nodePath  r'  r   c                H    \         P                  ! V P                  W4      pV# )a  Search and get the value of an attribute associated to a
node This attribute has to be anchored in the namespace
specified. This does the entity substitution. This function
looks in DTD attribute declaration for #FIXED or default
 declaration values unless DTD use has been turned off. )rA   ZxmlGetNsPropr-   )r   r_   rb  r9   rL   r	   nsPropZxmlNode.nsProp  s     %%dggt?
r   c                r  )a  Finds the first closest previous sibling of the node which
is an element node. Note the handling of entities
references is different than in the W3C DOM element
traversal spec since we don't have back reference from
 entities content to entities references. Nr   )rA   ZxmlPreviousElementSiblingr-   r   r  r   r	   previousElementSiblingZxmlNode.previousElementSibling  s.     22477;;dS!r   c                r  )ay  Search and get the value of an attribute associated to a
node This does the entity substitution. This function looks
in DTD attribute declaration for #FIXED or default
declaration values unless DTD use has been turned off.
NOTE: this function acts independently of namespaces
associated to the attribute. Use xmlGetNsProp() or
 xmlGetNoNsProp() for namespace aware processing. )rA   Z
xmlGetPropr-   r  r   r	   propZxmlNode.prop  s     ##DGGT2
r   c                rZ  a  This function checks that all the namespaces declared
within the given tree are properly declared. This is needed
for example after Copy or Cut and then paste operations.
The subtree may still hold pointers to namespace
declarations outside the subtree or invalid/masked. As much
as possible the function try to reuse the existing
namespaces found in the new environment. If not possible
the new namespaces are redeclared on @tree at the top of
 the given subtree. Nr-   rA   ZxmlReconciliateNsr]  r   r	   reconciliateNsZxmlNode.reconciliateNs  s/     ;vvf**677;
r   c                r-  )zUnlink the old node from its current context, prune the new
one at the same place. If @cur was already inserted in a
document it is first unlinked from its existing context. 
 See the note regarding namespaces in xmlAddChild. NzxmlReplaceNode() failedr   )r-   rA   ZxmlReplaceNoder   r   r.  r:   r	   replaceNodeZxmlNode.replaceNode  sK    
 ;vvf''8;Y'@AAS!r   c                    Vf   RpMVP                   p\        P                  ! W0P                   V4      pVf   \        R4      h\	        VR7      pV# a  Search a Ns registered under a given name space for a
document. recurse on the parents until it finds the defined
namespace or return None otherwise. @nameSpace can be None,
this is a search for the default namespace. We don't allow
to cross entities boundaries. If you don't declare the
namespace within those you will be in troubles !!! A
 warning is generated to cover this case. NzxmlSearchNs() failedr   r-   rA   ZxmlSearchNsr   r   )r   r   rb  rK  r9   r  rL  r	   searchNsZxmlNode.searchNs  sJ     ;vvf$$VWWi@;Y'=>>3r   c                r  zySearch a Ns aliasing a given URI. Recurse on the parents
until it finds the defined namespace or return None
 otherwise. NzxmlSearchNsByHref() failedr   r-   rA   ZxmlSearchNsByHrefr   r   )r   r   r   rK  r9   r  rL  r	   searchNsByHrefZxmlNode.searchNsByHref  sJ     ;vvf**677DA;Y'CDD3r   c                r2  )zQSet (or reset) the base URI of a node, i.e. the value of
the xml:base attribute. N)rA   ZxmlNodeSetBaser-   r   r   r	   setBaseZxmlNode.setBase  s     	!!$''3/r   c                r2  zReplace the content of a node. NOTE: @content is supposed
to be a piece of XML CDATA, so it allows entity references,
but XML special chars need to be escaped first by using
 xmlEncodeEntitiesReentrant() resp. xmlEncodeSpecialChars(). N)rA   ZxmlNodeSetContentr-   rd   r   r	   
setContentZxmlNode.setContent	  r4  r   c                r   r  )rA   ZxmlNodeSetContentLenr-   r5  r>   r	   setContentLenZxmlNode.setContentLen  r7  r   c                r2  )zGSet the language of a node, i.e. the values of the xml:lang
attribute. N)rA   ZxmlNodeSetLangr-   )r   r  r   r	   setLangZxmlNode.setLang  s     	!!$''40r   c                n    Vf   RpMVP                   p\        P                  ! V P                   V4       R# z<update all nodes in the list to point to the right document Nr-   rA   ZxmlSetListDocr   r   rK  r   r	   
setListDocZxmlNode.setListDoc  s(    ;vvf  &1r   c                r2  )z#Set (or reset) the name of a node. N)rA   ZxmlNodeSetNamer-   r^   r   r	   setNameZxmlNode.setName"  s    !!$''40r   c                r  z/Associate a namespace to a node, a posteriori. Nr-   rA   ZxmlSetNs)r   r  ry  r   r	   setNsZxmlNode.setNs&  s(    :tueeeDGGU+r   c                ru  zfSet (or reset) an attribute carried by a node. The ns
structure must be in scope, this is not checked NzxmlSetNsProp() failedr   r-   rA   ZxmlSetNsPropr   r   r  rz  r	   	setNsPropZxmlNode.setNsProp,  r  r   c                r|  )zSet (or reset) an attribute carried by a node. If @name has
a prefix, then the corresponding namespace-binding will be
used, if in scope; it is an error it there's no such
 ns-binding for the prefix in scope. zxmlSetProp() failedr   )rA   Z
xmlSetPropr-   r   r   r  rc  r	   setPropZxmlNode.setProp6  s9    
 ##DGGT9;Y'<==S!r   c                r2  )zdSet (or reset) the space preserving behaviour of a node,
i.e. the value of the xml:space attribute. N)rA   ZxmlNodeSetSpacePreserver-   )r   r%  r   r	   setSpacePreserveZxmlNode.setSpacePreserve@  s     	**477C8r   c                r  z?update all nodes under the tree to point to the right
document Nr-   rA   ZxmlSetTreeDocr  r   r	   
setTreeDocZxmlNode.setTreeDocE  s*     ;vvf  &1r   c                r  )z@Concat the given string at the end of the existing node
content )rA   ZxmlTextConcatr-   )r   re   r8   r9   rL   r	   
textConcatZxmlNode.textConcatL  s     &&tww=
r   c                r-  )zMerge two text nodes into one NzxmlTextMerge() failedr   )r-   rA   ZxmlTextMerger   r   )r   ZsecondZ	second__or9   r  r:   r	   	textMergeZxmlNode.textMergeR  sI    >t9 ))i%%dggy9;Y'>??S!r   c                r+  )zUnlink a node from it's current context, the node is not
freed If one need to free the node, use xmlFreeNode()
routine after the unlink to discard it. Note that namespace
nodes can't be unlinked as they do not have pointer to
 their parent. N)rA   ZxmlUnlinkNoder-   r   r    r	   
unlinkNodeZxmlNode.unlinkNode[  s     	  )r   c                n    Vf   RpMVP                   p\        P                  ! V P                   W24      pV# z'Remove an attribute carried by a node. Nr-   rA   ZxmlUnsetNsProp)r   r  r_   ry  r9   rc  r	   unsetNsPropZxmlNode.unsetNsPropc  s/    :tueee''=
r   c                r  )zURemove an attribute carried by a node. This handles only
attributes in no namespace. )rA   ZxmlUnsetPropr-   r  r   r	   	unsetPropZxmlNode.unsetPropj  s     %%dggt4
r   c                    Vf   RpMVP                   pVf   RpMVP                   p\        P                  ! W0P                   V4      pV# zDetermine whether an attribute is of type ID. In case we
have DTD(s) then this is done if DTD loading has been
requested. In the case of HTML documents parsed with the
 HTML parser, then ID detection is done systematically. Nr-   rA   ZxmlIsIDr   r   r   rK  attr__or9   rL  r	   isIDZxmlNode.isIDt  sC    
 ;vvf<4g  ':
r   c                r  zDEPRECATED, do not use. This function will be removed from
the public API.  Determine whether an attribute is of type
Ref. In case we have DTD(s) then this is simple, otherwise
 we use an heuristic: name Ref (upper or lowercase). Nr-   rA   ZxmlIsRefr  rL  r	   isRefZxmlNode.isRef  sC    
 ;vvf<4g!!&''7;
r   c                n    Vf   RpMVP                   p\        P                  ! W@P                   W#4      pV# aZ  Does the validation related extra step of the normalization
of attribute values:  If the declared value is not CDATA,
then the XML processor must further process the normalized
attribute value by discarding any leading and trailing
space (#x20) characters, and by replacing sequences of
 space (#x20) characters by single space (#x20) character. Nr-   rA   ZxmlValidNormalizeAttributeValue)r   r   r_   rc  rK  r9   r  r	   validNormalizeAttributeValueZ$xmlNode.validNormalizeAttributeValue  s1     ;vvf88$V
r   c                r   z:Implement the XInclude substitution for the given subtree )rA   ZxmlXIncludeProcessTreer-   r   r   r	   xincludeProcessTreeZxmlNode.xincludeProcessTree      //8
r   c                r  r  )rA   ZxmlXIncludeProcessTreeFlagsr-   r   Zflagsr9   r   r	   xincludeProcessTreeFlagsZ xmlNode.xincludeProcessTreeFlags  s    44TWWeD
r   c                rZ  z<Validate a branch of a tree, starting with the given @elem. Nr-   rA   ZxmlSchemaValidateOneElementr   r   r  r9   r   r	   schemaValidateOneElementZ xmlNode.schemaValidateOneElement  s-    <4g44WggF
r   c                r   )z$Converts a node to its number value )rA   ZxmlXPathCastNodeToNumberr-   r   r   r	   xpathCastNodeToNumberZxmlNode.xpathCastNodeToNumber      11$'':
r   c                r   )z%Converts a node to its string value. )rA   ZxmlXPathCastNodeToStringr-   r   r   r	   xpathCastNodeToStringZxmlNode.xpathCastNodeToString  r  r   c                n    Vf   RpMVP                   p\        P                  ! V P                   V4      pV# )z'Compare two nodes w.r.t document order N)r-   rA   ZxmlXPathCmpNodes)r   Znode2Znode2__or9   r   r	   xpathCmpNodesZxmlNode.xpathCmpNodes  s/    =T(h))$''8<
r   c                s    Vf   RpMVP                   p\        P                  ! V P                   W4      pVf   \        R4      h\	        V4      # )zEvaluate the XPath Location Path in the given context. The
node 'node' is set as the context node. The context node is
 not restored. NzxmlXPathNodeEval() failed)r-   rA   ZxmlXPathNodeEvalr*   r   )r   r=   r   Zctx__or9   rc  r	   xpathNodeEvalZxmlNode.xpathNodeEval  sG     ;vvf))$''3?;Z(CDDc""r   c                v    \         P                  ! V P                  4      pVf   \        R4      h\	        V4      # )z[Create a new xmlXPathObjectPtr of type NodeSet and
initialize it with the single Node @val zxmlXPathNewNodeSet() failed)rA   ZxmlXPathNewNodeSetr-   r*   r   r   r   r	   xpathNewNodeSetZxmlNode.xpathNewNodeSet  s3     ++DGG4;Z(EFFc""r   c                r  )zcCreate a new xmlXPathObjectPtr of type Value Tree (XSLT)
and initialize it with the tree root @val zxmlXPathNewValueTree() failed)rA   ZxmlXPathNewValueTreer-   r*   r   r   r   r	   xpathNewValueTreeZxmlNode.xpathNewValueTree  s3     --dgg6;Z(GHHc""r   c                rN  aq  Traversal function for the "ancestor" direction the
ancestor axis contains the ancestors of the context node;
the ancestors of the context node consist of the parent of
context node and the parent's parent and so on; the nodes
are ordered in reverse document order; thus the parent is
the first node on the axis, and the parent's parent is the
 second node on the axis NzxmlXPathNextAncestor() failedr   r-   rA   ZxmlXPathNextAncestorr*   r   r   r   r  r9   r  r:   r	   xpathNextAncestorZxmlNode.xpathNextAncestor  sI     <4g--gww?;Z(GHHS!r   c                rN  aA  Traversal function for the "ancestor-or-self" direction he
ancestor-or-self axis contains the context node and
ancestors of the context node in reverse document order;
thus the context node is the first node on the axis, and
the context node's parent the second; parent here is
 defined the same as with the parent axis. Nz#xmlXPathNextAncestorOrSelf() failedr   r-   rA   ZxmlXPathNextAncestorOrSelfr*   r   r  r:   r	   xpathNextAncestorOrSelfZxmlNode.xpathNextAncestorOrSelf  sI     <4g33GWWE;Z(MNNS!r   c                rN  z`Traversal function for the "attribute" direction TODO:
support DTD inherited default attributes NzxmlXPathNextAttribute() failedr   r-   rA   ZxmlXPathNextAttributer*   r   r  r:   r	   xpathNextAttributeZxmlNode.xpathNextAttribute  sI     <4g..w@;Z(HIIS!r   c                rN  zyTraversal function for the "child" direction The child axis
contains the children of the context node in document order. NzxmlXPathNextChild() failedr   r-   rA   ZxmlXPathNextChildr*   r   r  r:   r	   xpathNextChildZxmlNode.xpathNextChild	  sI     <4g**7GG<;Z(DEES!r   c                rN  zTraversal function for the "descendant" direction the
descendant axis contains the descendants of the context
node in document order; a descendant is a child or a child
 of a child and so on. NzxmlXPathNextDescendant() failedr   r-   rA   ZxmlXPathNextDescendantr*   r   r  r:   r	   xpathNextDescendantZxmlNode.xpathNextDescendant  sI    
 <4g//A;Z(IJJS!r   c                rN  a(  Traversal function for the "descendant-or-self" direction
the descendant-or-self axis contains the context node and
the descendants of the context node in document order; thus
the context node is the first node on the axis, and the
first child of the context node is the second node on the
 axis Nz%xmlXPathNextDescendantOrSelf() failedr   r-   rA   ZxmlXPathNextDescendantOrSelfr*   r   r  r:   r	   xpathNextDescendantOrSelfZ!xmlNode.xpathNextDescendantOrSelf  sI     <4g55gwwG;Z(OPPS!r   c                rN  a)  Traversal function for the "following" direction The
following axis contains all nodes in the same document as
the context node that are after the context node in
document order, excluding any descendants and excluding
attribute nodes and namespace nodes; the nodes are ordered
 in document order NzxmlXPathNextFollowing() failedr   r-   rA   ZxmlXPathNextFollowingr*   r   r  r:   r	   xpathNextFollowingZxmlNode.xpathNextFollowing-  I     <4g..w@;Z(HIIS!r   c                rN  zTraversal function for the "following-sibling" direction
The following-sibling axis contains the following siblings
 of the context node in document order. Nz%xmlXPathNextFollowingSibling() failedr   r-   rA   ZxmlXPathNextFollowingSiblingr*   r   r  r:   r	   xpathNextFollowingSiblingZ!xmlNode.xpathNextFollowingSibling;  sI     <4g55gwwG;Z(OPPS!r   c                rN  a'  Traversal function for the "namespace" direction the
namespace axis contains the namespace nodes of the context
node; the order of nodes on this axis is
implementation-defined; the axis will be empty unless the
context node is an element  We keep the XML namespace node
 at the end of the list. NzxmlXPathNextNamespace() failedr   r-   rA   ZxmlXPathNextNamespacer*   r   r  r:   r	   xpathNextNamespaceZxmlNode.xpathNextNamespaceF  r  r   c                rN  zyTraversal function for the "parent" direction The parent
axis contains the parent of the context node, if there is
 one. NzxmlXPathNextParent() failedr   r-   rA   ZxmlXPathNextParentr*   r   r  r:   r	   xpathNextParentZxmlNode.xpathNextParentT  sI     <4g++GWW=;Z(EFFS!r   c                rN  a0  Traversal function for the "preceding" direction the
preceding axis contains all nodes in the same document as
the context node that are before the context node in
document order, excluding any ancestors and excluding
attribute nodes and namespace nodes; the nodes are ordered
 in reverse document order NzxmlXPathNextPreceding() failedr   r-   rA   ZxmlXPathNextPrecedingr*   r   r  r:   r	   xpathNextPrecedingZxmlNode.xpathNextPreceding_  r  r   c                rN  a  Traversal function for the "preceding-sibling" direction
The preceding-sibling axis contains the preceding siblings
of the context node in reverse document order; the first
preceding sibling is first on the axis; the sibling
 preceding that node is the second on the axis and so on. Nz%xmlXPathNextPrecedingSibling() failedr   r-   rA   ZxmlXPathNextPrecedingSiblingr*   r   r  r:   r	   xpathNextPrecedingSiblingZ!xmlNode.xpathNextPrecedingSiblingm  sI     <4g55gwwG;Z(OPPS!r   c                rN  z`Traversal function for the "self" direction The self axis
contains just the context node itself NzxmlXPathNextSelf() failedr   r-   rA   ZxmlXPathNextSelfr*   r   r  r:   r	   xpathNextSelfZxmlNode.xpathNextSelfz  sI     <4g))'77;;Z(CDDS!r   c                r  )zBCreate a new xmlXPathObjectPtr of type range using a single
nodes z!xmlXPtrNewCollapsedRange() failed)rA   ZxmlXPtrNewCollapsedRanger-   r   r   r   r   r	   xpointerNewCollapsedRangeZ!xmlNode.xpointerNewCollapsedRange  s3     11$'':;Y'JKKc""r   c                s    Vf   RpMVP                   pVf   RpMVP                   p\        P                  ! W0P                   V4      pVf   \        R4      h\	        VR7      pV# zCreate a new XPointer context NzxmlXPtrNewContext() failedr   r-   rA   ZxmlXPtrNewContextr   xpathContext)r   r   originrK  	origin__or9   r     &&&    r	   xpointerNewContextZxmlNode.xpointerNewContext  s[    ;vvf>t9 ))i**677IF;Y'CDD#&r   c                    Vf   RpMVP                   p\        P                  ! V P                   V4      pVf   \        R4      h\	        V4      # )zCreate a new xmlXPathObjectPtr of type LocationSet and
initialize it with the single range made of the two nodes
 @start and @end Nz#xmlXPtrNewLocationSetNodes() failed)r-   rA   ZxmlXPtrNewLocationSetNodesr   r   r   endend__or9   r   r	   xpointerNewLocationSetNodesZ#xmlNode.xpointerNewLocationSetNodes  sG     ;vvf33DGGVD;Y'LMMc""r   c                s    Vf   RpMVP                   p\        P                  ! V P                   WV4      pVf   \        R4      h\	        V4      # )z-Create a new xmlXPathObjectPtr of type range NzxmlXPtrNewRange() failed)r-   rA   ZxmlXPtrNewRanger   r   )r   Z
startindexr  Zendindexr  r9   r  r	   xpointerNewRangeZxmlNode.xpointerNewRange  sG    ;vvf((*hO;Y'ABBc""r   c                r  )z;Create a new xmlXPathObjectPtr of type range using 2 nodes NzxmlXPtrNewRangeNodes() failed)r-   rA   ZxmlXPtrNewRangeNodesr   r   r  r   r	   xpointerNewRangeNodesZxmlNode.xpointerNewRangeNodes  sE    ;vvf--dggv>;Y'FGGc""r   rG   r   )lr   r   r   r   r   r  r  r   r#  r$  r%  r&  r*  r,  r0  r1  r3  r6  r:  r;  r<  r?  rA  rD  rG  rM  rR  rU  rV  rW  rX  r^  r   r`  ra  rd  re  rf  rg  ri  rj  rk  rq  rt  r{  r}  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r$   r%   r&   r	   r   r     s
    *
Q<
@
?

1.&	7? 	(,



	$
&	
		
	0
7?1
21,9
2*


 


###
		#	### #r   r   c                   s  a  ] tR tRt o RoR ltR tR tR tR tR t	R	 t
R
 tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR t R  t!R! t"R" t#R# t$R$ t%R% t&R& t'R' t(R( t)R) t*R* t+R+ t,R, t-R- t.R. t/R/ t0R0 t1R1 t2R2 t3R3 t4R4 t5R5 t6R6 t7R7 t8R8 t9R9 t:R: t;R; t<R< t=R= t>R> t?R? t@R@ tARA tBRB tCRC tDRD tERE tFRF tGRG tHRH tIRI tJRJ tKRK tLRL tMRM tNRN tORO tPRP tQRQ tRRR tSRS tTRT tURU tVRV tWRW tXRX tYRY tZRZ t[R[ t\R\ t]R] t^R^ t_R_ t`R` taRa tbRb tcRc tdRd teRe tfRf tgRg thRh tiRi tjRj tkRk tlRl tmRm tnRntoV tpR# )pr   i  Nc                r  )r    z&xmlDoc got a wrong wrapper object typer   Nr   r  r-   r   r   r.   r   r	   r   ZxmlDoc.__init__  0    "Y?g5h/h)r   c                r  )z<xmlDoc (%s) object at 0x%x>r  r   r    r	   r  ZxmlDoc.__repr__      -C<N0OOOr   c                r  )zThe HTML DTD allows a tag to implicitly close other tags.
The list is kept in htmlStartClose array. This function
checks if the element or one of it's children would
 autoclose the given tag. )rA   htmlAutoCloseTagr-   )r   r_   rq   r9   rL   r	   r  ZxmlDoc.htmlAutoCloseTag  s    
 ))$''4>
r   c                r  )zThe HTML DTD allows a tag to implicitly close other tags.
The list is kept in htmlStartClose array. This function
 checks if a tag is autoclosed by one of it's child )rA   htmlIsAutoClosedr-   )r   rq   r9   r   r	   r  ZxmlDoc.htmlIsAutoClosed  s     ))$''48
r   c                sn    Vf   RpMVP                   p\        P                  ! W@P                   W#4       R# zDump an HTML document. Nr-   rA   htmlDocContentDumpFormatOutput)r   bufr   r   buf__or   r	   r  Z%xmlDoc.htmlDocContentDumpFormatOutput  s(    ;vvf11&''8Tr   c                sn    Vf   RpMVP                   p\        P                  ! W0P                   V4       R# z;Dump an HTML document. Formatting return/spaces are added. Nr-   rA   htmlDocContentDumpOutput)r   r  r   r  rL   r	   r!  ZxmlDoc.htmlDocContentDumpOutput  s(    ;vvf++FGGXFr   c                F    \         P                  ! WP                  4      pV# )z'Dump an HTML document to an open FILE. )rA   htmlDocDumpr-   r   r   r9   r   r	   r#  ZxmlDoc.htmlDocDump  s    $$Q0
r   c                r   )z,Encoding definition lookup in the Meta tags )rA   htmlGetMetaEncodingr-   r   r   r	   r%  ZxmlDoc.htmlGetMetaEncoding      ,,TWW5
r   c                n    Vf   RpMVP                   p\        P                  ! WP                   V4       R# )zcDump an HTML node, recursive behaviour,children are printed
too, and formatting returns are added. N)r-   rA   htmlNodeDumpFile)r   rX  r1  r/  rL   r	   r(  ZxmlDoc.htmlNodeDumpFile  s*     ;vvf##C&9r   c                sp    Vf   RpMVP                   p\        P                  ! WP                   WSV4      pV# )z}Dump an HTML node, recursive behaviour,children are printed
too.  TODO: if encoding == None try to save in the doc
 encoding N)r-   rA   htmlNodeDumpFileFormat)r   rX  r1  r   r   r/  r9      &&&&&  r	   r)  ZxmlDoc.htmlNodeDumpFileFormat  s4     ;vvf//WWfPVW
r   c                s    Vf   RpMVP                   pVf   RpMVP                   p\        P                  ! WPP                   WcV4       R# zADump an HTML node, recursive behaviour,children are printed
too. Nr-   rA   htmlNodeDumpFormatOutput)r   r  r1  r   r   r  r/  r*  r	   r-  ZxmlDoc.htmlNodeDumpFormatOutput  s>     ;vvf;vvf++FGGVvVr   c                s    Vf   RpMVP                   pVf   RpMVP                   p\        P                  ! W@P                   WS4       R# zjDump an HTML node, recursive behaviour,children are printed
too, and formatting returns/spaces are added. Nr-   rA   htmlNodeDumpOutput)r   r  r1  r   r  r/  r  r	   r0  ZxmlDoc.htmlNodeDumpOutput  s<     ;vvf;vvf%%fggvHr   c                r"  )zNDump an HTML document to a file. If @filename is "-" the
stdout file is used. )rA   htmlSaveFiler-   r   r  r9   r   r	   r1  ZxmlDoc.htmlSaveFile  s     %%h8
r   c                H    \         P                  ! WP                  V4      pV# )z`Dump an HTML document to a file using a given encoding and
formatting returns/spaces are added. )rA   htmlSaveFileEncr-   r   r  r   r9   rL   r	   r4  ZxmlDoc.htmlSaveFileEnc  s     ((77HE
r   c                H    \         P                  ! WP                  W#4      pV# )z8Dump an HTML document to a file using a given encoding. )rA   htmlSaveFileFormatr-   r   r  r   r   r9   r   r	   r7  ZxmlDoc.htmlSaveFileFormat  s    ++HggxP
r   c                r  )zSets the current encoding in the Meta tags NOTE: this will
not change the document content encoding, just the META
 flag associated. )rA   htmlSetMetaEncodingr-   )r   r   r9   r   r	   r9  ZxmlDoc.htmlSetMetaEncoding  s     ,,TWWh?
r   c                r"  )zTCheck the document for potential content problems, and
output the errors to @output )rA   ZxmlDebugCheckDocumentr-   )r   r  r9   r   r	   debugCheckDocumentZxmlDoc.debugCheckDocument(  s     ..vww?
r   c                r(  )z9Dumps debug information for the document, it's recursive N)rA   ZxmlDebugDumpDocumentr-   r)  r   r	   debugDumpDocumentZxmlDoc.debugDumpDocument.  s    ''8r   c                r(  )z?Dumps debug information concerning the document, not
recursive N)rA   ZxmlDebugDumpDocumentHeadr-   r)  r   r	   debugDumpDocumentHeadZxmlDoc.debugDumpDocumentHead2  s     	++FGG<r   c                r(  )zDDumps debug information for all the entities in use by the
document N)rA   ZxmlDebugDumpEntitiesr-   r)  r   r	   debugDumpEntitiesZxmlDoc.debugDumpEntities7  s     	''8r   c                    \         P                  ! V P                  WW4V4      pVf   \        R4      h\	        VR7      pV# )z)Register a new entity for this document. zxmlAddDocEntity() failedr   )rA   ZxmlAddDocEntityr-   r   r   r   r_   r   rG  r  re   r9   _xmlDoc__tmp   &&&&&&  r	   addDocEntityZxmlDoc.addDocEntity@  <    (($jT[\;Y'ABBs#r   c                r>  )z=Register a new entity for this document DTD external subset. zxmlAddDtdEntity() failedr   )rA   ZxmlAddDtdEntityr-   r   r   r?  rA  r	   addDtdEntityZxmlDoc.addDtdEntityG  rC  r   c                r=  )z:Do an entity lookup in the document entity hash table and zxmlGetDocEntity() failedr   )rA   ZxmlGetDocEntityr-   r   r   r   r_   r9   r@  r   r	   	docEntityZxmlDoc.docEntityN  7    (($7;Y'ABBs#r   c                r=  )z5Do an entity lookup in the DTD entity hash table and zxmlGetDtdEntity() failedr   )rA   ZxmlGetDtdEntityr-   r   r   rE  r   r	   	dtdEntityZxmlDoc.dtdEntityU  rG  r   c                r  )zTODO: remove xmlEncodeEntities, once we are not afraid of
breaking binary compatibility  People must migrate their
code to xmlEncodeEntitiesReentrant ! This routine will
 issue a warning when encountered. )rA   ZxmlEncodeEntitiesr-   r   r  r9   r   r	   encodeEntitiesZxmlDoc.encodeEntities\  s    
 **477E:
r   c                r  )zDo a global encoding of a string, replacing the predefined
entities and non ASCII values with their entities and
CharRef counterparts. Contrary to xmlEncodeEntities, this
 routine is reentrant, and result must be deallocated. )rA   ZxmlEncodeEntitiesReentrantr-   rI  r   r	   encodeEntitiesReentrantZxmlDoc.encodeEntitiesReentrantd  s    
 33DGGUC
r   c                r  )zDo a global encoding of a string, replacing the predefined
entities this routine is reentrant, and result must be
 deallocated. )rA   ZxmlEncodeSpecialCharsr-   rI  r   r	   encodeSpecialCharsZxmlDoc.encodeSpecialCharsl  s     ..tww>
r   c                r>  )a  Create a new entity, this differs from xmlAddDocEntity()
that if the document is None or has no internal subset
defined, then an unlinked entity structure will be
returned, it is then the responsibility of the caller to
link it to the document later or free it when not needed
 anymore. zxmlNewEntity() failedr   )rA   ZxmlNewEntityr-   r   r   r?  rA  r	   	newEntityZxmlDoc.newEntitys  s>     %%dggt:QXY;Y'>??s#r   c                r=  )z=Do an entity lookup in the internal and external subsets and zxmlGetParameterEntity() failedr   )rA   ZxmlGetParameterEntityr-   r   r   rE  r   r	   parameterEntityZxmlDoc.parameterEntity  s7    ..tww=;Y'GHHs#r   c                r@  )zCreate an XML RelaxNGs parser context for that document.
Note: since the process of compiling a RelaxNG schemas
modifies the document, the @doc parameter is duplicated
 internally. z#xmlRelaxNGNewDocParserCtxt() failedr   )rA   ZxmlRelaxNGNewDocParserCtxtr-   r(   r  r   r9   r@  r   r	   relaxNGNewDocParserCtxtZxmlDoc.relaxNGNewDocParserCtxt  s7    
 33DGG<;[)NOO!s+r   c                rZ  z$Validate a document tree in memory. Nr-   rA   ZxmlRelaxNGValidateDocr  r   r	   relaxNGValidateDocZxmlDoc.relaxNGValidateDoc  s-    <4g..w@
r   c                r  zxValidate a full subtree when
xmlRelaxNGValidatePushElement() returned 0 and the content
 of the node has been expanded. Nr-   rA   ZxmlRelaxNGValidateFullElementr   r   rq   r  r9  r9   rL  r	   relaxNGValidateFullElementZ!xmlDoc.relaxNGValidateFullElement  sC     <4g<4g66wQ
r   c                r  z7Pop the element end from the RelaxNG validation stack. Nr-   rA   ZxmlRelaxNGValidatePopElementrV  rL  r	   relaxNGValidatePopElementZ xmlDoc.relaxNGValidatePopElement  sA    <4g<4g55gwwP
r   c                r  z:Push a new element start on the RelaxNG validation stack. Nr-   rA   ZxmlRelaxNGValidatePushElementrV  rL  r	   relaxNGValidatePushElementZ!xmlDoc.relaxNGValidatePushElement  sA    <4g<4g66wQ
r   c                r=  )z|Do a copy of the document info. If recursive, the content
tree will be copied too as well as DTD, namespaces and
 entities. zxmlCopyDoc() failedr   )rA   Z
xmlCopyDocr-   r   r   )r   Z	recursiver9   r@  r   r	   copyDocZxmlDoc.copyDoc  s9     ##DGGY7;Y'<==C r   c                r  rI  rJ  )r   r   r>  node__or9   r@  rL  r	   r?  ZxmlDoc.copyNode  sI    <4g''(C;Y'@AAS!r   c                r-  rO  rP  )r   r   r_  r9   r@  r:   r	   rA  ZxmlDoc.copyNodeList  sI    <4g++DGGW=;Y'DEES!r   c                    \         P                  ! V P                  WV4      pVf   \        R4      h\	        VR7      pV# )z)Create the internal subset of a document zxmlCreateIntSubset() failedr   )rA   ZxmlCreateIntSubsetr-   r   r   r   r_   rG  r  r9   r@  r  r	   createIntSubsetZxmlDoc.createIntSubset  s9    ++DGGTxP;Y'DEEC r   c                r   )z5get the compression ratio for a document, ZLIB based )rA   ZxmlGetDocCompressModer-   r   r   r	   docCompressModeZxmlDoc.docCompressMode      ..tww7
r   c                r"  z&Dump an XML document to an open FILE. )rA   Z
xmlDocDumpr-   r$  r   r	   dumpZxmlDoc.dump  s    ##Aww/
r   c                r'  )zFDump an XML/HTML node, recursive behaviour, children are
printed too. N)r-   rA   ZxmlElemDump)r   r   r1  r/  rL   r	   elemDumpZxmlDoc.elemDump  s*     ;vvfq''62r   c                r3  re  )rA   ZxmlDocFormatDumpr-   )r   r   r   r9   rL   r	   
formatDumpZxmlDoc.formatDump  s    ))!WWf=
r   c                r+  )z>Free up all the structures used by a document, tree
included. N)rA   r   r-   r   r    r	   freeDocZxmlDoc.freeDoc  s     	dgg&r   c                r@  )zkGet the root element of the document (doc->children is a
list containing possibly comments, PIs, etc ...). zxmlDocGetRootElement() failedr   )rA   ZxmlDocGetRootElementr-   r   r   rO  r   r	   getRootElementZxmlDoc.getRootElement  s7     --dgg6;Y'FGGS!r   c                r@  )z&Get the internal subset of a document zxmlGetIntSubset() failedr   )rA   ZxmlGetIntSubsetr-   r   r   rO  r   r	   	intSubsetZxmlDoc.intSubset  s5    ((1;Y'ABBC r   c                r|  )z1Creation of a new node containing a CDATA block. zxmlNewCDataBlock() failedr   )rA   ZxmlNewCDataBlockr-   r   r   r   re   r8   r9   r@  rc  r	   newCDataBlockZxmlDoc.newCDataBlock  s7    ))$''7@;Y'BCCS!r   c                r=  )z,Creation of a new character reference node. zxmlNewCharRef() failedr   )rA   ZxmlNewCharRefr-   r   r   rE  r   r	   
newCharRefZxmlDoc.newCharRef  s7    &&tww5;Y'?@@S!r   c                r=  )z?Creation of a new node containing a comment within a
document. zxmlNewDocComment() failedr   )rA   ZxmlNewDocCommentr-   r   r   r   re   r9   r@  r   r	   newDocCommentZxmlDoc.newDocComment  s9     ))$''7;;Y'BCCS!r   c                r@  )z!Creation of a new Fragment node. zxmlNewDocFragment() failedr   )rA   ZxmlNewDocFragmentr-   r   r   rO  r   r	   newDocFragmentZxmlDoc.newDocFragment  s5    **4773;Y'CDDS!r   c                ru  B  Creation of a new node element within a document. @ns and
@content are optional (None). NOTE: @content is supposed to
be a piece of XML CDATA, so it allow entities references,
but XML special chars need to be escaped first by using
xmlEncodeEntitiesReentrant(). Use xmlNewDocRawNode() if you
 don't need entities support. NzxmlNewDocNode() failedr   r-   rA   ZxmlNewDocNoder   r   r   r  r_   re   ry  r9   r@  rz  r	   
newDocNodeZxmlDoc.newDocNode%  sM     :tueee&&twwWE;Y'?@@S!r   c                ru  rs  NzxmlNewDocNodeEatName() failedr   r-   rA   ZxmlNewDocNodeEatNamer   r   ru  rz  r	   newDocNodeEatNameZxmlDoc.newDocNodeEatName3  sM     :tueee--dgguGL;Y'FGGS!r   c                r|  )z.Creation of a processing instruction element. zxmlNewDocPI() failedr   )rA   ZxmlNewDocPIr-   r   r   )r   r_   re   r9   r@  rc  r	   newDocPIZxmlDoc.newDocPIA  s7    $$TWWd<;Y'=>>S!r   c                r|  )a  Create a new property carried by a document. NOTE: @value
is supposed to be a piece of XML CDATA, so it allows entity
references, but XML special chars need to be escaped first
by using xmlEncodeEntitiesReentrant(). Use xmlNewProp() if
 you don't need entities support. zxmlNewDocProp() failedr   )rA   ZxmlNewDocPropr-   r   r   )r   r_   rc  r9   r@  rc  r	   
newDocPropZxmlDoc.newDocPropH  s9     &&tww<;Y'?@@S!r   c                ru  zXCreation of a new node element within a document. @ns and
@content are optional (None). NzxmlNewDocRawNode() failedr   r-   rA   ZxmlNewDocRawNoder   r   ru  rz  r	   newDocRawNodeZxmlDoc.newDocRawNodeS  sM     :tueee))$''5H;Y'BCCS!r   c                r=  )z/Creation of a new text node within a document. zxmlNewDocText() failedr   )rA   ZxmlNewDocTextr-   r   r   ro  r   r	   
newDocTextZxmlDoc.newDocText]  s7    &&tww8;Y'?@@S!r   c                r|  )zoCreation of a new text node with an extra content length
parameter. The text node pertain to a given document. zxmlNewDocTextLen() failedr   )rA   ZxmlNewDocTextLenr-   r   r   rl  rc  r	   newDocTextLenZxmlDoc.newDocTextLend  s9     ))$''7@;Y'BCCS!r   c                r`  )zgCreation of a new DTD for the external subset. To create an
internal subset, use xmlCreateIntSubset(). zxmlNewDtd() failedr   )rA   Z	xmlNewDtdr-   r   r   ra  r  r	   newDtdZxmlDoc.newDtdl  s;     ""477DhG;Y';<<C r   c                r|  )zQCreation of a Namespace, the old way using PI and without
scoping DEPRECATED !!! zxmlNewGlobalNs() failedr   )rA   ZxmlNewGlobalNsr-   r   r   )r   r   r  r9   r@  rc  r	   newGlobalNsZxmlDoc.newGlobalNst  s8     ''>;Y'@AA3r   c                r=  )z"Creation of a new reference node. zxmlNewReference() failedr   )rA   ZxmlNewReferencer-   r   r   rE  r   r	   newReferenceZxmlDoc.newReference|  s7    (($7;Y'ABBS!r   c                s    Vf   RpMVP                   pVf   RpMVP                   p\        P                  ! W`P                   WsWE4       R# zDump an XML node, recursive behaviour, children are printed
too. Note that @format = 1 provide node indenting only if
xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was
 called Nr-   rA   ZxmlNodeDumpOutput)r   r  r1  rq  r   r   r  r/  rA  r	   nodeDumpOutputZxmlDoc.nodeDumpOutput  s>    
 ;vvf;vvf$$VWWfVVr   c                r  r[  r\  )r   r1  r/  r9   r   r	   nodeGetBaseZxmlDoc.nodeGetBase  s1     ;vvf''8
r   c                r  rm  rn  r   r   rp  list__or9   rc  r	   nodeListGetRawStringZxmlDoc.nodeListGetRawString  s1    
 <4g00'J
r   c                r  rr  rs  r  rc  r	   nodeListGetStringZxmlDoc.nodeListGetString  s1     <4g--dggwG
r   c                r  r  r  )r   treetree__or9   r   r	   r  ZxmlDoc.reconciliateNs  s1     <4g**477G<
r   c                r"  )zDump an XML document to a file. Will use compression if
compiled in and enabled. If @filename is "-" the stdout
 file is used. )rA   ZxmlSaveFiler-   r2  r   r	   saveFileZxmlDoc.saveFile  s     $$Xww7
r   c                r3  )z:Dump an XML document, converting it to the given encoding )rA   ZxmlSaveFileEncr-   r5  rL   r	   saveFileEncZxmlDoc.saveFileEnc  s    ''''8D
r   c                rl  zDump an XML document to an I/O buffer. Warning ! This call
xmlOutputBufferClose() on buf which is not available after
 this call. Nr-   rA   ZxmlSaveFileTo)r   r  r   r  r9   rc  r	   
saveFileToZxmlDoc.saveFileTo  s1     ;vvf&&vwwA
r   c                r3  )a2  Dump an XML document to a file. Will use compression if
compiled in and enabled. If @filename is "-" the stdout
file is used. If @format is set then the document will be
indented on output. Note that @format = 1 provide node
indenting only if xmlIndentTreeOutput = 1 or
 xmlKeepBlanksDefault(0) was called )rA   ZxmlSaveFormatFiler-   )r   r  r   r9   rL   r	   saveFormatFileZxmlDoc.saveFormatFile  s     **8WWfE
r   c                r6  )z*Dump an XML document to a file or an URL. )rA   ZxmlSaveFormatFileEncr-   r8  r   r	   saveFormatFileEncZxmlDoc.saveFormatFileEnc  s    --hR
r   c                r  r  r-   rA   ZxmlSaveFormatFileTo)r   r  r   r   r  r9   r  r	   saveFormatFileToZxmlDoc.saveFormatFileTo  s1     ;vvf,,VWWhO
r   c                rH  r  r  )r   r   rb  r_  r9   r@  rL  r	   r  ZxmlDoc.searchNs  sJ     <4g$$TWWgA;Y'=>>3r   c                rH  r  r  )r   r   r   r_  r9   r@  rL  r	   r  ZxmlDoc.searchNsByHref  sJ     <4g**477GB;Y'CDD3r   c                r2  )zmset the compression ratio for a document, ZLIB based
Correct values: 0 (uncompressed) to 9 (max compression) N)rA   ZxmlSetDocCompressModer-   )r   r  r   r	   setDocCompressModeZxmlDoc.setDocCompressMode  s     	(($7r   c                l    Vf   RpMVP                   p\        P                  ! W P                   4       R# r  r  )r   r   r  r   r	   r  ZxmlDoc.setListDoc  s&    <4g  ''2r   c                s    Vf   RpMVP                   p\        P                  ! V P                   V4      pVf   R# \        VR7      pV# rS  rT  )r   rootroot__or9   r@  r:   r	   setRootElementZxmlDoc.setRootElement  sB     <4g--dggw?;dS!r   c                r  r  r  )r   r  r  r   r	   r  ZxmlDoc.setTreeDoc  s(     <4g  ''2r   c                r=  )wParse the value string and build the node list associated.
Should produce a flat tree with only TEXTs and ENTITY_REFs. zxmlStringGetNodeList() failedr   )rA   ZxmlStringGetNodeListr-   r   r   )r   rc  r9   r@  r   r	   stringGetNodeListZxmlDoc.stringGetNodeList  s9     --dggu=;Y'FGGS!r   c                r|  )r  z xmlStringLenGetNodeList() failedr   )rA   ZxmlStringLenGetNodeListr-   r   r   )r   rc  r8   r9   r@  rc  r	   stringLenGetNodeListZxmlDoc.stringLenGetNodeList&  s9     00%E;Y'IJJS!r   c                r=  )z,Search the attribute declaring the given ID zxmlGetID() failedr   )rA   ZxmlGetIDr-   r   r   )r   r  r9   r@  r   r	   r  Z	xmlDoc.ID2  s7    !!$''2.;Y':;;S!r   c                    Vf   RpMVP                   pVf   RpMVP                   p\        P                  ! V P                   W44      pV# r  r  r   rq   r   r9  r  r9   rL  r	   r  ZxmlDoc.isID9  sC    
 <4g<4g  ';
r   c                r  )zvSearch in the DtDs whether an element accept Mixed content
(or ANY) basically if it is supposed to accept text childs )rA   ZxmlIsMixedElementr-   r  r   r	   isMixedElementZxmlDoc.isMixedElementE  s     **477D9
r   c                r  r  r  r  rL  r	   r  ZxmlDoc.isRefK  sC    
 <4g<4g!!$''7<
r   c                r  zDRemove the given attribute from the ID table maintained
internally. Nr-   rA   ZxmlRemoveIDr   r   r  r9   r   r	   removeIDZxmlDoc.removeIDW  s1     <4g$$TWWg6
r   c                r  zDEPRECATED, do not use. This function will be removed from
the public API.  Remove the given attribute from the Ref
 table maintained internally. Nr-   rA   ZxmlRemoveRefr  r   r	   	removeRefZxmlDoc.removeRef_  s1     <4g%%dggw7
r   c                s    Vf   RpMVP                   pVf   RpMVP                   p\        P                  ! WPP                   WcV4      pV# a  Does the validation related extra step of the normalization
of attribute values:  If the declared value is not CDATA,
then the XML processor must further process the normalized
attribute value by discarding any leading and trailing
space (#x20) characters, and by replacing sequences of
space (#x20) characters by single space (#x20) character. 
Also  check VC: Standalone Document Declaration in P32, and
 update ctxt->valid accordingly Nr-   rA   Z#xmlValidCtxtNormalizeAttributeValue)r   r   rq   r_   rc  r  r9  r9      &&&&&   r	    validCtxtNormalizeAttributeValueZ'xmlDoc.validCtxtNormalizeAttributeValueh  sF     <4g<4g<<Wggw^cd
r   c                p    Vf   RpMVP                   p\        P                  ! V P                   WBV4      pV# r  r  )r   rq   r_   rc  r9  r9   r  r	   r  Z#xmlDoc.validNormalizeAttributeValuex  s4     <4g88'QVW
r   c                rZ  zTry to validate the document instance  basically it does
the all the checks described by the XML Rec i.e. validates
the internal and external subset (if present) and validate
 the document tree. Nr-   rA   ZxmlValidateDocumentr  r   r	   validateDocumentZxmlDoc.validateDocument  s/    
 <4g,,Wgg>
r   c                rZ  zDoes the final step for the document validation once all
the incremental validation steps have been completed 
basically it does the following checks described by the XML
Rec  Check all the IDREF/IDREFS attributes definition for
 validity Nr-   rA   ZxmlValidateDocumentFinalr  r   r	   validateDocumentFinalZxmlDoc.validateDocumentFinal  s/     <4g11'77C
r   c                r  zTry to validate the document against the dtd instance 
Basically it does check all the definitions in the DtD.
Note the the internal subset (if present) is de-coupled
(i.e. not used), which could give problems if ID or IDREF
 is present. Nr-   rA   ZxmlValidateDtd)r   r   r   r  dtd__or9   rL  r	   validateDtdZxmlDoc.validateDtd  sC     <4g;vvf''&A
r   c                rZ  al  Does the final step for the dtds validation once all the
subsets have been parsed  basically it does the following
checks described by the XML Rec - check that ENTITY and
ENTITIES type attributes default or possible values matches
one of the defined entities. - check that NOTATION type
attributes default or possible values matches one of the
 defined notations. Nr-   rA   ZxmlValidateDtdFinalr  r   r	   validateDtdFinalZxmlDoc.validateDtdFinal  s/     <4g,,Wgg>
r   c                r  z-Try to validate the subtree under an element Nr-   rA   ZxmlValidateElement)r   r   r  r  r  r9   rL  r	   validateElementZxmlDoc.validateElement  sA    <4g<4g++GWWgF
r   c                rl  zWValidate that the given name match a notation declaration.
- [ VC: Notation Declared ] Nr-   rA   ZxmlValidateNotationUse)r   r   rt   r  r9   rc  r	   validateNotationUseZxmlDoc.validateNotationUse  s1     <4g//,O
r   c                s    Vf   RpMVP                   pVf   RpMVP                   pVf   RpMVP                   p\        P                  ! WPP                   WgV4      pV# a}  Try to validate a single attribute for an element basically
it does the following checks as described by the XML-1.0
recommendation: - [ VC: Attribute Value Type ] - [ VC:
Fixed Attribute Default ] - [ VC: Entity Name ] - [ VC:
Name Token ] - [ VC: ID ] - [ VC: IDREF ] - [ VC: Entity
Name ] - [ VC: Notation Attributes ]  The ID/IDREF
 uniqueness and matching are done separately Nr-   rA   ZxmlValidateOneAttribute)	r   r   rq   r   rc  r  r9  r  r9   	   &&&&&    r	   validateOneAttributeZxmlDoc.validateOneAttribute  sX     <4g<4g<4g00''7UZ[
r   c                r  a+  Try to validate a single element and it's attributes,
basically it does the following checks as described by the
XML-1.0 recommendation: - [ VC: Element Valid ] - [ VC:
Required Attribute ] Then call xmlValidateOneAttribute()
for each attribute present.  The ID/IDREF checkings are
 done separately Nr-   rA   ZxmlValidateOneElementrV  rL  r	   validateOneElementZxmlDoc.validateOneElement  sC     <4g<4g..wI
r   c                s    Vf   RpMVP                   pVf   RpMVP                   pVf   RpMVP                   p\        P                  ! W`P                   WsW4      p	V	# a  Try to validate a single namespace declaration for an
element basically it does the following checks as described
by the XML-1.0 recommendation: - [ VC: Attribute Value Type
] - [ VC: Fixed Attribute Default ] - [ VC: Entity Name ] -
[ VC: Name Token ] - [ VC: ID ] - [ VC: IDREF ] - [ VC:
Entity Name ] - [ VC: Notation Attributes ]  The ID/IDREF
 uniqueness and matching are done separately Nr-   rA   ZxmlValidateOneNamespace)
r   r   rq   r  r  rc  r  r9  ry  r9   
   &&&&&&    r	   validateOneNamespaceZxmlDoc.validateOneNamespace  sX     <4g<4g:tueee00''7TYa
r   c                    Vf   RpMVP                   pVf   RpMVP                   p\        P                  ! W@P                   WS4      pV# z/Pop the element end from the validation stack. Nr-   rA   ZxmlValidatePopElementr   r   rq   qnamer  r9  r9   rz  r	   validatePopElementZxmlDoc.validatePopElement  sA    <4g<4g..wP
r   c                r  z2Push a new element start on the validation stack. Nr-   rA   ZxmlValidatePushElementr  rz  r	   validatePushElementZxmlDoc.validatePushElement  sA    <4g<4g//'Q
r   c                rZ  zTry to validate a the root element basically it does the
following check as described by the XML-1.0 recommendation:
- [ VC: Root Element Type ] it doesn't try to recurse or
 apply other check to the element Nr-   rA   ZxmlValidateRootr  r   r	   validateRootZxmlDoc.validateRoot  s/    
 <4g(('':
r   c                r   z=Implement the XInclude substitution on the XML document @doc )rA   ZxmlXIncludeProcessr-   r   r   r	   xincludeProcessZxmlDoc.xincludeProcess      ++DGG4
r   c                r  r  )rA   ZxmlXIncludeProcessFlagsr-   r  r   r	   xincludeProcessFlagsZxmlDoc.xincludeProcessFlags  s    00%@
r   c                rZ  zjSetup an xmltextReader to parse a preparsed XML document.
This reuses the existing @reader xmlTextReader. Nr-   rA   ZxmlReaderNewWalkerr   reader	reader__or9   r   r	   	NewWalkerZxmlDoc.NewWalker"  s/     >t9 ))i++Iww?
r   c                r@  )z2Create an xmltextReader for a preparsed document. zxmlReaderWalker() failedr   )rA   ZxmlReaderWalkerr-   r   r3  rO  r   r	   readerWalkerZxmlDoc.readerWalker*  s5    ((1;Y'ABB3'r   c                r@  )ztCreate an XML Schemas parse context for that document. NB.
The document may be modified during the parsing process. z"xmlSchemaNewDocParserCtxt() failedr   )rA   ZxmlSchemaNewDocParserCtxtr-   r(   r@  rO  r   r	   schemaNewDocParserCtxtZxmlDoc.schemaNewDocParserCtxt5  s7     22477;;[)MNN c*r   c                rZ  rQ  r-   rA   ZxmlSchemaValidateDocr  r   r	   schemaValidateDocZxmlDoc.schemaValidateDoc=  s-    <4g--gww?
r   c                r@  )zCreate a new xmlXPathContext zxmlXPathNewContext() failedr   )rA   ZxmlXPathNewContextr-   r*   r	  rO  r   r	   r   ZxmlDoc.xpathNewContextH  s5    ++DGG4;Z(EFF#&r   c                r   )a;  Call this routine to speed up XPath computation on static
documents. This stamps all the element nodes with the
document order Like for line information, the order is kept
in the element->content field, the value stored is actually
- the node number (starting at -1) to be able to
 differentiate from line numbers. )rA   ZxmlXPathOrderDocElemsr-   r   r   r	   xpathOrderDocElemsZxmlDoc.xpathOrderDocElemsO  s     ..tww7
r   c                s    Vf   RpMVP                   pVf   RpMVP                   p\        P                  ! V P                   W44      pVf   \        R4      h\	        VR7      pV# r  r  )r   Zherer
  Zhere__or  r9   r@  r  r	   r  ZxmlDoc.xpointerNewContext]  s[    <4g>t9 ))i**477GG;Y'CDD#&r   rG   r   )qr   r   r   r   r   r  r  r  r  r!  r#  r%  r(  r)  r-  r0  r1  r4  r7  r9  r:  r;  r<  r=  rB  rD  rF  rH  rJ  rK  rL  rM  rN  rP  rS  rW  rZ  r]  r^  r?  rA  rb  rc  rf  rg  rh  ri  rj  rk  rm  rn  rp  rq  rv  ry  rz  r{  r~  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r  r   r$   r%   r&   r	   r   r     s'    *
PUG

:WI
9=
9
	

3
'
		W


	8
33

 
	""
	 	r   r   c                   T   a  ] tR tRt o RR ltR tR tR tR tR t	R	 t
R
 tRtV tR# )r0  ih  Nc                r~   r   rG   r.   r   r	   r   ZError.__init__i      4<$vr   c                r   )z'The error code, e.g. an xmlParserError )rA   ZxmlErrorGetCoder-   r   r   r	   rT  Z
Error.coden      ((1
r   c                r   )z+What part of the library raised this error )rA   ZxmlErrorGetDomainr-   r   r   r	   domainZError.domains      **4773
r   c                r   )zthe filename )rA   ZxmlErrorGetFiler-   r   r   r	   rK   Z
Error.filex  r  r   c                r   )zhow consequent is the error )rA   ZxmlErrorGetLevelr-   r   r   r	   rq  ZError.level}      ))$''2
r   c                r   )zthe line number if available )rA   ZxmlErrorGetLiner-   r   r   r	   lineZ
Error.line  r  r   c                r   )z)human-readable informative error message )rA   ZxmlErrorGetMessager-   r   r   r	   messageZError.message  r  r   c                r+  )zCleanup the error. N)rA   ZxmlResetErrorr-   r   r    r	   
resetErrorZError.resetError        )r   rG   r   )r   r   r   r   r   rT  r  rK   rq  r  r  r  r   r$   r%   r&   r	   r0  r0  h  s2     





* *r   r0  c                   s  a  ] tR tRt o RWR ltR tR tR tR tR t	R	 t
R
 tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR t R  t!R! t"R" t#R# t$R$ t%R% t&R& t'R' t(R( t)R) t*R* t+R+ t,R, t-R- t.R. t/R/ t0R0 t1R1 t2R2 t3R3 t4R4 t5R5 t6R6 t7R7 t8R8 t9R9 t:R: t;R; t<R< t=R= t>R> t?R? t@R@ tARA tBRB tCRC tDRD tERE tFRF tGRG tHRH tIRI tJRJ tKRK tLRL tMRM tNRN tORO tPRP tQRQ tRRR tSRS tTRT tURU tVRVtWV tXR# )Xr    Nc                >    Wn         \        P                  WR 7       R# r   N)r-   r   r   r.   r   r	   r   ZparserCtxt.__init__      0r   c                r   r   r   r   r    r	   rD   ZparserCtxt.__del__  r   r   c                r@  )z-Get the document tree from a parser context. zxmlParserGetDoc() failedr   )rA   ZxmlParserGetDocr-   r(   r   r   r9   _parserCtxt__tmpr   r	   r   ZparserCtxt.doc  s5    ((1;[)CDDC r   c                r   )z4Get the validity information from a parser context. )rA   ZxmlParserGetIsValidr-   r   r   r	   isValidZparserCtxt.isValid  r&  r   c                r2  )z<Switch on the generation of line number for elements nodes. N)rA   ZxmlParserSetLineNumbersr-   )r   Zlinenumbersr   r	   lineNumbersZparserCtxt.lineNumbers  s    **477K@r   c                r2  )z6Switch the parser to load the DTD without validating. N)rA   ZxmlParserSetLoadSubsetr-   )r   Z
loadsubsetr   r	   
loadSubsetZparserCtxt.loadSubset  s    ))$'':>r   c                r2  )z"Switch the parser to be pedantic. N)rA   ZxmlParserSetPedanticr-   )r   pedanticr   r	   r  ZparserCtxt.pedantic      '':r   c                r2  )z'Switch the parser to replace entities. N)rA   ZxmlParserSetReplaceEntitiesr-   )r   replaceEntitiesr   r	   r  ZparserCtxt.replaceEntities  s    ..twwHr   c                r2  )z&Switch the parser to validation mode. N)rA   ZxmlParserSetValidater-   )r   validater   r	   r  ZparserCtxt.validate  r  r   c                r   )z7Get the well formed information from a parser context. )rA   ZxmlParserGetWellFormedr-   r   r   r	   
wellFormedZparserCtxt.wellFormed  r  r   c                    \         P                  ! V P                  WW44      pVf   \        R4      h\	        VR7      pV# )`parse an XML in-memory document and build a tree. This
reuses the existing @ctxt parser context zhtmlCtxtReadDoc() failedr   )rA   htmlCtxtReadDocr-   r   r   r   r=   r7  r   r8  r9   r  r*  r	   r  ZparserCtxt.htmlCtxtReadDoc  s;     ((#HN;Y'ABBC r   c                r  )zdparse an XML from a file descriptor and build a tree. This
reuses the existing @ctxt parser context zhtmlCtxtReadFd() failedr   )rA   htmlCtxtReadFdr-   r   r   r   r;  r7  r   r8  r9   r  r*  r	   r  ZparserCtxt.htmlCtxtReadFd  s;     ''(L;Y'@AAC r   c                r`  )dparse an XML file from the filesystem or the network. This
reuses the existing @ctxt parser context zhtmlCtxtReadFile() failedr   )rA   htmlCtxtReadFiler-   r   r   r   r  r   r8  r9   r  r  r	   r  ZparserCtxt.htmlCtxtReadFile  s;     ))$''8wO;Y'BCCC r   c                r>  )r   zhtmlCtxtReadMemory() failedr   )rA   htmlCtxtReadMemoryr-   r   r   r   r   r!  r7  r   r8  r9   r  rA  r	   r  ZparserCtxt.htmlCtxtReadMemory  s>     ++DGGV3RYZ;Y'DEEC r   c                r+  zReset a parser context N)rA   htmlCtxtResetr-   r   r    r	   r  ZparserCtxt.htmlCtxtReset  r  r   c                r  z*Applies the options to the parser context )rA   htmlCtxtUseOptionsr-   r   r8  r9   r   r	   r  ZparserCtxt.htmlCtxtUseOptions  s    ++DGGW=
r   c                r+  )zgFree all the memory used by a parser context. However the
parsed document in ctxt->myDoc is not freed. N)rA   htmlFreeParserCtxtr-   r   r    r	   r  ZparserCtxt.htmlFreeParserCtxt       	%%dgg.r   c                r   )zDEPRECATED: Internal function, don't use.  parse Reference
declarations  [66] CharRef ::= '&#' [0-9]+ ';' | '&#x'
 [0-9a-fA-F]+ ';' )rA   htmlParseCharRefr-   r   r   r	   r  ZparserCtxt.htmlParseCharRef       ))$''2
r   c                J    \         P                  ! V P                  WV4      pV# zParse a Chunk of memory )rA   htmlParseChunkr-   r   r  r!  Z	terminater9   r   r	   r  ZparserCtxt.htmlParseChunk  s    ''iH
r   c                r   )zOparse an HTML document (and build a tree if using the
standard SAX interface). )rA   htmlParseDocumentr-   r   r   r	   r  ZparserCtxt.htmlParseDocument       **4773
r   c                r+  )zDEPRECATED: Internal function, don't use.  parse an HTML
element, this is highly recursive this is kept for
compatibility with previous code versions  [39] element ::=
EmptyElemTag | STag content ETag  [41] Attribute ::= Name
 Eq AttValue N)rA   htmlParseElementr-   r   r    r	   r  ZparserCtxt.htmlParseElement  s     	##DGG,r   c                r   )aQ  This function provides the current index of the parser
relative to the start of the current entity. This function
is computed in bytes from the beginning starting at zero
and finishing at the size in byte of the file if parsing a
file. The function is of constant cost if the input is
 UTF-8 but can be costly if run on non-UTF-8 input. )rA   ZxmlByteConsumedr-   r   r   r	   byteConsumedZparserCtxt.byteConsumed  s     ((1
r   c                r+  )zBClear (release owned resources) and reinitialize a parser
context N)rA   ZxmlClearParserCtxtr-   r   r    r	   clearParserCtxtZparserCtxt.clearParserCtxt  r  r   c                r  )r   zxmlCtxtReadDoc() failedr   )rA   ZxmlCtxtReadDocr-   r   r   r  r*  r	   ctxtReadDocZparserCtxt.ctxtReadDoc#  s;     ''8M;Y'@AAC r   c                r  )zparse an XML from a file descriptor and build a tree. This
reuses the existing @ctxt parser context NOTE that the file
descriptor will not be closed when the reader is closed or
 reset. zxmlCtxtReadFd() failedr   )rA   ZxmlCtxtReadFdr-   r   r   r  r*  r	   
ctxtReadFdZparserCtxt.ctxtReadFd+  s;    
 &&twwK;Y'?@@C r   c                r`  )r  zxmlCtxtReadFile() failedr   )rA   ZxmlCtxtReadFiler-   r   r   r  r  r	   ctxtReadFileZparserCtxt.ctxtReadFile5  s;     (((gN;Y'ABBC r   c                r>  )r   zxmlCtxtReadMemory() failedr   )rA   ZxmlCtxtReadMemoryr-   r   r   r	  rA  r	   ctxtReadMemoryZparserCtxt.ctxtReadMemory=  s>     **477F#QXY;Y'CDDC r   c                r+  r
  )rA   ZxmlCtxtResetr-   r   r    r	   	ctxtResetZparserCtxt.ctxtResetE      (r   c                J    \         P                  ! V P                  WW44      pV# )zReset a push parser context )rA   ZxmlCtxtResetPushr-   )r   r  r!  r  r   r9   r   r	   ctxtResetPushZparserCtxt.ctxtResetPushI  s    ))$''5S
r   c                r  r  )rA   ZxmlCtxtUseOptionsr-   r  r   r	   ctxtUseOptionsZparserCtxt.ctxtUseOptionsN  s    **477G<
r   c                r   )zkDEPRECATED: Internal function which will be made private in
a future version.  Initialize a parser context )rA   ZxmlInitParserCtxtr-   r   r   r	   initParserCtxtZparserCtxt.initParserCtxtS  r  r   c                r  r  )rA   ZxmlParseChunkr-   r  r   r	   
parseChunkZparserCtxt.parseChunkY  s    &&twwYG
r   c                r   )zparse an XML document (and build a tree if using the
standard SAX interface).  [1] document ::= prolog element
 Misc*  [22] prolog ::= XMLDecl? Misc* (doctypedecl Misc*)? )rA   ZxmlParseDocumentr-   r   r   r	   parseDocumentZparserCtxt.parseDocument^  r  r   c                r   )zparse a general parsed entity An external general parsed
entity is well-formed if it matches the production labeled
 extParsedEnt.  [78] extParsedEnt ::= TextDecl? content )rA   ZxmlParseExtParsedEntr-   r   r   r	   parseExtParsedEntZparserCtxt.parseExtParsedEnte       --dgg6
r   c                r   )zDEPRECATED: Don't use.  Setup the parser context to parse a
new buffer; Clears any prior contents from the parser
context. The buffer parameter must not be None, but the
 filename parameter can be N)rA   ZxmlSetupParserForBufferr-   )r   r   r  r>   r	   setupParserForBufferZparserCtxt.setupParserForBufferl  s    
 	**477FEr   c                r+  )z!Blocks further parser processing N)rA   ZxmlStopParserr-   r   r    r	   
stopParserZparserCtxt.stopParsers  r  r   c                L    \         P                  ! V P                  WW4V4      pV# )zThis function is deprecated, we now always process entities
content through xmlStringDecodeEntities  TODO: remove it in
next major release.  [67] Reference ::= EntityRef | CharRef
  [69] PEReference ::= '%' Name ';' )rA   ZxmlDecodeEntitiesr-   )r   r8   whatr  end2end3r9   r   r	   decodeEntitiesZparserCtxt.decodeEntities{  s#    
 **477Cs$O
r   c                r  zDefault handling of defined entities, when should we define
a new input stream ? When do we just handle that as a set
 of chars ?  OBSOLETE: to be removed at some point. Nr-   rA   ZxmlHandleEntity)r   ZentityZ	entity__or   r	   handleEntityZparserCtxt.handleEntity  s*     >t9 ))i""477I6r   c                r   )a  parse an XML namespace name.  TODO: this seems not in use
anymore, the namespace handling is done on top of the SAX
interfaces, i.e. not on raw input.  [NS 3] NCName ::=
(Letter | '_') (NCNameChar)*  [NS 4] NCNameChar ::= Letter
 | Digit | '.' | '-' | '_' | CombiningChar | Extender )rA   ZxmlNamespaceParseNCNamer-   r   r   r	   namespaceParseNCNameZparserCtxt.namespaceParseNCName  s     009
r   c                r   )zparse a namespace prefix declaration  TODO: this seems not
in use anymore, the namespace handling is done on top of
the SAX interfaces, i.e. not on raw input.  [NS 1] NSDef
::= PrefixDef Eq SystemLiteral  [NS 2] PrefixDef ::=
 'xmlns' (':' NCName)? )rA   ZxmlNamespaceParseNSDefr-   r   r   r	   namespaceParseNSDefZparserCtxt.namespaceParseNSDef  s     //8
r   c                r+  )zNDEPRECATED: Internal function, do not use.  Skip to the
next char input char. N)rA   ZxmlNextCharr-   r   r    r	   nextCharZparserCtxt.nextChar  s     	tww'r   c                r   )aQ  DEPRECATED: Internal function, don't use.  parse a value
for an attribute Note: the parser won't do substitution of
entities here, this will be handled later in
xmlStringGetNodeList  [10] AttValue ::= '"' ([^<&"] |
Reference)* '"' | "'" ([^<&'] | Reference)* "'"  3.3.3
Attribute-Value Normalization: Before the value of an
attribute is passed to the application or checked for
validity, the XML processor must normalize it as follows: -
a character reference is processed by appending the
referenced character to the attribute value - an entity
reference is processed by recursively processing the
replacement text of the entity - a whitespace character
(#x20, #xD, #xA, #x9) is processed by appending #x20 to the
normalized value, except that only a single #x20 is
appended for a "#xD#xA" sequence that is part of an
external parsed entity or the literal entity value of an
internal parsed entity - other characters are processed by
appending them to the normalized value If the declared
value is not CDATA, then the XML processor must further
process the normalized attribute value by discarding any
leading and trailing space (#x20) characters, and by
replacing sequences of space (#x20) characters by a single
space (#x20) character. All attributes for which no
declaration has been read should be treated by a
 non-validating parser as if declared CDATA. )rA   ZxmlParseAttValuer-   r   r   r	   parseAttValueZparserCtxt.parseAttValue  s    4 ))$''2
r   c                r+  )zDEPRECATED: Internal function, don't use.  Parse an
attribute list declaration for an element. Always consumes
'<!'.  [52] AttlistDecl ::= '<!ATTLIST' S Name AttDef* S?
 '>'  [53] AttDef ::= S Name S AttType S DefaultDecl N)rA   ZxmlParseAttributeListDeclr-   r   r    r	   parseAttributeListDeclZ!parserCtxt.parseAttributeListDecl      
 	,,TWW5r   c                r+  )zDEPRECATED: Internal function, don't use.  Parse escaped
pure raw content. Always consumes '<!['.  [18] CDSect ::=
CDStart CData CDEnd  [19] CDStart ::= '<![CDATA['  [20]
Data ::= (Char* - (Char* ']]>' Char*))  [21] CDEnd ::= ']]>' N)rA   ZxmlParseCDSectr-   r   r    r	   parseCDSectZparserCtxt.parseCDSect  s    
 	!!$''*r   c                r2  )z*DEPRECATED: Internal function, don't use. N)rA   ZxmlParseCharDatar-   )r   Zcdatar   r	   parseCharDataZparserCtxt.parseCharData  s    ##DGGU3r   c                r   )a  DEPRECATED: Internal function, don't use.  Parse a numeric
character reference. Always consumes '&'.  [66] CharRef ::=
'&#' [0-9]+ ';' | '&#x' [0-9a-fA-F]+ ';'  [ WFC: Legal
Character ] Characters referred to using character
 references must match the production for Char. )rA   ZxmlParseCharRefr-   r   r   r	   parseCharRefZparserCtxt.parseCharRef  s     ((1
r   c                r+  )a  DEPRECATED: Internal function, don't use.  Parse an XML
(SGML) comment. Always consumes '<!'.  The spec says that
"For compatibility, the string "--" (double-hyphen) must
not occur within comments. "  [15] Comment ::= '<!--'
 ((Char - '-') | ('-' (Char - '-')))* '-->' N)rA   ZxmlParseCommentr-   r   r    r	   parseCommentZparserCtxt.parseComment  s     	""477+r   c                r+  )z}Parse a content sequence. Stops at EOF or '</'.  [43]
content ::= (element | CharData | Reference | CDSect | PI |
 Comment)* N)rA   ZxmlParseContentr-   r   r    r	   parseContentZparserCtxt.parseContent       	""477+r   c                r+  )a,  DEPRECATED: Internal function, don't use.  parse a DOCTYPE
declaration  [28] doctypedecl ::= '<!DOCTYPE' S Name (S
ExternalID)? S? ('[' (markupdecl | PEReference | S)* ']'
S?)? '>'  [ VC: Root Element Type ] The Name in the
document type declaration must match the element type of
 the root element. N)rA   ZxmlParseDocTypeDeclr-   r   r    r	   parseDocTypeDeclZparserCtxt.parseDocTypeDecl  s     	&&tww/r   c                r+  )zDEPRECATED: Internal function, don't use.  parse an XML
element  [39] element ::= EmptyElemTag | STag content ETag 
[ WFC: Element Type Match ] The Name in an element's
 end-tag must match the element type in the start-tag. N)rA   ZxmlParseElementr-   r   r    r	   parseElementZparserCtxt.parseElement  s    
 	""477+r   c                r   )zDEPRECATED: Internal function, don't use.  Parse an element
declaration. Always consumes '<!'.  [45] elementdecl ::=
'<!ELEMENT' S Name S contentspec S? '>'  [ VC: Unique
Element Type Declaration ] No element type may be declared
 more than once )rA   ZxmlParseElementDeclr-   r   r   r	   parseElementDeclZparserCtxt.parseElementDecl  s     ,,TWW5
r   c                r   )zzDEPRECATED: Internal function, don't use.  parse the XML
encoding name  [81] EncName ::= [A-Za-z] ([A-Za-z0-9._] |
 '-')* )rA   ZxmlParseEncNamer-   r   r   r	   parseEncNameZparserCtxt.parseEncName       ((1
r   c                r   )zDEPRECATED: Internal function, don't use.  parse the XML
encoding declaration  [80] EncodingDecl ::= S 'encoding' Eq
('"' EncName '"' |  "'" EncName "'")  this setups the
 conversion filters. )rA   ZxmlParseEncodingDeclr-   r   r   r	   parseEncodingDeclZparserCtxt.parseEncodingDecl  s    
 --dgg6
r   c                r+  )zDEPRECATED: Internal function, don't use.  parse an end of
tag  [42] ETag ::= '</' Name S? '>'  With namespace  [NS 9]
 ETag ::= '</' QName S? '>' N)rA   ZxmlParseEndTagr-   r   r    r	   parseEndTagZparserCtxt.parseEndTag  s     	!!$''*r   c                r+  )a  DEPRECATED: Internal function, don't use.  Parse an entity
declaration. Always consumes '<!'.  [70] EntityDecl ::=
GEDecl | PEDecl  [71] GEDecl ::= '<!ENTITY' S Name S
EntityDef S? '>'  [72] PEDecl ::= '<!ENTITY' S '%' S Name S
PEDef S? '>'  [73] EntityDef ::= EntityValue | (ExternalID
NDataDecl?)  [74] PEDef ::= EntityValue | ExternalID  [76]
NDataDecl ::= S 'NDATA' S Name  [ VC: Notation Declared ]
 The Name must match the declared name of a notation. N)rA   ZxmlParseEntityDeclr-   r   r    r	   parseEntityDeclZparserCtxt.parseEntityDecl  s     	%%dgg.r   c                r@  )aV  DEPRECATED: Internal function, don't use.  Parse an entitiy
reference. Always consumes '&'.  [68] EntityRef ::= '&'
Name ';'  [ WFC: Entity Declared ] In a document without
any DTD, a document with only an internal DTD subset which
contains no parameter entity references, or a document with
"standalone='yes'", the Name given in the entity reference
must match that in an entity declaration, except that
well-formed documents need not declare any of the following
entities: amp, lt, gt, apos, quot.  The declaration of a
parameter entity must precede any reference to it. 
Similarly, the declaration of a general entity must precede
any reference to it which appears in a default value in an
attribute-list declaration. Note that if entities are
declared in the external subset or in external parameter
entities, a non-validating processor is not obligated to
read and process their declarations; for such documents,
the rule that an entity must be declared is a
well-formedness constraint only if standalone='yes'.  [
WFC: Parsed Entity ] An entity reference must not contain
 the name of an unparsed entity zxmlParseEntityRef() failedr   )rA   ZxmlParseEntityRefr-   r(   r   r  r   r	   parseEntityRefZparserCtxt.parseEntityRef!  s7    * **4773;[)EFFs#r   c                r   )zparse Markup declarations from an external subset  [30]
extSubset ::= textDecl? extSubsetDecl  [31] extSubsetDecl
 ::= (markupdecl | conditionalSect | PEReference | S) * N)rA   ZxmlParseExternalSubsetr-   )r   rG  r  r>   r	   parseExternalSubsetZparserCtxt.parseExternalSubset;  s     	))$'':Hr   c                r+  )a;  DEPRECATED: Internal function, don't use.  Parse markup
declarations. Always consumes '<!' or '<?'.  [29]
markupdecl ::= elementdecl | AttlistDecl | EntityDecl |
NotationDecl | PI | Comment  [ VC: Proper Declaration/PE
Nesting ] Parameter-entity replacement text must be
properly nested with markup declarations. That is to say,
if either the first character or the last character of a
markup declaration (markupdecl above) is contained in the
replacement text for a parameter-entity reference, both
must be contained in the same replacement text.  [ WFC: PEs
in Internal Subset ] In the internal DTD subset,
parameter-entity references can occur only where markup
declarations can occur, not within markup declarations.
(This does not apply to references that occur in external
 parameter entities or to the external subset.) N)rA   ZxmlParseMarkupDeclr-   r   r    r	   parseMarkupDeclZparserCtxt.parseMarkupDeclA  s      	%%dgg.r   c                r+  )zoDEPRECATED: Internal function, don't use.  parse an XML
Misc* optional field.  [27] Misc ::= Comment | PI |  S N)rA   ZxmlParseMiscr-   r   r    r	   	parseMiscZparserCtxt.parseMiscS  s     	(r   c                r   )zDEPRECATED: Internal function, don't use.  parse an XML
name.  [4] NameChar ::= Letter | Digit | '.' | '-' | '_' |
':' | CombiningChar | Extender  [5] Name ::= (Letter | '_'
 | ':') (NameChar)*  [6] Names ::= Name (#x20 Name)* )rA   ZxmlParseNamer-   r   r   r	   	parseNameZparserCtxt.parseNameX  s    
 %%dgg.
r   c                r+  )aD  xmlParseNamespace: parse specific PI '<?namespace ...'
constructs.  This is what the older xml-name Working Draft
specified, a bunch of other stuff may still rely on it, so
support is still here as if it was declared on the root of
the Tree:-(  TODO: remove from library  To be removed at
 next drop of binary compatibility N)rA   ZxmlParseNamespacer-   r   r    r	   parseNamespaceZparserCtxt.parseNamespace`  s     	$$TWW-r   c                r   )zDEPRECATED: Internal function, don't use.  parse an XML
Nmtoken.  [7] Nmtoken ::= (NameChar)+  [8] Nmtokens ::=
 Nmtoken (#x20 Nmtoken)* )rA   ZxmlParseNmtokenr-   r   r   r	   parseNmtokenZparserCtxt.parseNmtokeni  rD  r   c                r+  )aU  DEPRECATED: Internal function, don't use.  Parse a notation
declaration. Always consumes '<!'.  [82] NotationDecl ::=
'<!NOTATION' S Name S (ExternalID |  PublicID) S? '>' 
Hence there is actually 3 choices: 'PUBLIC' S PubidLiteral
'PUBLIC' S PubidLiteral S SystemLiteral and 'SYSTEM' S
 SystemLiteral  See the NOTE on xmlParseExternalID(). N)rA   ZxmlParseNotationDeclr-   r   r    r	   parseNotationDeclZparserCtxt.parseNotationDeclp  s     	''0r   c                r+  )a  DEPRECATED: Internal function, don't use.  Parse a
parameter entity reference. Always consumes '%'.  The
entity content is handled directly by pushing it's content
as a new input stream.  [69] PEReference ::= '%' Name ';' 
[ WFC: No Recursion ] A parsed entity must not contain a
recursive reference to itself, either directly or
indirectly.  [ WFC: Entity Declared ] In a document without
any DTD, a document with only an internal DTD subset which
contains no parameter entity references, or a document with
"standalone='yes'", ...  ... The declaration of a parameter
entity must precede any reference to it...  [ VC: Entity
Declared ] In a document with an external subset or
external parameter entities with "standalone='no'", ... 
... The declaration of a parameter entity must precede any
reference to it...  [ WFC: In DTD ] Parameter-entity
references may only appear in the DTD. NOTE: misleading but
 this is handled. N)rA   ZxmlParsePEReferencer-   r   r    r	   parsePEReferenceZparserCtxt.parsePEReferencey  s    $ 	&&tww/r   c                r+  )zDEPRECATED: Internal function, don't use.  parse an XML
Processing Instruction.  [16] PI ::= '<?' PITarget (S
(Char* - (Char* '?>' Char*)))? '?>'  The processing is
 transferred to SAX once parsed. N)rA   Z
xmlParsePIr-   r   r    r	   parsePIZparserCtxt.parsePI  s    
 	dgg&r   c                r   )zDEPRECATED: Internal function, don't use.  parse the name
of a PI  [17] PITarget ::= Name - (('X' | 'x') ('M' | 'm')
 ('L' | 'l')) )rA   ZxmlParsePITargetr-   r   r   r	   parsePITargetZparserCtxt.parsePITarget  r  r   c                r   )zDEPRECATED: Internal function, don't use.  parse an XML
public literal  [12] PubidLiteral ::= '"' PubidChar* '"' |
 "'" (PubidChar - "'")* "'" )rA   ZxmlParsePubidLiteralr-   r   r   r	   parsePubidLiteralZparserCtxt.parsePubidLiteral  r)  r   c                r   )zParse and return a string between quotes or doublequotes 
TODO: Deprecated, to  be removed at next drop of binary
 compatibility )rA   ZxmlParseQuotedStringr-   r   r   r	   parseQuotedStringZparserCtxt.parseQuotedString  r)  r   c                r+  )ae  DEPRECATED: Internal function, don't use.  parse and handle
entity references in content, depending on the SAX
interface, this may end-up in a call to character() if this
is a CharRef, a predefined entity, if there is no
reference() callback. or if the parser was asked to switch
to that mode.  Always consumes '&'.  [67] Reference ::=
 EntityRef | CharRef N)rA   ZxmlParseReferencer-   r   r    r	   parseReferenceZparserCtxt.parseReference  s     	$$TWW-r   c                r   )ad  DEPRECATED: Internal function, don't use.  parse the XML
standalone declaration  [32] SDDecl ::= S 'standalone' Eq
(("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no')'"'))  [ VC:
Standalone Document Declaration ] TODO The standalone
document declaration must have the value "no" if any
external markup declarations contain declarations of: -
attributes with default values, if elements to which these
attributes apply appear in the document without
specifications of values for these attributes, or -
entities (other than amp, lt, gt, apos, quot), if
references to those entities appear in the document, or -
attributes with values subject to normalization, where the
attribute appears in the document with a value which will
change as a result of normalization, or - element types
with element content, if white space occurs directly within
 any instance of those types. )rA   ZxmlParseSDDeclr-   r   r   r	   parseSDDeclZparserCtxt.parseSDDecl  s    " ''0
r   c                r   )a  DEPRECATED: Internal function, don't use.  Parse a start
tag. Always consumes '<'.  [40] STag ::= '<' Name (S
Attribute)* S? '>'  [ WFC: Unique Att Spec ] No attribute
name may appear more than once in the same start-tag or
empty-element tag.  [44] EmptyElemTag ::= '<' Name (S
Attribute)* S? '/>'  [ WFC: Unique Att Spec ] No attribute
name may appear more than once in the same start-tag or
empty-element tag.  With namespace:  [NS 8] STag ::= '<'
QName (S Attribute)* S? '>'  [NS 10] EmptyElement ::= '<'
 QName (S Attribute)* S? '/>' )rA   ZxmlParseStartTagr-   r   r   r	   parseStartTagZparserCtxt.parseStartTag  s     ))$''2
r   c                r   )z{DEPRECATED: Internal function, don't use.  parse an XML
Literal  [11] SystemLiteral ::= ('"' [^"]* '"') | ("'"
 [^']* "'") )rA   ZxmlParseSystemLiteralr-   r   r   r	   parseSystemLiteralZparserCtxt.parseSystemLiteral       ..tww7
r   c                r+  )zDEPRECATED: Internal function, don't use.  parse an XML
declaration header for external entities  [77] TextDecl ::=
 '<?xml' VersionInfo? EncodingDecl S? '?>' N)rA   ZxmlParseTextDeclr-   r   r    r	   parseTextDeclZparserCtxt.parseTextDecl  s     	##DGG,r   c                r   )zDEPRECATED: Internal function, don't use.  parse the XML
version.  [24] VersionInfo ::= S 'version' Eq (' VersionNum
 ' | " VersionNum ")  [25] Eq ::= S? '=' S? )rA   ZxmlParseVersionInfor-   r   r   r	   parseVersionInfoZparserCtxt.parseVersionInfo       ,,TWW5
r   c                r   )zDEPRECATED: Internal function, don't use.  parse the XML
version value.  [26] VersionNum ::= '1.' [0-9]+  In
 practice allow [0-9].[0-9]+ at that level )rA   ZxmlParseVersionNumr-   r   r   r	   parseVersionNumZparserCtxt.parseVersionNum       ++DGG4
r   c                r+  )zDEPRECATED: Internal function, don't use.  parse an XML
declaration header  [23] XMLDecl ::= '<?xml' VersionInfo
 EncodingDecl? SDDecl? S? '?>' N)rA   ZxmlParseXMLDeclr-   r   r    r	   parseXMLDeclZparserCtxt.parseXMLDecl  r?  r   c                r+  )a  DEPRECATED: Internal function, do not use.  [69]
PEReference ::= '%' Name ';'  [ WFC: No Recursion ] A
parsed entity must not contain a recursive reference to
itself, either directly or indirectly.  [ WFC: Entity
Declared ] In a document without any DTD, a document with
only an internal DTD subset which contains no parameter
entity references, or a document with "standalone='yes'",
...  ... The declaration of a parameter entity must precede
any reference to it...  [ VC: Entity Declared ] In a
document with an external subset or external parameter
entities with "standalone='no'", ...  ... The declaration
of a parameter entity must precede any reference to it... 
[ WFC: In DTD ] Parameter-entity references may only appear
in the DTD. NOTE: misleading but this is handled.  A
PEReference may have been detected in the current input
stream the handling is done accordingly to
http://www.w3.org/TR/REC-xml#entproc i.e. - Included in
literal in entity values - Included as Parameter Entity
 reference within DTDs N)rA   ZxmlParserHandlePEReferencer-   r   r    r	   parserHandlePEReferenceZ"parserCtxt.parserHandlePEReference  s    ( 	--dgg6r   c                r+  )a  TODO: Remove, now deprecated ... the test is done directly
in the content parsing routines.  [67] Reference ::=
EntityRef | CharRef  [68] EntityRef ::= '&' Name ';'  [
WFC: Entity Declared ] the Name given in the entity
reference must match that in an entity declaration, except
that well-formed documents need not declare any of the
following entities: amp, lt, gt, apos, quot.  [ WFC: Parsed
Entity ] An entity reference must not contain the name of
an unparsed entity  [66] CharRef ::= '&#' [0-9]+ ';' |
'&#x' [0-9a-fA-F]+ ';'  A PEReference may have been
detected in the current input stream the handling is done
 accordingly to http://www.w3.org/TR/REC-xml#entproc N)rA   ZxmlParserHandleReferencer-   r   r    r	   parserHandleReferenceZ parserCtxt.parserHandleReference  s     	++DGG4r   c                r   )zfxmlPopInput: the current input pointed by ctxt->input came
to an end pop it and return the next char. )rA   ZxmlPopInputr-   r   r   r	   popInputZparserCtxt.popInput  s     $$TWW-
r   c                r   )a  Trickery: parse an XML name but without consuming the input
flow Needed for rollback cases. Used only when parsing
entities references.  TODO: seems deprecated now, only used
in the default part of xmlParserHandleReference  [4]
NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
CombiningChar | Extender  [5] Name ::= (Letter | '_' | ':')
 (NameChar)*  [6] Names ::= Name (S Name)* )rA   ZxmlScanNamer-   r   r   r	   scanNameZparserCtxt.scanName!  s     $$TWW-
r   c                r   )zDEPRECATED: Internal function, do not use.  skip all blanks
character found at that point in the input streams. It pops
up finished entities in the process if allowable at that
 point. )rA   ZxmlSkipBlankCharsr-   r   r   r	   skipBlankCharsZparserCtxt.skipBlankChars,  r_  r   c                r,  zDEPRECATED: Internal function, don't use.  Takes a entity
string content and process to do the adequate
substitutions.  [67] Reference ::= EntityRef | CharRef 
 [69] PEReference ::= '%' Name ';' )rA   ZxmlStringDecodeEntitiesr-   )r   r=   r-  r  r.  r/  r9   r   r	   stringDecodeEntitiesZparserCtxt.stringDecodeEntities4  s$    
 00#SPTU
r   c           	     sL    \         P                  ! V P                  WW4WV4      pV# re  )rA   ZxmlStringLenDecodeEntitiesr-   )r   r=   r8   r-  r  r.  r/  r9   s   &&&&&&& r	   stringLenDecodeEntitiesZ"parserCtxt.stringLenDecodeEntities<  s$    
 33DGGStRV]
r   rG   r   )Yr   r   r   r   r   rD   r   r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r#  r$  r%  r&  r'  r(  r*  r+  r0  r3  r4  r5  r6  r7  r8  r:  r;  r<  r=  r>  r@  rA  rB  rC  rE  rF  rG  rH  rI  rJ  rK  rL  rM  rN  rO  rP  rQ  rR  rS  rT  rU  rV  rW  rX  rZ  r[  r]  r_  r`  ra  rb  rc  rd  rf  rg  r   r$   r%   r&   r	   r  r    s    1
A?;I;*
/

-/
)


F*7(
:6+4,,0,+	/4I/$)
.10('.(-,7,5	 r   r  c                   f   a  ] tR tRt o RR ltR tR tR tR tR t	R	 t
R
 tR tR tR tRtV tR# )r   iD  Nc                r  )r    z'xmlAttr got a wrong wrapper object typer   Nr  r.   r   r	   r   ZxmlAttr.__init__E  r  r   c                r  )z<xmlAttr (%s) object at 0x%x>r  r   r    r	   r  ZxmlAttr.__repr__J  r  r   c                r!  )z*Dumps debug information for the attribute N)rA   ZxmlDebugDumpAttrr-   r"  r>   r	   debugDumpAttrZxmlAttr.debugDumpAttrQ  s    ##FGGU;r   c                r!  )z/Dumps debug information for the attribute list N)rA   ZxmlDebugDumpAttrListr-   r"  r>   r	   debugDumpAttrListZxmlAttr.debugDumpAttrListU  s    ''?r   c                rN  rB  rC  r   rb   Z	target__or9   Z_xmlAttr__tmpr:   r	   rD  ZxmlAttr.copyProp]  sG    >t9 ))i$$Y8;Y'=>>S!r   c                rN  rE  rF  rk  r:   r	   rG  ZxmlAttr.copyPropListf  sG    >t9 ))i((GG<;Y'ABBS!r   c                r+  )z1Free one attribute, all the content is freed too N)rA   ZxmlFreePropr-   r   r    r	   freePropZxmlAttr.freePropo  s    tww'r   c                r+  )zFFree a property and all its siblings, all the children are
freed too. N)rA   ZxmlFreePropListr-   r   r    r	   freePropListZxmlAttr.freePropLists  rY  r   c                r   )zwUnlink and free one attribute, all the content is freed too
Note this doesn't work for namespace definition attributes )rA   ZxmlRemovePropr-   r   r   r	   
removePropZxmlAttr.removePropx  s     &&tww/
r   c                rZ  r  r  r]  r   r	   r  ZxmlAttr.removeID  s/     ;vvf$$VWW5
r   c                rZ  r  r  r]  r   r	   r  ZxmlAttr.removeRef  s/     ;vvf%%fgg6
r   rG   r   )r   r   r   r   r   r  ri  rj  rD  rG  rl  rm  rn  r  r  r   r$   r%   r&   r	   r   r   D  sC     *
Q<@(,
 r   r   c                   0   a  ] tR tRt o RR ltR tRtV tR# )r   i  Nc                r  )r    z,xmlAttribute got a wrong wrapper object typer   Nr  r.   r   r	   r   ZxmlAttribute.__init__  s0    "Y?m5n/n)r   c                r  )z"<xmlAttribute (%s) object at 0x%x>r  r   r    r	   r  ZxmlAttribute.__repr__  s    3tyy#fdmBT6UUUr   rG   r   r   r   r   r   r   r  r   r$   r%   r&   r	   r   r     s     *
V Vr   r   c                   rh  )ru  i  Nc                r~   r   rG   r.   r   r	   r   Zcatalog.__init__  r  r   c                r   r   )r-   rA   ZxmlFreeCatalogr   r    r	   rD   Zcatalog.__del__  &    77d?%%dgg.r   c                r  )zNAdd an entry in the catalog, it may overwrite existing but
different entries. )rA   ZxmlACatalogAddr-   )r   r   rP  rQ  r9   r   r	   addZcatalog.add  s!     ''WE
r   c                r   )zCheck is a catalog is empty )rA   ZxmlCatalogIsEmptyr-   r   r   r	   catalogIsEmptyZcatalog.catalogIsEmpty  r  r   c                r   rU  )rA   ZxmlConvertSGMLCatalogr-   r   r   r	   convertSGMLCatalogZcatalog.convertSGMLCatalog  rd  r   c                r2  )z*Dump the given catalog to the given file. N)rA   ZxmlACatalogDumpr-   )r   rX  r   r	   rf  Zcatalog.dump  s    ""477C0r   c                r  ra  )rA   ZxmlACatalogRemover-   )r   rc  r9   r   r	   removeZcatalog.remove  s    **477E:
r   c                r  rf  )rA   ZxmlACatalogResolver-   )r   r[  r_  r9   rL   r	   resolveZcatalog.resolve  s    ++DGGUB
r   c                r  )zTTry to lookup the catalog local reference associated to a
public ID in that catalog )rA   ZxmlACatalogResolvePublicr-   )r   r[  r9   r   r	   resolvePublicZcatalog.resolvePublic  s     11$''5A
r   c                r  rk  )rA   ZxmlACatalogResolveSystemr-   )r   r_  r9   r   r	   resolveSystemZcatalog.resolveSystem  s    11$''5A
r   c                r  rn  )rA   ZxmlACatalogResolveURIr-   )r   r  r9   r   r	   
resolveURIZcatalog.resolveURI  s    ..tww<
r   rG   r   )r   r   r   r   r   rD   rr  rs  rt  rf  ru  rv  rw  rx  ry  r   r$   r%   r&   r	   ru  ru    sA     

1


 r   ru  c                   sZ   a  ] tR tRt o RR ltR tR tR tR tR t	R	 t
R
 tR tRtV tR# )r   i  Nc                r  )r    z&xmlDtd got a wrong wrapper object typer   Nr  r.   r   r	   r   ZxmlDtd.__init__  r  r   c                r  )z<xmlDtd (%s) object at 0x%x>r  r   r    r	   r  ZxmlDtd.__repr__  r  r   c                r(  )z$Dumps debug information for the DTD N)rA   ZxmlDebugDumpDTDr-   r)  r   r	   debugDumpDTDZxmlDtd.debugDumpDTD  s    ""6773r   c                r@  )zDo a copy of the dtd. zxmlCopyDtd() failedr   )rA   Z
xmlCopyDtdr-   r   r   )r   r9   _xmlDtd__tmpr   r	   copyDtdZxmlDtd.copyDtd  s5    ##DGG,;Y'<==C r   c                r+  )zFree a DTD structure. N)rA   Z
xmlFreeDtdr-   r   r    r	   freeDtdZxmlDtd.freeDtd  s    dgg&r   c                r|  )zFSearch the DTD for the description of this attribute on
this element. zxmlGetDtdAttrDesc() failedr   )rA   ZxmlGetDtdAttrDescr-   r   r   )r   rq   r_   r9   r{  rc  r	   dtdAttrDescZxmlDtd.dtdAttrDesc  s9     **477D?;Y'CDD#&r   c                r=  )3Search the DTD for the description of this element zxmlGetDtdElementDesc() failedr   )rA   ZxmlGetDtdElementDescr-   r   r   )r   r_   r9   r{  r   r	   dtdElementDescZxmlDtd.dtdElementDesc  s7    --dggt<;Y'FGG$r   c                r`  )zPSearch the DTD for the description of this qualified
attribute on this element. zxmlGetDtdQAttrDesc() failedr   )rA   ZxmlGetDtdQAttrDescr-   r   r   )r   rq   r_   r  r9   r{  r  r	   dtdQAttrDescZxmlDtd.dtdQAttrDesc  s;     ++DGGTH;Y'DEE#&r   c                r|  )r  zxmlGetDtdQElementDesc() failedr   )rA   ZxmlGetDtdQElementDescr-   r   r   )r   r_   r  r9   r{  rc  r	   dtdQElementDescZxmlDtd.dtdQElementDesc  s7    ..twwE;Y'GHH$r   rG   r   )r   r   r   r   r   r  rz  r|  r}  r~  r  r  r  r   r$   r%   r&   r	   r   r     s8     *
P4' r   r   c                   ro  )r   i  Nc                r  )r    z*xmlElement got a wrong wrapper object typer   Nr  r.   r   r	   r   ZxmlElement.__init__  s0    "Y?k5l/l)r   c                r  )z <xmlElement (%s) object at 0x%x>r  r   r    r	   r  ZxmlElement.__repr__   s    1TYYFDM@R4SSSr   rG   r   rp  r%   r&   r	   r   r     s     *
T Tr   r   c                   r
  )	r   i#  Nc                r  )r    z)xmlEntity got a wrong wrapper object typer   Nr  r.   r   r	   r   ZxmlEntity.__init__$  s0    "Y?j5k/k)r   c                r  )z<xmlEntity (%s) object at 0x%x>r  r   r    r	   r  ZxmlEntity.__repr__)  s    0DIIs64=?Q3RRRr   c                sF    \         P                  ! V P                  4       R # r   )rA   ZxmlFreeEntityr-   r   r    r	   
freeEntityZxmlEntity.freeEntity0  s      )r   c                r  r1  r2  )r   r   r  r   r	   r3  ZxmlEntity.handleEntity7  s(     <4g""7GG4r   rG   r   )
r   r   r   r   r   r  r  r3  r   r$   r%   r&   r	   r   r   #  s     *
S*5 5r   r   c                   s   a  ] tR tRt o RR ltR tR tR tR tR t	R	 t
R
 tR tR tR tR tR tR tR tR tR tR tRtV tR# )r   i?  Nc                r  )r    z%xmlNs got a wrong wrapper object typer   Nr  r.   r   r	   r   ZxmlNs.__init__@  s0    "Y?f5g/g)r   c                r  )z<xmlNs (%s) object at 0x%x>r  r   r    r	   r  ZxmlNs.__repr__E  s    ,		3vt};M/NNNr   c                r@  )zDo a copy of the namespace. zxmlCopyNamespace() failedr   )rA   ZxmlCopyNamespacer-   r   r   r   r9   _xmlNs__tmpr   r	   copyNamespaceZxmlNs.copyNamespaceL  s4    ))$''2;Y'BCC3r   c                r@  )z Do a copy of an namespace list. zxmlCopyNamespaceList() failedr   )rA   ZxmlCopyNamespaceListr-   r   r   r  r   r	   copyNamespaceListZxmlNs.copyNamespaceListS  s4    --dgg6;Y'FGG3r   c                r+  )z1Free up the structures associated to a namespace N)rA   Z	xmlFreeNsr-   r   r    r	   freeNsZxmlNs.freeNsZ  s    TWW%r   c                r+  )zAFree up all the structures associated to the chained
namespaces. N)rA   ZxmlFreeNsListr-   r   r    r	   
freeNsListZxmlNs.freeNsList^  s     	  )r   c                    Vf   RpMVP                   p\        P                  ! W@P                   W#4      pVf   \        R4      h\	        VR7      pV# rv  rw  r   r   r_   re   Z	parent__or9   r  rz  r	   r{  ZxmlNs.newChildc  sK     >t9 ))i$$YG;Y'=>>S!r   c                r  rr  rt  r   r   r_   re   rK  r9   r  rz  r	   rv  ZxmlNs.newDocNodeu  sK     ;vvf&&vwwF;Y'?@@S!r   c                r  rw  rx  r  rz  r	   ry  ZxmlNs.newDocNodeEatName  sK     ;vvf--fggtM;Y'FGGS!r   c                r  r|  r}  r  rz  r	   r~  ZxmlNs.newDocRawNode  sK     ;vvf))&''4I;Y'BCCS!r   c                r=  )zCreation of a new node element. @ns is optional (None). 
Use of this function is DISCOURAGED in favor of
 xmlNewDocNodeEatName. zxmlNewNodeEatName() failedr   )rA   ZxmlNewNodeEatNamer-   r   r   )r   r_   r9   r  r   r	   newNodeEatNameZxmlNs.newNodeEatName  s9     **477D9;Y'CDDS!r   c                r  r~  r  r   r   r_   rc  r_  r9   r  rz  r	   r  ZxmlNs.newNsProp  K     <4g%%gwwD;Y'>??S!r   c                r  r  r  r  rz  r	   r  ZxmlNs.newNsPropEatName  sK     <4g,,WggtK;Y'EFFS!r   c                r  r  r  r  rz  r	   r  ZxmlNs.newTextChild  sK     >t9 ))i((GGTK;Y'ABBS!r   c                r  r  r  r   r   r_  r   r	   r  ZxmlNs.setNs  s&    <4gGWW-r   c                r  r  r  r  rz  r	   r  ZxmlNs.setNsProp  r  r   c                rl  r  r  )r   r   r_   r_  r9   rc  r	   r  ZxmlNs.unsetNsProp  s/    <4g''$?
r   c                r+  )zNamespace nodes in libxml don't match the XPath semantic.
In a node set the namespace nodes are duplicated and the
next pointer is set to the parent node in the XPath
 semantic. Check if such a node needs to be freed N)rA   ZxmlXPathNodeSetFreeNsr-   r   r    r	   xpathNodeSetFreeNsZxmlNs.xpathNodeSetFreeNs  s    
 	((1r   rG   r   )r   r   r   r   r   r  r  r  r  r  r{  rv  ry  r~  r  r  r  r  r  r  r  r  r   r$   r%   r&   r	   r   r   ?  se     *
O&*
$&.2 2r   r   c                   rh  )r  i  Nc                r  r  )r-   rJ   r   r.   r   r	   r   ZoutputBuffer.__init__  r  r   c                sp    Vf   RpMVP                   p\        P                  ! V P                   WBV4       R# r  r  )r   r1  r   r   r/  r   r	   r  Z+outputBuffer.htmlDocContentDumpFormatOutput  s*    ;vvf11$''6VTr   c                sn    Vf   RpMVP                   p\        P                  ! V P                   W24       R# r  r   )r   r1  r   r/  rL   r	   r!  Z%outputBuffer.htmlDocContentDumpOutput  s(    ;vvf++DGGVFr   c                s    Vf   RpMVP                   pVf   RpMVP                   p\        P                  ! V P                   WVW44       R# r+  r,  )r   r   r1  r   r   rK  r/  r*  r	   r-  Z%outputBuffer.htmlNodeDumpFormatOutput  s>     ;vvf;vvf++DGGVXVr   c                s    Vf   RpMVP                   pVf   RpMVP                   p\        P                  ! V P                   WEV4       R# r.  r/  )r   r   r1  r   rK  r/  r  r	   r0  ZoutputBuffer.htmlNodeDumpOutput  s>     ;vvf;vvf%%dggvxHr   c                s    Vf   RpMVP                   pVf   RpMVP                   p\        P                  ! V P                   WgW4V4       R# r  r  )r   r   r1  rq  r   r   rK  r/  rA  r	   r  ZoutputBuffer.nodeDumpOutput  s@    
 ;vvf;vvf$$TWWfeXVr   c                r  r  r  )r   r1  r   r/  r9   rc  r	   r  ZoutputBuffer.saveFileTo#  s1     ;vvf&&twwA
r   c                r  r  r  )r   r1  r   r   r/  r9   r  r	   r  ZoutputBuffer.saveFormatFileTo,  s3     ;vvf,,TWWfO
r   c                r   )z@Gives a pointer to the data currently held in the output
buffer )rA   ZxmlOutputBufferGetContentr-   r   r   r	   r   ZoutputBuffer.getContent9       22477;
r   c                r  )zWrite the content of the array in the output I/O buffer
This routine handle the I18N transcoding from internal
UTF-8 The buffer is lossless, i.e. will store in case of
 partial or delayed writes. )rA   ZxmlOutputBufferWriter-   r   r8   r  r9   rL   r	   r<   ZoutputBuffer.write?  s    
 --dggs@
r   c                r  )zWrite the content of the string in the output I/O buffer
This routine handle the I18N transcoding from internal
UTF-8 The buffer is lossless, i.e. will store in case of
 partial or delayed writes. )rA   ZxmlOutputBufferWriteStringr-   r   r=   r9   r   r	   writeStringZoutputBuffer.writeStringG  s    
 33DGGSA
r   rG   r   )r   r   r   r   r   r  r!  r-  r0  r  r  r  r   r<   r  r   r$   r%   r&   r	   r  r    sF     1UGWI	W r   r  c                   sN   a  ] tR tRt o RR ltR tR tR tR tR t	R	 t
R
tV tR# )r  iO  Nc                r  r  )r-   r@   r   r.   r   r	   r   ZinputBuffer.__init__P      t/r   c                r   r   )r-   rA   rE   r   r    r	   rD   ZinputBuffer.__del__T  &    77d?//8r   c                r  )a'  Grow up the content of the input buffer, the old data are
preserved This routine handle the I18N transcoding to
internal UTF-8 This routine is used when operating the
parser in normal (pull) mode  TODO: one should be able to
remove one extra copy by copying directly onto in->buffer
 or in->raw )rA   ZxmlParserInputBufferGrowr-   r   r8   r9   r   r	   growZinputBuffer.grow]  s     11$''3?
r   c                r  )zPush the content of the arry in the input buffer This
routine handle the I18N transcoding to internal UTF-8 This
is used when operating the parser in progressive (push)
 mode. )rA   ZxmlParserInputBufferPushr-   r  rL   r	   pushZinputBuffer.pushg  s    
 11$''3D
r   c                r  )zRefresh the content of the input buffer, the old data are
considered consumed This routine handle the I18N
 transcoding to internal UTF-8 )rA   ZxmlParserInputBufferReadr-   r  r   r	   r5   ZinputBuffer.reado  s     11$''3?
r   c                sp    Vf   RpMVP                   p\        P                  ! WPP                   W#V4      pV# z%Setup an XML reader with new options Nr-   rA   ZxmlTextReaderSetup)r   r  r7  r   r8  r  r9   r*  r	   SetupZinputBuffer.Setupz  s1    >t9 ))i++IwwwW
r   c                s    \         P                  ! V P                  V4      pVf   \        R4      h\	        VR7      pWn        V# )z2Create an xmlTextReader structure fed with @input zxmlNewTextReader() failedr   )rA   ZxmlNewTextReaderr-   r   r3  r  )r   r  r9   Z_inputBuffer__tmpr   r	   newTextReaderZinputBuffer.newTextReader  s<    ))$''37;Y'BCC3'r   rG   r   )r   r   r   r   r   rD   r  r  r5   r  r  r   r$   r%   r&   r	   r  r  O  s-     0 r   r  c                   r   )
r:  i  Nc                r~   r   rG   r.   r   r	   r   ZxmlReg.__init__  r  r   c                r   r   )r-   rA   ZxmlRegFreeRegexpr   r    r	   rD   ZxmlReg.__del__  &    77d?''0r   c                r  )z4Check if the regular expression generates the value )rA   ZxmlRegexpExecr-   )r   re   r9   r   r	   
regexpExecZxmlReg.regexpExec  s    &&tww8
r   c                r   )z/Check if the regular expression is determinist )rA   ZxmlRegexpIsDeterministr-   r   r   r	   regexpIsDeterministZxmlReg.regexpIsDeterminist  r  r   c                r(  )z5Print the content of the compiled regular expression N)rA   ZxmlRegexpPrintr-   r)  r   r	   regexpPrintZxmlReg.regexpPrint      !!&''2r   rG   r   )r   r   r   r   r   rD   r  r  r  r   r$   r%   r&   r	   r:  r:    s#     

3 3r   r:  c                   r
  )	r  i  Nc                r~   r   rG   r.   r   r	   r   ZrelaxNgParserCtxt.__init__  r  r   c                r   r   )r-   rA   ZxmlRelaxNGFreeParserCtxtr   r    r	   rD   ZrelaxNgParserCtxt.__del__  r  r   c                r@  )xparse a schema definition resource and build an internal
XML Schema structure which can be used to validate
 instances. zxmlRelaxNGParse() failedr   )rA   ZxmlRelaxNGParser-   r(   relaxNgSchema)r   r9   Z_relaxNgParserCtxt__tmpr   r	   relaxNGParseZrelaxNgParserCtxt.relaxNGParse  s7     ((1;[)CDD3'r   c                r  )zuSemi private function used to pass information to a parser
context which are a combination of xmlRelaxNGParserFlag . )rA   ZxmlRelaxParserSetFlagr-   r  r   r	   relaxParserSetFlagZ$relaxNgParserCtxt.relaxParserSetFlag  s     ..tww>
r   rG   r   )
r   r   r   r   r   rD   r  r  r   r$   r%   r&   r	   r  r    s      r   r  c                   sH   a  ] tR tRt o R
R ltR tR tR tR tR t	R	t
V tR# )r  i  Nc                r~   r   rG   r.   r   r	   r   ZrelaxNgSchema.__init__  r  r   c                r   r   )r-   rA   ZxmlRelaxNGFreer   r    r	   rD   ZrelaxNgSchema.__del__  rq  r   c                r(  )zDump a RelaxNG structure back N)rA   ZxmlRelaxNGDumpr-   r)  r   r	   relaxNGDumpZrelaxNgSchema.relaxNGDump  r  r   c                r(  )z#Dump the transformed RelaxNG tree. N)rA   ZxmlRelaxNGDumpTreer-   r)  r   r	   relaxNGDumpTreeZrelaxNgSchema.relaxNGDumpTree  s    %%fgg6r   c                    \         P                  ! V P                  4      pVf   \        R4      h\	        VR7      pWn        V# )zDCreate an XML RelaxNGs validation context based on the
given schema zxmlRelaxNGNewValidCtxt() failedr   )rA   ZxmlRelaxNGNewValidCtxtr-   r   relaxNgValidCtxtschema)r   r9   Z_relaxNgSchema__tmpr   r	   relaxNGNewValidCtxtZ!relaxNgSchema.relaxNGNewValidCtxt  s<     //8;Y'HII c*r   c                rZ  a  Use RelaxNG to validate the document as it is processed.
Activation is only possible before the first Read(). if
@schema is None, then RelaxNG validation is deactivated. @
The @schema should not be freed until the reader is
 deallocated or its use has been deactivated. Nr-   rA   ZxmlTextReaderRelaxNGSetSchemar  r   r	   RelaxNGSetSchemaZrelaxNgSchema.RelaxNGSetSchema  s/     >t9 ))i66y''J
r   rG   r   )r   r   r   r   r   rD   r  r  r  r  r   r$   r%   r&   r	   r  r    s(     37	 	r   r  c                   r  )r  i  Nc                L    R V n         Wn        \        P                  WR7       R # r   )r  r-   r  r   r.   r   r	   r   ZrelaxNgValidCtxt.__init__  s    %%d%6r   c                r   r   )r-   rA   ZxmlRelaxNGFreeValidCtxtr   r    r	   rD   ZrelaxNgValidCtxt.__del__  &    77d?..tww7r   c                r  rQ  rR  r]  r   r	   rS  Z#relaxNgValidCtxt.relaxNGValidateDoc  s/    ;vvf..tww?
r   c                r  rT  rU  r   r   rq   rK  r9  r9   rL  r	   rW  Z+relaxNgValidCtxt.relaxNGValidateFullElement  sC     ;vvf<4g66twwP
r   c                r  rX  rY  r  rL  r	   rZ  Z*relaxNgValidCtxt.relaxNGValidatePopElement  sA    ;vvf<4g55dggvO
r   c                r  z;check the CData parsed for validation in the current stack )rA   ZxmlRelaxNGValidatePushCDatar-   r   rZ   r8   r9   rL   r	   relaxNGValidatePushCDataZ)relaxNgValidCtxt.relaxNGValidatePushCData  s    44TWWdH
r   c                r  r[  r\  r  rL  r	   r]  Z+relaxNgValidCtxt.relaxNGValidatePushElement  sA    ;vvf<4g66twwP
r   c                rl  zUse RelaxNG schema context to validate the document as it
is processed. Activation is only possible before the first
Read(). If @ctxt is None, then RelaxNG schema validation is
 deactivated. Nr-   rA   Z xmlTextReaderRelaxNGValidateCtxtr   r  r8  r  r9   rc  r	   RelaxNGValidateCtxtZ$relaxNgValidCtxt.RelaxNGValidateCtxt,  s1    
 >t9 ))i99)WWgV
r   r-   r  r   )r   r   r   r   r   rD   rS  rW  rZ  r  r]  r  r   r$   r%   r&   r	   r  r    s2     7
	
 r   r  c                   6   a  ] tR tRt o RR ltR tR tRtV tR# )r@  i6  Nc                r~   r   rG   r.   r   r	   r   ZSchemaParserCtxt.__init__7  r  r   c                r   r   )r-   rA   ZxmlSchemaFreeParserCtxtr   r    r	   rD   ZSchemaParserCtxt.__del__;  r  r   c                r@  )r  zxmlSchemaParse() failedr   )rA   ZxmlSchemaParser-   r(   Schema)r   r9   Z_SchemaParserCtxt__tmpr   r	   schemaParseZSchemaParserCtxt.schemaParseD  s7     ''0;[)BCCC r   rG   r   )	r   r   r   r   r   rD   r  r   r$   r%   r&   r	   r@  r@  6  s      r   r@  c                   r   )
r  iM  Nc                r~   r   rG   r.   r   r	   r   ZSchema.__init__N  r  r   c                r   r   )r-   rA   ZxmlSchemaFreer   r    r	   rD   ZSchema.__del__R  s&    77d?$$TWW-r   c                rZ  a  Use XSD Schema to validate the document as it is processed.
Activation is only possible before the first Read(). if
@schema is None, then Schema validation is deactivated. The
@schema should not be freed until the reader is deallocated
 or its use has been deactivated. Nr-   rA   ZxmlTextReaderSetSchemar  r   r	   	SetSchemaZSchema.SetSchema[  s/     >t9 ))i//	77C
r   c                r(  )zDump a Schema structure. N)rA   ZxmlSchemaDumpr-   r)  r   r	   
schemaDumpZSchema.schemaDumpj  s      1r   c                r  )zDCreate an XML Schemas validation context based on the given
schema. zxmlSchemaNewValidCtxt() failedr   )rA   ZxmlSchemaNewValidCtxtr-   r   SchemaValidCtxtr  )r   r9   Z_Schema__tmpr   r	   schemaNewValidCtxtZSchema.schemaNewValidCtxtn  s<     ..tww7;Y'GHHS)r   rG   r   )r   r   r   r   r   rD   r  r  r  r   r$   r%   r&   r	   r  r  M  s#     	2 r   r  c                   rh  )r  iw  Nc                r  r   )r  r-   r  r   r.   r   r	   r   ZSchemaValidCtxt.__init__x  s    $$T$5r   c                r   r   )r-   rA   ZxmlSchemaFreeValidCtxtr   r    r	   rD   ZSchemaValidCtxt.__del__}  s&    77d?--dgg6r   c                rl  zUse W3C XSD schema context to validate the document as it
is processed. Activation is only possible before the first
Read(). If @ctxt is None, then XML Schema validation is
 deactivated. Nr-   rA   ZxmlTextReaderSchemaValidateCtxtr  rc  r	   SchemaValidateCtxtZ"SchemaValidCtxt.SchemaValidateCtxt  s1    
 >t9 ))i88GGWU
r   c                r   )z3Check if any error was detected during validation. )rA   ZxmlSchemaIsValidr-   r   r   r	   schemaIsValidZSchemaValidCtxt.schemaIsValid  r  r   c                r  )z3Sets the options to be used during the validation. )rA   ZxmlSchemaSetValidOptionsr-   r  r   r	   schemaSetValidOptionsZ%SchemaValidCtxt.schemaSetValidOptions  s    11$''7C
r   c                r   )z$Get the validation context options. )rA   ZxmlSchemaValidCtxtGetOptionsr-   r   r   r	   schemaValidCtxtGetOptionsZ)SchemaValidCtxt.schemaValidCtxtGetOptions      55dgg>
r   c                r@  )zDallow access to the parser context of the schema validation
context z(xmlSchemaValidCtxtGetParserCtxt() failedr   )rA   ZxmlSchemaValidCtxtGetParserCtxtr-   r(   r  )r   r9   Z_SchemaValidCtxt__tmpr   r	   schemaValidCtxtGetParserCtxtZ,SchemaValidCtxt.schemaValidCtxtGetParserCtxt  s7     88A;[)STT$r   c                r  rQ  r  r]  r   r	   r  Z!SchemaValidCtxt.schemaValidateDoc  s/    ;vvf--dggv>
r   c                r  )zeDo a schemas validation of the given resource, it will use
the SAX streamable validation internally. )rA   ZxmlSchemaValidateFiler-   )r   r  r8  r9   rL   r	   schemaValidateFileZ"SchemaValidCtxt.schemaValidateFile  s     ..twwJ
r   c                r  r  r  )r   rq   r9  r9   r   r	   r  Z(SchemaValidCtxt.schemaValidateOneElement  s/    <4g44TWWgF
r   c                r2  )zaWorkaround to provide file error reporting information when
this is not provided by current APIs N)rA   ZxmlSchemaValidateSetFilenamer-   )r   r  r   r	   schemaValidateSetFilenameZ)SchemaValidCtxt.schemaValidateSetFilename  s     	//Br   r  r   )r   r   r   r   r   rD   r  r  r  r  r  r  r  r  r  r   r$   r%   r&   r	   r  r  w  sC     6



C Cr   r  c                   r  )r  i  Nc                r~   r   rG   r.   r   r	   r   ZxmlTextReaderLocator.__init__  r  r   c                r   )z+Obtain the base URI for the given locator. )rA   ZxmlTextReaderLocatorBaseURIr-   r   r   r	   BaseURIZxmlTextReaderLocator.BaseURI      44TWW=
r   c                r   )z.Obtain the line number for the given locator. )rA   ZxmlTextReaderLocatorLineNumberr-   r   r   r	   
LineNumberZxmlTextReaderLocator.LineNumber      77@
r   rG   r   )	r   r   r   r   r   r  r  r   r$   r%   r&   r	   r  r    s     
 r   r  c                   s  a  ] tR tRt o RER ltR tR tR tR tR t	R	 t
R
 tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR t R  t!R! t"R" t#R# t$R$ t%R% t&R& t'R' t(R( t)R) t*R* t+R+ t,R, t-R- t.R. t/R/ t0R0 t1R1 t2R2 t3R3 t4R4 t5R5 t6R6 t7R7 t8R8 t9R9 t:R: t;R; t<R< t=R= t>R> t?R? t@R@ tARA tBRB tCRC tDRDtEV tFR# )Fr3  i  Nc                r  r   )r  r-   r  r   r.   r   r	   r   ZxmlTextReader.__init__  s    
""4"3r   c                r   r   r  r   r    r	   rD   ZxmlTextReader.__del__  r   r   c                r   )z6Provides the number of attributes of the current node )rA   ZxmlTextReaderAttributeCountr-   r   r   r	   AttributeCountZxmlTextReader.AttributeCount  r  r   c                r   )zThe base URI of the node. )rA   ZxmlTextReaderConstBaseUrir-   r   r   r	   BaseUriZxmlTextReader.BaseUri      22477;
r   c                r   )a  This function provides the current index of the parser used
by the reader, relative to the start of the current entity.
This function actually just wraps a call to
xmlBytesConsumed() for the parser context associated with
 the reader. See xmlBytesConsumed() for more information. )rA   ZxmlTextReaderByteConsumedr-   r   r   r	   ByteConsumedZxmlTextReader.ByteConsumed  s     22477;
r   c                r   )zThis method releases any resources allocated by the current
instance changes the state to Closed and close any
 underlying input. )rA   ZxmlTextReaderCloser-   r   r   r	   CloseZxmlTextReader.Close  r^  r   c                r@  )a+  Hacking interface allowing to get the xmlDocPtr
corresponding to the current document being accessed by the
xmlTextReader. NOTE: as a result of this call, the reader
will not destroy the associated XML document and calling
xmlFreeDoc() on the result is needed once the reader
 parsing has finished. z xmlTextReaderCurrentDoc() failedr   )rA   ZxmlTextReaderCurrentDocr-   r   r   r   r9   Z_xmlTextReader__tmpr   r	   
CurrentDocZxmlTextReader.CurrentDoc   s7     009;Y'IJJC r   c                r@  )zHacking interface allowing to get the xmlNodePtr
corresponding to the current node being accessed by the
xmlTextReader. This is dangerous because the underlying
 node may be destroyed on the next Reads. z!xmlTextReaderCurrentNode() failedr   )rA   ZxmlTextReaderCurrentNoder-   r   r   r  r   r	   CurrentNodeZxmlTextReader.CurrentNode  s7    
 11$'':;Y'JKKS!r   c                r   )z#The depth of the node in the tree. )rA   ZxmlTextReaderDepthr-   r   r   r	   DepthZxmlTextReader.Depth  r  r   c                r   )z3Determine the encoding of the document being read. )rA   ZxmlTextReaderConstEncodingr-   r   r   r	   EncodingZxmlTextReader.Encoding      33DGG<
r   c                r@  )zReads the contents of the current node and the full
subtree. It then makes the subtree available until the next
 xmlTextReaderRead() call zxmlTextReaderExpand() failedr   )rA   ZxmlTextReaderExpandr-   r   r   r  r   r	   ExpandZxmlTextReader.Expand   s7     ,,TWW5;Y'EFFS!r   c                r  )zGProvides the value of the attribute with the specified
qualified name. )rA   ZxmlTextReaderGetAttributer-   r  r   r	   GetAttributeZxmlTextReader.GetAttribute)  s     22477DA
r   c                r  )zaProvides the value of the attribute with the specified
index relative to the containing element. )rA   ZxmlTextReaderGetAttributeNor-   r   nor9   r   r	   GetAttributeNoZxmlTextReader.GetAttributeNo/  s     44TWWbA
r   c                r  )z.Provides the value of the specified attribute )rA   ZxmlTextReaderGetAttributeNsr-   r   Z	localNameZnamespaceURIr9   rL   r	   GetAttributeNsZxmlTextReader.GetAttributeNs5  s    44TWWiV
r   c                r   )z8Provide the column number of the current parsing point. )rA   Z"xmlTextReaderGetParserColumnNumberr-   r   r   r	   GetParserColumnNumberZ#xmlTextReader.GetParserColumnNumber:  s    ;;DGGD
r   c                r   )z6Provide the line number of the current parsing point. )rA   Z xmlTextReaderGetParserLineNumberr-   r   r   r	   GetParserLineNumberZ!xmlTextReader.GetParserLineNumber?  s    99$''B
r   c                r  )z#Read the parser internal property. )rA   ZxmlTextReaderGetParserPropr-   )r   r  r9   r   r	   GetParserPropZxmlTextReader.GetParserPropD  s    33DGGTB
r   c                r@  )ai  Method to get the remainder of the buffered XML. this
method stops the parser, set its state to End Of File and
return the input stream with what is left that the parser
did not use.  The implementation is not good, the parser
certainly progressed past what's left in reader->input, and
there is an allocation problem. Best would be to rewrite it
 differently. z"xmlTextReaderGetRemainder() failedr   )rA   ZxmlTextReaderGetRemainderr-   r   r  r  r   r	   GetRemainderZxmlTextReader.GetRemainderI  s7     22477;;Y'KLL%r   c                r   )z!Whether the node has attributes. )rA   ZxmlTextReaderHasAttributesr-   r   r   r	   HasAttributesZxmlTextReader.HasAttributesV  r  r   c                r   )z(Whether the node can have a text value. )rA   ZxmlTextReaderHasValuer-   r   r   r	   HasValueZxmlTextReader.HasValue[  rd  r   c                r   )z^Whether an Attribute  node was generated from the default
value defined in the DTD or schema. )rA   ZxmlTextReaderIsDefaultr-   r   r   r	   	IsDefaultZxmlTextReader.IsDefault`       //8
r   c                r   )z#Check if the current node is empty )rA   ZxmlTextReaderIsEmptyElementr-   r   r   r	   IsEmptyElementZxmlTextReader.IsEmptyElementf  r  r   c                r   )z_Determine whether the current node is a namespace
declaration rather than a regular attribute. )rA   ZxmlTextReaderIsNamespaceDeclr-   r   r   r	   IsNamespaceDeclZxmlTextReader.IsNamespaceDeclk  s     55dgg>
r   c                r   )z5Retrieve the validity status from the parser context )rA   ZxmlTextReaderIsValidr-   r   r   r	   IsValidZxmlTextReader.IsValidq  s    --dgg6
r   c                r   )zThe local name of the node. )rA   ZxmlTextReaderConstLocalNamer-   r   r   r	   	LocalNameZxmlTextReader.LocalNamev  r  r   c                r  )zAResolves a namespace prefix in the scope of the current
element. )rA   ZxmlTextReaderLookupNamespacer-   r   r  r9   r   r	   LookupNamespaceZxmlTextReader.LookupNamespace{  s     55dggvF
r   c                r  )z_Moves the position of the current instance to the attribute
with the specified qualified name. )rA   ZxmlTextReaderMoveToAttributer-   r  r   r	   MoveToAttributeZxmlTextReader.MoveToAttribute  s     55dggtD
r   c                r  )zyMoves the position of the current instance to the attribute
with the specified index relative to the containing element. )rA   ZxmlTextReaderMoveToAttributeNor-   r  r   r	   MoveToAttributeNoZxmlTextReader.MoveToAttributeNo  s     77D
r   c                r  )zmMoves the position of the current instance to the attribute
with the specified local name and namespace URI. )rA   ZxmlTextReaderMoveToAttributeNsr-   r  rL   r	   MoveToAttributeNsZxmlTextReader.MoveToAttributeNs  s     77Y
r   c                r   )zbMoves the position of the current instance to the node that
contains the current Attribute  node. )rA   ZxmlTextReaderMoveToElementr-   r   r   r	   MoveToElementZxmlTextReader.MoveToElement  s     33DGG<
r   c                r   )zdMoves the position of the current instance to the first
attribute associated with the current node. )rA   Z!xmlTextReaderMoveToFirstAttributer-   r   r   r	   MoveToFirstAttributeZ"xmlTextReader.MoveToFirstAttribute  s     ::477C
r   c                r   )zcMoves the position of the current instance to the next
attribute associated with the current node. )rA   Z xmlTextReaderMoveToNextAttributer-   r   r   r	   MoveToNextAttributeZ!xmlTextReader.MoveToNextAttribute  s     99$''B
r   c                r   )z<The qualified name of the node, equal to Prefix :LocalName. )rA   ZxmlTextReaderConstNamer-   r   r   r	   NameZxmlTextReader.Name  r  r   c                r   )z9The URI defining the namespace associated with the node. )rA   ZxmlTextReaderConstNamespaceUrir-   r   r   r	   NamespaceUriZxmlTextReader.NamespaceUri  r  r   c                r"  zSetup an xmltextReader to parse an XML in-memory document.
The parsing flags @options are a combination of
xmlParserOption. This reuses the existing @reader
 xmlTextReader. )rA   ZxmlReaderNewDocr-   )r   r1  r7  r   r8  r9   r   r	   NewDocZxmlTextReader.NewDoc  s!    
 ((#HN
r   c                r"  )a  Setup an xmltextReader to parse an XML from a file
descriptor. NOTE that the file descriptor will not be
closed when the reader is closed or reset. The parsing
flags @options are a combination of xmlParserOption. This
 reuses the existing @reader xmlTextReader. )rA   ZxmlReaderNewFdr-   )r   r;  r7  r   r8  r9   r   r	   NewFdZxmlTextReader.NewFd  s!     ''(L
r   c                r  )zparse an XML file from the filesystem or the network. The
parsing flags @options are a combination of
xmlParserOption. This reuses the existing @reader
 xmlTextReader. )rA   ZxmlReaderNewFiler-   )r   r  r   r8  r9   r   r	   NewFileZxmlTextReader.NewFile  s!    
 ))$''8wO
r   c                r,  r  )rA   ZxmlReaderNewMemoryr-   )r   r   r!  r7  r   r8  r9   r   r	   	NewMemoryZxmlTextReader.NewMemory  s$    
 ++DGGV3RYZ
r   c                r  r  r  r]  r   r	   r  ZxmlTextReader.NewWalker  s1     ;vvf++DGGV<
r   c                r   )z`Skip to the node following the current one in document
order while avoiding the subtree if any. )rA   ZxmlTextReaderNextr-   r   r   r	   NextZxmlTextReader.Next  r  r   c                r   )zSkip to the node following the current one in document
order while avoiding the subtree if any. Currently
 implemented only for Readers built on a document )rA   ZxmlTextReaderNextSiblingr-   r   r   r	   NextSiblingZxmlTextReader.NextSibling  s     11$'':
r   c                r   )z}Get the node type of the current node Reference:
http://www.gnu.org/software/dotgnu/pnetlib-doc/System/Xml/Xm
lNodeType.html )rA   ZxmlTextReaderNodeTyper-   r   r   r	   NodeTypeZxmlTextReader.NodeType  rY  r   c                r   )a6  The value indicating whether to normalize white space and
attribute values. Since attribute value and end of line
normalizations are a MUST in the XML specification only the
value true is accepted. The broken behaviour of accepting
out of range character entities like &#0; is of course not
 supported either. )rA   ZxmlTextReaderNormalizationr-   r   r   r	   NormalizationZxmlTextReader.Normalization  s     33DGG<
r   c                r   )zAA shorthand reference to the namespace associated with the
node. )rA   ZxmlTextReaderConstPrefixr-   r   r   r	   PrefixZxmlTextReader.Prefix  s     11$'':
r   c                r@  )zThis tells the XML Reader to preserve the current node. The
caller must also use xmlTextReaderCurrentDoc() to keep an
 handle on the resulting document once parsing has finished zxmlTextReaderPreserve() failedr   )rA   ZxmlTextReaderPreserver-   r   r   r  r   r	   PreserveZxmlTextReader.Preserve  s7     ..tww7;Y'GHHS!r   c                r   )zHThe quotation mark character used to enclose the value of
an attribute. )rA   ZxmlTextReaderQuoteCharr-   r   r   r	   	QuoteCharZxmlTextReader.QuoteChar  r  r   c                r   )zdMoves the position of the current instance to the next node
in the stream, exposing its properties. )rA   ZxmlTextReaderReadr-   r   r   r	   ReadZxmlTextReader.Read  r  r   c                r   )zKParses an attribute value into one or more Text and
EntityReference nodes. )rA   ZxmlTextReaderReadAttributeValuer-   r   r   r	   ReadAttributeValueZ xmlTextReader.ReadAttributeValue  s     88A
r   c                r   zJReads the contents of the current node, including child
nodes and markup. )rA   ZxmlTextReaderReadInnerXmlr-   r   r   r	   ReadInnerXmlZxmlTextReader.ReadInnerXml  r  r   c                r   r	  )rA   ZxmlTextReaderReadOuterXmlr-   r   r   r	   ReadOuterXmlZxmlTextReader.ReadOuterXml  r  r   c                r   )z#Gets the read state of the reader. )rA   ZxmlTextReaderReadStater-   r   r   r	   	ReadStateZxmlTextReader.ReadState#  r  r   c                r   )z=Reads the contents of an element or a text node as a string. )rA   ZxmlTextReaderReadStringr-   r   r   r	   
ReadStringZxmlTextReader.ReadString(      009
r   c                r  r  r  r   r  Z	schema__or9   r   r	   r  ZxmlTextReader.RelaxNGSetSchema-  s1     >t9 ))i66tww	J
r   c                r  )zUse RelaxNG schema to validate the document as it is
processed. Activation is only possible before the first
Read(). If @rng is None, then RelaxNG schema validation is
 deactivated. )rA   ZxmlTextReaderRelaxNGValidater-   )r   Zrngr9   r   r	   RelaxNGValidateZxmlTextReader.RelaxNGValidate8  s    
 55dggsC
r   c                r  r  r  r   r   r8  r  r9   rc  r	   r  Z!xmlTextReader.RelaxNGValidateCtxt@  s1    
 <4g99$''7T
r   c                r  )zUse W3C XSD schema to validate the document as it is
processed. Activation is only possible before the first
Read(). If @xsd is None, then XML Schema validation is
 deactivated. )rA   ZxmlTextReaderSchemaValidater-   )r   Zxsdr9   r   r	   SchemaValidateZxmlTextReader.SchemaValidateJ  s    
 44TWWcB
r   c                r  r  r  r  rc  r	   r  Z xmlTextReader.SchemaValidateCtxtR  s1    
 <4g88'S
r   c                r  )zChange the parser processing behaviour by changing some of
its internal properties. Note that some properties can only
 be changed before any read has been done. )rA   ZxmlTextReaderSetParserPropr-   )r   r  rc  r9   rL   r	   SetParserPropZxmlTextReader.SetParserProp\  s     33DGGTI
r   c                r  r  r  r  r   r	   r  ZxmlTextReader.SetSchemac  s1     >t9 ))i//C
r   c                sp    Vf   RpMVP                   p\        P                  ! V P                   WRW44      pV# r  r  )r   r  r7  r   r8  Zinput__or9   r*  r	   r  ZxmlTextReader.Setupn  s1    =T(h++DGGXHV
r   c                r   )z<Determine the standalone status of the document being read. )rA   ZxmlTextReaderStandaloner-   r   r   r	   
StandaloneZxmlTextReader.Standaloneu  r  r   c                r  )z^Get an interned string from the reader, allows for example
to speedup string name comparisons )rA   ZxmlTextReaderConstStringr-   r  r   r	   StringZxmlTextReader.Stringz  s     11$''3?
r   c                r   )z/Provides the text value of the node if present )rA   ZxmlTextReaderConstValuer-   r   r   r	   ValueZxmlTextReader.Value  r  r   c                r   )z2The xml:lang scope within which the node resides. )rA   ZxmlTextReaderConstXmlLangr-   r   r   r	   XmlLangZxmlTextReader.XmlLang  r  r   c                r   )z6Determine the XML version of the document being read. )rA   ZxmlTextReaderConstXmlVersionr-   r   r   r	   
XmlVersionZxmlTextReader.XmlVersion  r  r   r  r   )Gr   r   r   r   r   rD   r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r  r  r  r  r  r  r  r
  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r$   r%   r&   r	   r3  r3    sO    4


















		


 r   r3  c                      a  ] tR tRt o RR ltR tR tR tR tR t	R	 t
R
 tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tRtV tR# )r  i  Nc                r~   r   rG   r.   r   r	   r   ZURI.__init__  r  r   c                r   r   )r-   rA   Z
xmlFreeURIr   r    r	   rD   ZURI.__del__  s&    77d?!!$''*r   c                r   )z#Get the authority part from an URI )rA   ZxmlURIGetAuthorityr-   r   r   r	   	authorityZURI.authority  r  r   c                r   )z"Get the fragment part from an URI )rA   ZxmlURIGetFragmentr-   r   r   r	   fragmentZURI.fragment  r  r   c                r   )z Get the opaque part from an URI )rA   ZxmlURIGetOpaquer-   r   r   r	   opaqueZ
URI.opaque  r  r   c                r   )zGet the path part from an URI )rA   ZxmlURIGetPathr-   r   r   r	   r  ZURI.path  rh  r   c                r   )zGet the port part from an URI )rA   ZxmlURIGetPortr-   r   r   r	   r  ZURI.port  rh  r   c                r   )zGet the query part from an URI )rA   ZxmlURIGetQueryr-   r   r   r	   queryZ	URI.query  r'  r   c                r   )z>Get the raw query part from an URI (i.e. the unescaped
form). )rA   ZxmlURIGetQueryRawr-   r   r   r	   queryRawZURI.queryRaw  r  r   c                r   )z Get the scheme part from an URI )rA   ZxmlURIGetSchemer-   r   r   r	   schemeZ
URI.scheme  r  r   c                r   )z Get the server part from an URI )rA   ZxmlURIGetServerr-   r   r   r	   serverZ
URI.server  r  r   c                r2  )z"Set the authority part of an URI. N)rA   ZxmlURISetAuthorityr-   )r   r  r   r	   setAuthorityZURI.setAuthority  s    %%dggy9r   c                r2  )z!Set the fragment part of an URI. N)rA   ZxmlURISetFragmentr-   )r   r  r   r	   setFragmentZURI.setFragment  s    $$TWWh7r   c                r2  )zSet the opaque part of an URI. N)rA   ZxmlURISetOpaquer-   )r   r  r   r	   	setOpaqueZURI.setOpaque      ""477F3r   c                r2  )zSet the path part of an URI. N)rA   ZxmlURISetPathr-   )r   r  r   r	   setPathZURI.setPath        $/r   c                r2  )zSet the port part of an URI. N)rA   ZxmlURISetPortr-   )r   r  r   r	   setPortZURI.setPort  r&  r   c                r2  )zSet the query part of an URI. N)rA   ZxmlURISetQueryr-   )r   r  r   r	   setQueryZURI.setQuery  s    !!$''51r   c                r2  )z<Set the raw query part of an URI (i.e. the unescaped form). N)rA   ZxmlURISetQueryRawr-   )r   Z	query_rawr   r	   setQueryRawZURI.setQueryRaw  s    $$TWWi8r   c                r2  )zSet the scheme part of an URI. N)rA   ZxmlURISetSchemer-   )r   r  r   r	   	setSchemeZURI.setScheme  r$  r   c                r2  )zSet the server part of an URI. N)rA   ZxmlURISetServerr-   )r   r   r   r	   	setServerZURI.setServer  r$  r   c                r2  )zSet the user part of an URI. N)rA   ZxmlURISetUserr-   )r   r  r   r	   setUserZURI.setUser  r&  r   c                r   )zGet the user part from an URI )rA   ZxmlURIGetUserr-   r   r   r	   r  ZURI.user  rh  r   c                r  )zParse an URI reference string based on RFC 3986 and fills
in the appropriate fields of the @uri structure 
 URI-reference = URI / relative-ref )rA   ZxmlParseURIReferencer-   r  r   r	   parseURIReferenceZURI.parseURIReference  s     --dggs;
r   c                r(  )z&Prints the URI in the stream @stream. N)rA   ZxmlPrintURIr-   )r   Zstreamr   r	   printURIZURI.printURI   s    vww/r   c                r   )z"Save the URI as an escaped string )rA   Z
xmlSaveUrir-   r   r   r	   saveUriZURI.saveUri  s    ##DGG,
r   rG   r   )r   r   r   r   r   rD   r  r  r  r  r  r  r  r  r   r!  r"  r#  r%  r'  r(  r)  r*  r+  r,  r  r-  r.  r/  r   r$   r%   r&   r	   r  r    s     







:8400294400 r   r  c                   s   a  ] tR tRt o RR ltR tR tR tR tR t	R	 t
R
 tR tR tR tR tR tR tR tR tRtV tR# )r  i	  Nc                r  r  )r-   r   r   r.   r   r	   r   ZValidCtxt.__init__
  r  r   c                r   r   )r-   rA   ZxmlFreeValidCtxtr   r    r	   rD   ZValidCtxt.__del__  r  r   c                s    Vf   RpMVP                   pVf   RpMVP                   p\        P                  ! V P                   WVW44      pV# r  r  )r   r   rq   r_   rc  rK  r9  r9   r  r	   r  Z*ValidCtxt.validCtxtNormalizeAttributeValue  sF     ;vvf<4g<<TWWfW[c
r   c                r  r  r  r]  r   r	   r  ZValidCtxt.validateDocument'  s1    
 ;vvf,,TWWf=
r   c                r  r  r  r]  r   r	   r  ZValidCtxt.validateDocumentFinal1  s1     ;vvf11$''6B
r   c                r  r  r  )r   r   r   rK  r  r9   rL  r	   r  ZValidCtxt.validateDtd<  sC     ;vvf;vvf''@
r   c                r  r  r  r]  r   r	   r  ZValidCtxt.validateDtdFinalI  s1     ;vvf,,TWWf=
r   c                r  r  r  )r   r   r  rK  r  r9   rL  r	   r  ZValidCtxt.validateElementV  sA    ;vvf<4g++DGGVE
r   c                r  r  r  )r   r   rt   rK  r9   rc  r	   r  ZValidCtxt.validateNotationUse_  s1     ;vvf//N
r   c                s    Vf   RpMVP                   pVf   RpMVP                   pVf   RpMVP                   p\        P                  ! V P                   WVWt4      pV# r  r  )	r   r   rq   r   rc  rK  r9  r  r9   r  r	   r  ZValidCtxt.validateOneAttributeg  sW     ;vvf<4g<4g00&7Z
r   c                r  r  r  r  rL  r	   r  ZValidCtxt.validateOneElementx  sC     ;vvf<4g..twwH
r   c                s    Vf   RpMVP                   pVf   RpMVP                   pVf   RpMVP                   p\        P                  ! V P                   WgW8V4      p	V	# r  r  )
r   r   rq   r  r  rc  rK  r9  ry  r9   r  r	   r  ZValidCtxt.validateOneNamespace  sZ     ;vvf<4g:tueee00&6Z_`
r   c                    Vf   RpMVP                   pVf   RpMVP                   p\        P                  ! V P                   WEV4      pV# r  r  r   r   rq   r  rK  r9  r9   rz  r	   r  ZValidCtxt.validatePopElement  sC    ;vvf<4g..twwO
r   c                r  r  )rA   ZxmlValidatePushCDatar-   r  rL   r	   validatePushCDataZValidCtxt.validatePushCData  s    --dggtA
r   c                r0  r  r  r1  rz  r	   r  ZValidCtxt.validatePushElement  sC    ;vvf<4g//%P
r   c                r  r  r  r]  r   r	   r  ZValidCtxt.validateRoot  s1    
 ;vvf((&9
r   rG   r   )r   r   r   r   r   rD   r  r  r  r  r  r  r  r  r  r  r  r2  r  r  r   r$   r%   r&   r	   r  r  	  sZ     0 	""
 r   r  c                   r  )r	  i  Nc                r~   r   rG   r.   r   r	   r   ZxpathContext.__init__  r  r   c                r@  )z!Get the doc from an xpathContext zxmlXPathGetContextDoc() failedr   )rA   ZxmlXPathGetContextDocr-   r*   r   r   r9   _xpathContext__tmpr   r	   
contextDocZxpathContext.contextDoc  s5    ..tww7;Z(HIIC r   c                r@  )*Get the current node from an xpathContext zxmlXPathGetContextNode() failedr   )rA   ZxmlXPathGetContextNoder-   r*   r   r3  r   r	   contextNodeZxpathContext.contextNode  s5    //8;Z(IJJS!r   c                r   r6  )rA   ZxmlXPathGetContextPositionr-   r   r   r	   contextPositionZxpathContext.contextPosition  r  r   c                r   r8  )rA   ZxmlXPathGetContextSizer-   r   r   r	   contextSizeZxpathContext.contextSize  r  r   c                r   )z+Get the current function name xpathContext )rA   ZxmlXPathGetFunctionr-   r   r   r	   functionZxpathContext.function  r&  r   c                r   )z/Get the current function name URI xpathContext )rA   ZxmlXPathGetFunctionURIr-   r   r   r	   functionURIZxpathContext.functionURI  r  r   c                r  )zSet the doc of an xpathContext N)r-   rA   ZxmlXPathSetContextDocr  r   r	   setContextDocZxpathContext.setContextDoc  s(    ;vvf((&9r   c                r  )z(Set the current node of an xpathContext N)r-   rA   ZxmlXPathSetContextNoder  r   r	   r   ZxpathContext.setContextNode  s(    <4g))$''7;r   c                r  )z<Register a Python written function to the XPath interpreter )rA   r   r-   )r   r_   r   r   r9   r   r	   r   Z"xpathContext.registerXPathFunction  s    11$''4K
r   c                r  )z+Register a variable with the XPath context )rA   ZxmlXPathRegisterVariabler-   )r   r_   r   rc  r9   r   r	   xpathRegisterVariableZ"xpathContext.xpathRegisterVariable  s    11$''4O
r   c                r  )a  Creates/frees an object cache on the XPath context. If
activates XPath objects (xmlXPathObject) will be cached
internally to be reused. @options: 0: This will set the
XPath object caching: @value: This will set the maximum
number of XPath objects to be cached per slot There are 5
slots for: node-set, string, number, boolean, and misc
objects. Use <0 for the default number (100). Other values
 for @options have currently no effect. )rA   ZxmlXPathContextSetCacher-   )r   Zactiverc  r8  r9   r   r	   xpathContextSetCacheZ!xpathContext.xpathContextSetCache  s!     00&Q
r   c                v    \         P                  ! WP                  4      pVf   \        R4      h\	        V4      # )7Evaluate the XPath Location Path in the given context. zxmlXPathEval() failed)rA   ZxmlXPathEvalr-   r*   r   r  r   r	   r   ZxpathContext.xpathEval
  s1    %%c773;Z(?@@c""r   c                r@  )zAlias for xmlXPathEval(). zxmlXPathEvalExpression() failed)rA   ZxmlXPathEvalExpressionr-   r*   r   r  r   r	   xpathEvalExpressionZ xpathContext.xpathEvalExpression  s1    //WW=;Z(IJJc""r   c                r+  )zFree up an xmlXPathContext N)rA   ZxmlXPathFreeContextr-   r   r    r	   r   ZxpathContext.xpathFreeContext  s    &&tww/r   c                s|    \         P                  ! WP                  4      pVf   \        R4      h\	        VR7      pV# )z#Create a new xmlXPathParserContext z!xmlXPathNewParserContext() failedr   )rA   ZxmlXPathNewParserContextr-   r*   xpathParserContext)r   r=   r9   r4  r   r	   xpathNewParserContextZ"xpathContext.xpathNewParserContext  s5    11#ww?;Z(KLL",r   c                r  )zuSearch in the namespace declaration array of the context
for the given namespace name associated to the given prefix )rA   ZxmlXPathNsLookupr-   r  r   r	   xpathNsLookupZxpathContext.xpathNsLookup%  s     ))$''6:
r   c                r+  )z6Registers all default XPath functions in this context N)rA   ZxmlXPathRegisterAllFunctionsr-   r   r    r	   xpathRegisterAllFunctionsZ&xpathContext.xpathRegisterAllFunctions+  s    //8r   c                r  )zJRegister a new namespace. If @ns_uri is None it unregisters
the namespace )rA   ZxmlXPathRegisterNsr-   )r   r  r   r9   rL   r	   xpathRegisterNsZxpathContext.xpathRegisterNs/  s     ++DGGVD
r   c                r+  )zBCleanup the XPath context data associated to registered
functions N)rA   ZxmlXPathRegisteredFuncsCleanupr-   r   r    r	   xpathRegisteredFuncsCleanupZ(xpathContext.xpathRegisteredFuncsCleanup5  s     	11$'':r   c                r+  zBCleanup the XPath context data associated to registered
variables N)rA   ZxmlXPathRegisteredNsCleanupr-   r   r    r	   xpathRegisteredNsCleanupZ%xpathContext.xpathRegisteredNsCleanup:  s     	..tww7r   c                r+  rI  )rA   Z"xmlXPathRegisteredVariablesCleanupr-   r   r    r	   xpathRegisteredVariablesCleanupZ,xpathContext.xpathRegisteredVariablesCleanup?  s     	55dgg>r   c                sx    \         P                  ! V P                  V4      pVf   \        R4      h\	        V4      # )JSearch in the Variable array of the context for the given
variable value. zxmlXPathVariableLookup() failed)rA   ZxmlXPathVariableLookupr-   r*   r   r  r   r	   xpathVariableLookupZ xpathContext.xpathVariableLookupD  s5     //>;Z(IJJc""r   c                sx    \         P                  ! V P                  W4      pVf   \        R4      h\	        V4      # )rL  z!xmlXPathVariableLookupNS() failed)rA   ZxmlXPathVariableLookupNSr-   r*   r   )r   r_   r   r9   rL   r	   xpathVariableLookupNSZ"xpathContext.xpathVariableLookupNSK  s5     11$''4H;Z(KLLc""r   c                r@  )rA  zxmlXPtrEval() failed)rA   ZxmlXPtrEvalr-   r   r   r  r   r	   xpointerEvalZxpathContext.xpointerEvalV  s1    $$S''2;Y'=>>c""r   rG   r   )r   r   r   r   r   r5  r7  r9  r:  r;  r<  r=  r   r   r>  r?  r   rB  r   rD  rE  rF  rG  rH  rJ  rK  rM  rN  rO  r   r$   r%   r&   r	   r	  r	    s     




:<

##09;
8
?
### #r   r	  c                   s  a  ] tR tRt o RBR ltR tR tR tR tR t	R	 t
R
 tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR t R  t!R! t"R" t#R# t$R$ t%R% t&R& t'R' t(R( t)R) t*R* t+R+ t,R, t-R- t.R. t/R/ t0R0 t1R1 t2R2 t3R3 t4R4 t5R5 t6R6 t7R7 t8R8 t9R9 t:R: t;R; t<R< t=R= t>R> t?R? t@R@ tARAtBV tCR# )CrC  i\  Nc                r~   r   rG   r.   r   r	   r   ZxpathParserContext.__init__]  r  r   c                r@  )z0Get the xpathContext from an xpathParserContext z!xmlXPathParserGetContext() failedr   )rA   ZxmlXPathParserGetContextr-   r*   r	  )r   r9   _xpathParserContext__tmpr   r	   contextZxpathParserContext.contextb  s5    11$'':;Z(KLL#&r   c                r+  )zImplement the add operation on XPath objects: The numeric
operators convert their operands to numbers as if by
 calling the number function. N)rA   ZxmlXPathAddValuesr-   r   r    r	   xpathAddValuesZ!xpathParserContext.xpathAddValuesm       	$$TWW-r   c                r2  )aC  Implement the boolean() XPath function boolean
boolean(object) The boolean function converts its argument
to a boolean as follows: - a number is true if and only if
it is neither positive or negative zero nor NaN - a
node-set is true if and only if it is non-empty - a string
 is true if and only if its length is non-zero N)rA   ZxmlXPathBooleanFunctionr-   r   Znargsr   r	   xpathBooleanFunctionZ'xpathParserContext.xpathBooleanFunctions  s     	**477E:r   c                r2  )zImplement the ceiling() XPath function number
ceiling(number) The ceiling function returns the smallest
(closest to negative infinity) number that is not less than
 the argument and that is an integer. N)rA   ZxmlXPathCeilingFunctionr-   rT  r   r	   xpathCeilingFunctionZ'xpathParserContext.xpathCeilingFunction|  s    
 	**477E:r   c                r  )a  Implement the compare operation on XPath objects: @arg1 <
@arg2    (1, 1, ... @arg1 <= @arg2   (1, 0, ... @arg1 >
@arg2    (0, 1, ... @arg1 >= @arg2   (0, 0, ...  When
neither object to be compared is a node-set and the
operator is <=, <, >=, >, then the objects are compared by
converted both objects to numbers and comparing the numbers
according to IEEE 754. The < comparison will be true if and
only if the first number is less than the second number.
The <= comparison will be true if and only if the first
number is less than or equal to the second number. The >
comparison will be true if and only if the first number is
greater than the second number. The >= comparison will be
true if and only if the first number is greater than or
 equal to the second number. )rA   ZxmlXPathCompareValuesr-   )r   ZinfZstrictr9   rL   r	   xpathCompareValuesZ%xpathParserContext.xpathCompareValues  s     ..twwD
r   c                r2  )zImplement the concat() XPath function string concat(string,
string, string*) The concat function returns the
 concatenation of its arguments. N)rA   ZxmlXPathConcatFunctionr-   rT  r   r	   xpathConcatFunctionZ&xpathParserContext.xpathConcatFunction       	))$''59r   c                r2  )zImplement the contains() XPath function boolean
contains(string, string) The contains function returns true
if the first argument string contains the second argument
 string, and otherwise returns false. N)rA   ZxmlXPathContainsFunctionr-   rT  r   r	   xpathContainsFunctionZ(xpathParserContext.xpathContainsFunction      
 	++DGGU;r   c                r2  )z<Implement the count() XPath function number count(node-set) N)rA   ZxmlXPathCountFunctionr-   rT  r   r	   xpathCountFunctionZ%xpathParserContext.xpathCountFunction      ((%8r   c                r+  )zImplement the div operation on XPath objects @arg1 / @arg2:
The numeric operators convert their operands to numbers as
 if by calling the number function. N)rA   ZxmlXPathDivValuesr-   r   r    r	   xpathDivValuesZ!xpathParserContext.xpathDivValues  rS  r   c                r   zGImplement the equal operation on XPath objects content:
@arg1 == @arg2 )rA   ZxmlXPathEqualValuesr-   r   r   r	   xpathEqualValuesZ#xpathParserContext.xpathEqualValues  s     ,,TWW5
r   c                r2  )zHandle an XPath error N)rA   ZxmlXPathErrr-   )r   rz   r   r	   xpathErrZxpathParserContext.xpathErr  s    tww.r   c                r+  )zgParse and evaluate an XPath expression in the given
context, then push the result on the context stack N)rA   ZxmlXPathEvalExprr-   r   r    r	   xpathEvalExprZ xpathParserContext.xpathEvalExpr  s     	##DGG,r   c                r2  )z5Implement the false() XPath function boolean false() N)rA   ZxmlXPathFalseFunctionr-   rT  r   r	   xpathFalseFunctionZ%xpathParserContext.xpathFalseFunction  r]  r   c                r2  )zImplement the floor() XPath function number floor(number)
The floor function returns the largest (closest to positive
infinity) number that is not greater than the argument and
 that is an integer. N)rA   ZxmlXPathFloorFunctionr-   rT  r   r	   xpathFloorFunctionZ%xpathParserContext.xpathFloorFunction  s    
 	((%8r   c                r+  )z!Free up an xmlXPathParserContext N)rA   ZxmlXPathFreeParserContextr-   r   r    r	   xpathFreeParserContextZ)xpathParserContext.xpathFreeParserContext  s    ,,TWW5r   c                r2  )a  Implement the id() XPath function node-set id(object) The
id function selects elements by their unique ID (see [5.2.1
Unique IDs]). When the argument to id is of type node-set,
then the result is the union of the result of applying id
to the string value of each of the nodes in the argument
node-set. When the argument to id is of any other type, the
argument is converted to a string as if by a call to the
string function; the string is split into a
whitespace-separated list of tokens (whitespace is any
sequence of characters matching the production S); the
result is a node-set containing the elements in the same
document as the context node that have a unique ID equal to
 any of the tokens in the list. N)rA   ZxmlXPathIdFunctionr-   rT  r   r	   xpathIdFunctionZ"xpathParserContext.xpathIdFunction  s     	%%dggu5r   c                r2  )aK  Implement the lang() XPath function boolean lang(string)
The lang function returns true or false depending on
whether the language of the context node as specified by
xml:lang attributes is the same as or is a sublanguage of
the language specified by the argument string. The language
of the context node is determined by the value of the
xml:lang attribute on the context node, or, if the context
node has no xml:lang attribute, by the value of the
xml:lang attribute on the nearest ancestor of the context
node that has an xml:lang attribute. If there is no such
 attribute, then lang N)rA   ZxmlXPathLangFunctionr-   rT  r   r	   xpathLangFunctionZ$xpathParserContext.xpathLangFunction  s     	''7r   c                r2  )z{Implement the last() XPath function number last() The last
function returns the number of nodes in the context node
 list. N)rA   ZxmlXPathLastFunctionr-   rT  r   r	   xpathLastFunctionZ$xpathParserContext.xpathLastFunction  s     	''7r   c                r2  )an  Implement the local-name() XPath function string
local-name(node-set?) The local-name function returns a
string containing the local part of the name of the node in
the argument node-set that is first in document order. If
the node-set is empty or the first node has no name, an
empty string is returned. If the argument is omitted it
 defaults to the context node. N)rA   ZxmlXPathLocalNameFunctionr-   rT  r   r	   xpathLocalNameFunctionZ)xpathParserContext.xpathLocalNameFunction  s     	,,TWWe<r   c                r+  )zImplement the mod operation on XPath objects: @arg1 / @arg2
The numeric operators convert their operands to numbers as
 if by calling the number function. N)rA   ZxmlXPathModValuesr-   r   r    r	   xpathModValuesZ!xpathParserContext.xpathModValues  rS  r   c                r+  )zImplement the multiply operation on XPath objects: The
numeric operators convert their operands to numbers as if
 by calling the number function. N)rA   ZxmlXPathMultValuesr-   r   r    r	   xpathMultValuesZ"xpathParserContext.xpathMultValues  s     	%%dgg.r   c                r2  )a  Implement the namespace-uri() XPath function string
namespace-uri(node-set?) The namespace-uri function returns
a string containing the namespace URI of the expanded name
of the node in the argument node-set that is first in
document order. If the node-set is empty, the first node
has no name, or the expanded name has no namespace URI, an
empty string is returned. If the argument is omitted it
 defaults to the context node. N)rA   ZxmlXPathNamespaceURIFunctionr-   rT  r   r	   xpathNamespaceURIFunctionZ,xpathParserContext.xpathNamespaceURIFunction  s     	//?r   c                r-  r  r  r   r1  r/  r9   rP  r:   r	   r  Z$xpathParserContext.xpathNextAncestor  sK     ;vvf--dggv>;Z(GHHS!r   c                r-  r  r  rm  r:   r	   r  Z*xpathParserContext.xpathNextAncestorOrSelf  sK     ;vvf33DGGVD;Z(MNNS!r   c                r-  r  r  rm  r:   r	   r  Z%xpathParserContext.xpathNextAttribute,  sK     ;vvf..tww?;Z(HIIS!r   c                r-  r  r  rm  r:   r	   r  Z!xpathParserContext.xpathNextChild6  sK     ;vvf**477F;;Z(DEES!r   c                r-  r  r  rm  r:   r	   r  Z&xpathParserContext.xpathNextDescendant@  sK    
 ;vvf//@;Z(IJJS!r   c                r-  r  r  rm  r:   r	   r  Z,xpathParserContext.xpathNextDescendantOrSelfL  sK     ;vvf55dggvF;Z(OPPS!r   c                r-  r  r  rm  r:   r	   r  Z%xpathParserContext.xpathNextFollowingZ  K     ;vvf..tww?;Z(HIIS!r   c                r-  r  r  rm  r:   r	   r  Z,xpathParserContext.xpathNextFollowingSiblingh  sK     ;vvf55dggvF;Z(OPPS!r   c                r-  r  r  rm  r:   r	   r  Z%xpathParserContext.xpathNextNamespaces  rn  r   c                r-  r  r  rm  r:   r	   r  Z"xpathParserContext.xpathNextParent  sK     ;vvf++DGGV<;Z(EFFS!r   c                r-  r  r  rm  r:   r	   r  Z%xpathParserContext.xpathNextPreceding  rn  r   c                r-  r   r  rm  r:   r	   r  Z,xpathParserContext.xpathNextPrecedingSibling  sK     ;vvf55dggvF;Z(OPPS!r   c                r-  r  r  rm  r:   r	   r  Z xpathParserContext.xpathNextSelf  sK     ;vvf))$''6:;Z(CDDS!r   c                r2  )a  Implement the normalize-space() XPath function string
normalize-space(string?) The normalize-space function
returns the argument string with white space normalized by
stripping leading and trailing whitespace and replacing
sequences of whitespace characters by a single space.
Whitespace characters are the same allowed by the S
production in XML. If the argument is omitted, it defaults
to the context node converted to a string, in other words
 the value of the context node. N)rA   ZxmlXPathNormalizeFunctionr-   rT  r   r	   xpathNormalizeFunctionZ)xpathParserContext.xpathNormalizeFunction  s     	,,TWWe<r   c                r   r_  )rA   ZxmlXPathNotEqualValuesr-   r   r   r	   xpathNotEqualValuesZ&xpathParserContext.xpathNotEqualValues  r  r   c                r2  )zImplement the not() XPath function boolean not(boolean) The
not function returns true if its argument is false, and
 false otherwise. N)rA   ZxmlXPathNotFunctionr-   rT  r   r	   xpathNotFunctionZ#xpathParserContext.xpathNotFunction       	&&tww6r   c                r2  )z=Implement the number() XPath function number number(object?) N)rA   ZxmlXPathNumberFunctionr-   rT  r   r	   xpathNumberFunctionZ&xpathParserContext.xpathNumberFunction  s    ))$''59r   c                r   )zparse an XML namespace non qualified name.  [NS 3] NCName
::= (Letter | '_') (NCNameChar)*  [NS 4] NCNameChar ::=
 Letter | Digit | '.' | '-' | '_' | CombiningChar | Extender )rA   ZxmlXPathParseNCNamer-   r   r   r	   xpathParseNCNameZ#xpathParserContext.xpathParseNCName  r\  r   c                r   )zparse an XML name  [4] NameChar ::= Letter | Digit | '.' |
'-' | '_' | ':' | CombiningChar | Extender  [5] Name ::=
 (Letter | '_' | ':') (NameChar)* )rA   ZxmlXPathParseNamer-   r   r   r	   xpathParseNameZ!xpathParserContext.xpathParseName  s     **4773
r   c                r   )zdPops a boolean from the stack, handling conversion if
needed. Check error with #xmlXPathCheckError. )rA   ZxmlXPathPopBooleanr-   r   r   r	   xpathPopBooleanZ"xpathParserContext.xpathPopBoolean  s     ++DGG4
r   c                r   )zcPops a number from the stack, handling conversion if
needed. Check error with #xmlXPathCheckError. )rA   ZxmlXPathPopNumberr-   r   r   r	   xpathPopNumberZ!xpathParserContext.xpathPopNumber  r  r   c                r   )zcPops a string from the stack, handling conversion if
needed. Check error with #xmlXPathCheckError. )rA   ZxmlXPathPopStringr-   r   r   r	   xpathPopStringZ!xpathParserContext.xpathPopString  r  r   c                r2  )zImplement the position() XPath function number position()
The position function returns the position of the context
node in the context node list. The first position is 1, and
 so the last position will be equal to last(). N)rA   ZxmlXPathPositionFunctionr-   rT  r   r	   xpathPositionFunctionZ(xpathParserContext.xpathPositionFunction  r[  r   c                r+  )z3Initialize the context to the root of the document N)rA   ZxmlXPathRootr-   r   r    r	   	xpathRootZxpathParserContext.xpathRoot  r!  r   c                r2  )zImplement the round() XPath function number round(number)
The round function returns the number that is closest to
the argument and that is an integer. If there are two such
numbers, then the one that is closest to positive infinity
 is returned. N)rA   ZxmlXPathRoundFunctionr-   rT  r   r	   xpathRoundFunctionZ%xpathParserContext.xpathRoundFunction  s     	((%8r   c                r2  )zImplement the starts-with() XPath function boolean
starts-with(string, string) The starts-with function
returns true if the first argument string starts with the
 second argument string, and otherwise returns false. N)rA   ZxmlXPathStartsWithFunctionr-   rT  r   r	   xpathStartsWithFunctionZ*xpathParserContext.xpathStartsWithFunction   s    
 	--dggu=r   c                r2  )a  Implement the string() XPath function string
string(object?) The string function converts an object to a
string as follows: - A node-set is converted to a string by
returning the value of the node in the node-set that is
first in document order. If the node-set is empty, an empty
string is returned. - A number is converted to a string as
follows + NaN is converted to the string NaN + positive
zero is converted to the string 0 + negative zero is
converted to the string 0 + positive infinity is converted
to the string Infinity + negative infinity is converted to
the string -Infinity + if the number is an integer, the
number is represented in decimal form as a Number with no
decimal point and no leading zeros, preceded by a minus
sign (-) if the number is negative + otherwise, the number
is represented in decimal form as a Number including a
decimal point with at least one digit before the decimal
point and at least one digit after the decimal point,
preceded by a minus sign (-) if the number is negative;
there must be no leading zeros before the decimal point
apart possibly from the one required digit immediately
before the decimal point; beyond the one required digit
after the decimal point there must be as many, but only as
many, more digits as are needed to uniquely distinguish the
number from all other IEEE 754 numeric values. - The
boolean false value is converted to the string false. The
boolean true value is converted to the string true.  If the
argument is omitted, it defaults to a node-set with the
 context node as its only member. N)rA   ZxmlXPathStringFunctionr-   rT  r   r	   xpathStringFunctionZ&xpathParserContext.xpathStringFunction  s    : 	))$''59r   c                r2  )a#  Implement the string-length() XPath function number
string-length(string?) The string-length returns the number
of characters in the string (see [3.6 Strings]). If the
argument is omitted, it defaults to the context node
converted to a string, in other words the value of the
 context node. N)rA   ZxmlXPathStringLengthFunctionr-   rT  r   r	   xpathStringLengthFunctionZ,xpathParserContext.xpathStringLengthFunction&  s     	//?r   c                r+  )zImplement the subtraction operation on XPath objects: The
numeric operators convert their operands to numbers as if
 by calling the number function. N)rA   ZxmlXPathSubValuesr-   r   r    r	   xpathSubValuesZ!xpathParserContext.xpathSubValues/  rS  r   c                r2  )a  Implement the substring-after() XPath function string
substring-after(string, string) The substring-after
function returns the substring of the first argument string
that follows the first occurrence of the second argument
string in the first argument string, or the empty stringi
if the first argument string does not contain the second
argument string. For example,
substring-after("1999/04/01","/") returns 04/01, and
 substring-after("1999/04/01","19") returns 99/04/01. N)rA   ZxmlXPathSubstringAfterFunctionr-   rT  r   r	   xpathSubstringAfterFunctionZ.xpathParserContext.xpathSubstringAfterFunction5  s     	11$''5Ar   c                r2  )a  Implement the substring-before() XPath function string
substring-before(string, string) The substring-before
function returns the substring of the first argument string
that precedes the first occurrence of the second argument
string in the first argument string, or the empty string if
the first argument string does not contain the second
argument string. For example,
 substring-before("1999/04/01","/") returns 1999. N)rA   ZxmlXPathSubstringBeforeFunctionr-   rT  r   r	   xpathSubstringBeforeFunctionZ/xpathParserContext.xpathSubstringBeforeFunctionA  s     	22477EBr   c                r2  )a&  Implement the substring() XPath function string
substring(string, number, number?) The substring function
returns the substring of the first argument starting at the
position specified in the second argument with length
specified in the third argument. For example,
substring("12345",2,3) returns "234". If the third argument
is not specified, it returns the substring starting at the
position specified in the second argument and continuing to
the end of the string. For example, substring("12345",2)
returns "2345".  More precisely, each character in the
string (see [3.6 Strings]) is considered to have a numeric
position: the position of the first character is 1, the
position of the second character is 2 and so on. The
returned substring contains those characters for which the
position of the character is greater than or equal to the
second argument and, if the third argument is specified,
less than the sum of the second and third arguments; the
comparisons and addition used for the above follow the
standard IEEE 754 rules. Thus: - substring("12345", 1.5,
2.6) returns "234" - substring("12345", 0, 3) returns "12"
- substring("12345", 0 div 0, 3) returns "" -
substring("12345", 1, 0 div 0) returns "" -
substring("12345", -42, 1 div 0) returns "12345" -
 substring("12345", -1 div 0, 1 div 0) returns "" N)rA   ZxmlXPathSubstringFunctionr-   rT  r   r	   xpathSubstringFunctionZ)xpathParserContext.xpathSubstringFunctionL  s    2 	,,TWWe<r   c                r2  )zImplement the sum() XPath function number sum(node-set) The
sum function returns the sum of the values of the nodes in
 the argument node-set. N)rA   ZxmlXPathSumFunctionr-   rT  r   r	   xpathSumFunctionZ#xpathParserContext.xpathSumFunctiong  rr  r   c                r2  )a  Implement the translate() XPath function string
translate(string, string, string) The translate function
returns the first argument string with occurrences of
characters in the second argument string replaced by the
character at the corresponding position in the third
argument string. For example, translate("bar","abc","ABC")
returns the string BAr. If there is a character in the
second argument string with no character at a corresponding
position in the third argument string (because the second
argument string is longer than the third argument string),
then occurrences of that character in the first argument
string are removed. For example,
 translate("--aaa--","abc-","ABC") N)rA   ZxmlXPathTranslateFunctionr-   rT  r   r	   xpathTranslateFunctionZ)xpathParserContext.xpathTranslateFunctionm  s     	,,TWWe<r   c                r2  )z3Implement the true() XPath function boolean true() N)rA   ZxmlXPathTrueFunctionr-   rT  r   r	   xpathTrueFunctionZ$xpathParserContext.xpathTrueFunction}  s    ''7r   c                r+  )zImplement the unary - operation on an XPath object The
numeric operators convert their operands to numbers as if
 by calling the number function. N)rA   ZxmlXPathValueFlipSignr-   r   r    r	   xpathValueFlipSignZ%xpathParserContext.xpathValueFlipSign  s     	((1r   c                r  )zFormats an error message. N)rA   ZxmlXPatherrorr-   )r   rK   r  r  rj   r	   
xpatherrorZxpathParserContext.xpatherror  s      $b9r   c                r+  )z[8]   Predicate ::=   '[' PredicateExpr ']' [9]  
PredicateExpr ::=   Expr  Evaluate a predicate as in
xmlXPathEvalPredicate() but for a Location Set instead of a
 node set N)rA   ZxmlXPtrEvalRangePredicater-   r   r    r	   xpointerEvalRangePredicateZ-xpathParserContext.xpointerEvalRangePredicate  r9  r   c                r2  )zImplement the range-to() XPointer function  Obsolete.
range-to is not a real function but a special type of
 location step which is handled in xpath.c. N)rA   ZxmlXPtrRangeToFunctionr-   rT  r   r	   xpointerRangeToFunctionZ*xpathParserContext.xpointerRangeToFunction  rY  r   rG   r   )Dr   r   r   r   r   rQ  rR  rU  rV  rW  rX  rZ  r\  r^  r`  ra  rb  rc  rd  re  rf  rg  rh  ri  rj  rk  rl  r  r  r  r  r  r  r  r  r  r  r  r  r  ro  rp  rq  rs  rt  ru  rv  rw  rx  ry  rz  r{  r|  r}  r~  r  r  r  r  r  r  r  r  r  r  r  r   r$   r%   r&   r	   rC  rC  \  sD    
.;;$:<9./-
9966 88=./	@
		
=7:<)9>:>@.
B	C=67= 82:6: :r   rC  i   i   i    i   i    i  i  i  i  i  i  i  i  i  i  i  i  i   i  i  i  i  i  i  i  i  i	  i
  i  i  i  i  r   i  i  i  i  i  i  i  i  i  i  i  i  i  i  i   i!  i"  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i   i  i  i  i  i  i  i  i  i	  i
  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i   i!  i"  i#  i$  i%  i&  i'  i(  i)  i*  i+  i,  i-  i.  i/  i0  i1  i2  i3  i4  i5  i6  i7  i8  i9  i:  i;  i<  i=  i>  i?  i@  iA  iB  iC  iD  iE  iF  iG  iH  iI  iJ  iK  iL  iM  iN  iO  iP  iQ  iR  iS  iT  iU  iV  iW  iX  iY  iZ  i[  i\  i]  i^  i_  i`  ia  ib  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  ix  iy  iz  i{  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i   i  i  i  i  i  i  i  i  i	  i
  i  i  i  i  i  i  i  i  i  i  i@  iA  iB  iC  iD  iE  iF  iG  iH  iI  iJ  iK  iL  iM  iN  iO  iP  iQ  iR  ir  is  it  iu  iv  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i   i  i  i  i  i  i  i  i  i	  i
  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i   i!  i"  i#  i$  i%  i&  i'  i(  i)  i*  i+  i,  i-  i.  i/  i0  i1  i2  i3  i4  i5  i6  i7  i8  i9  i:  i;  i<  i=  i>  i?  i@  iA  iB  iC  iD  iE  iF  iG  iH  iI  iJ  iK  iL  iM  iN  iO  iP  iQ  iR  iS  iT  iU  iV  iW  il  im  in  io  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  r  i  i  i  i  i  i  i  i  i  i   i  i  i  i  i  i  i  i  i	  i
  i  i  i  i  i  i  i  i  i  i  i  i$  i%  i  i  i  i  i  i  i  i  i  i  i  i  r  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  i  ip  iq  ir  is  it  iX  i   i @  i   i   i   i   i   i  @ i r0   iiii(  rA   Ztypesr   r6   r   r   r   r   r(   r)   r*   r+   r@   rJ   rP   r}   r   r   r   r   r   ZPARSER_LOADDTDZPARSER_DEFAULTATTRSZPARSER_VALIDATEZPARSER_SUBST_ENTITIESZ PARSER_SEVERITY_VALIDITY_WARNINGZPARSER_SEVERITY_VALIDITY_ERRORZPARSER_SEVERITY_WARNINGZPARSER_SEVERITY_ERRORr   r   r   r  r  r	  r  r  r  r  r  r  r  r#  r'  r)  r-  r0  r2  r5  r9  r>  rA  rC  rE  rH  rJ  rK  rM  rR  rS  rV  rY  r\  r`  rd  rg  ri  rl  rp  rr  rs  rw  rx  rz  r{  r|  r}  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r  r  r  r  r  r	  r
  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r!  r"  r#  r$  r%  r&  r'  r(  r*  r+  r-  r.  r/  r1  r2  r4  r6  r7  r8  r9  r;  r<  r>  r?  rA  rB  rC  rD  rE  rF  rG  rJ  rK  rL  rN  rO  rP  rQ  rR  rU  rW  rY  rZ  r\  r]  r_  r`  rb  rd  re  rf  rg  ri  rj  rk  rm  ro  rp  rr  rt  ru  rv  rw  ry  r{  r|  r}  r~  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r  r  r  r  r  r  r  r	  r
  r  r  r  r  r  r  r  r  r   r   r0  r  r   r   ru  r   r   r   r   r  r  r:  r  r  r  r@  r  r  r  r3  r  r  r	  rC  ZHTML_NAZHTML_INVALIDZHTML_DEPRECATEDZ
HTML_VALIDZHTML_REQUIREDZHTML_PARSE_RECOVERZHTML_PARSE_NODEFDTDZHTML_PARSE_NOERRORZHTML_PARSE_NOWARNINGZHTML_PARSE_PEDANTICZHTML_PARSE_NOBLANKSZHTML_PARSE_NONETZHTML_PARSE_NOIMPLIEDZHTML_PARSE_COMPACTZHTML_PARSE_IGNORE_ENCZXLINK_ACTUATE_NONEZXLINK_ACTUATE_AUTOZXLINK_ACTUATE_ONREQUESTZXLINK_SHOW_NONEZXLINK_SHOW_NEWZXLINK_SHOW_EMBEDZXLINK_SHOW_REPLACEZXLINK_TYPE_NONEZXLINK_TYPE_SIMPLEZXLINK_TYPE_EXTENDEDZXLINK_TYPE_EXTENDED_SETZXML_ATTRIBUTE_CDATAZXML_ATTRIBUTE_IDZXML_ATTRIBUTE_IDREFZXML_ATTRIBUTE_IDREFSZXML_ATTRIBUTE_ENTITYZXML_ATTRIBUTE_ENTITIESZXML_ATTRIBUTE_NMTOKENZXML_ATTRIBUTE_NMTOKENSZXML_ATTRIBUTE_ENUMERATIONZXML_ATTRIBUTE_NOTATIONZXML_ELEMENT_NODEZXML_ATTRIBUTE_NODEZXML_TEXT_NODEZXML_CDATA_SECTION_NODEZXML_ENTITY_REF_NODEZXML_ENTITY_NODEZXML_PI_NODEZXML_COMMENT_NODEZXML_DOCUMENT_NODEZXML_DOCUMENT_TYPE_NODEZXML_DOCUMENT_FRAG_NODEZXML_NOTATION_NODEZXML_HTML_DOCUMENT_NODEZXML_DTD_NODEZXML_ELEMENT_DECLZXML_ATTRIBUTE_DECLZXML_ENTITY_DECLZXML_NAMESPACE_DECLZXML_XINCLUDE_STARTZXML_XINCLUDE_ENDZXML_ATTRIBUTE_NONEZXML_ATTRIBUTE_REQUIREDZXML_ATTRIBUTE_IMPLIEDZXML_ATTRIBUTE_FIXEDZXML_BUFFER_ALLOC_DOUBLEITZXML_BUFFER_ALLOC_EXACTZXML_BUFFER_ALLOC_IMMUTABLEZXML_BUFFER_ALLOC_IOZXML_BUFFER_ALLOC_HYBRIDZXML_BUFFER_ALLOC_BOUNDEDZ
XML_ERR_OKZXML_ERR_INTERNAL_ERRORZXML_ERR_NO_MEMORYZXML_ERR_DOCUMENT_STARTZXML_ERR_DOCUMENT_EMPTYZXML_ERR_DOCUMENT_ENDZXML_ERR_INVALID_HEX_CHARREFZXML_ERR_INVALID_DEC_CHARREFZXML_ERR_INVALID_CHARREFZXML_ERR_INVALID_CHARZXML_ERR_CHARREF_AT_EOFZXML_ERR_CHARREF_IN_PROLOGZXML_ERR_CHARREF_IN_EPILOGZXML_ERR_CHARREF_IN_DTDZXML_ERR_ENTITYREF_AT_EOFZXML_ERR_ENTITYREF_IN_PROLOGZXML_ERR_ENTITYREF_IN_EPILOGZXML_ERR_ENTITYREF_IN_DTDZXML_ERR_PEREF_AT_EOFZXML_ERR_PEREF_IN_PROLOGZXML_ERR_PEREF_IN_EPILOGZXML_ERR_PEREF_IN_INT_SUBSETZXML_ERR_ENTITYREF_NO_NAMEZ!XML_ERR_ENTITYREF_SEMICOL_MISSINGZXML_ERR_PEREF_NO_NAMEZXML_ERR_PEREF_SEMICOL_MISSINGZXML_ERR_UNDECLARED_ENTITYZXML_WAR_UNDECLARED_ENTITYZXML_ERR_UNPARSED_ENTITYZXML_ERR_ENTITY_IS_EXTERNALZXML_ERR_ENTITY_IS_PARAMETERZXML_ERR_UNKNOWN_ENCODINGZXML_ERR_UNSUPPORTED_ENCODINGZXML_ERR_STRING_NOT_STARTEDZXML_ERR_STRING_NOT_CLOSEDZXML_ERR_NS_DECL_ERRORZXML_ERR_ENTITY_NOT_STARTEDZXML_ERR_ENTITY_NOT_FINISHEDZXML_ERR_LT_IN_ATTRIBUTEZXML_ERR_ATTRIBUTE_NOT_STARTEDZXML_ERR_ATTRIBUTE_NOT_FINISHEDZXML_ERR_ATTRIBUTE_WITHOUT_VALUEZXML_ERR_ATTRIBUTE_REDEFINEDZXML_ERR_LITERAL_NOT_STARTEDZXML_ERR_LITERAL_NOT_FINISHEDZXML_ERR_COMMENT_NOT_FINISHEDZXML_ERR_PI_NOT_STARTEDZXML_ERR_PI_NOT_FINISHEDZXML_ERR_NOTATION_NOT_STARTEDZXML_ERR_NOTATION_NOT_FINISHEDZXML_ERR_ATTLIST_NOT_STARTEDZXML_ERR_ATTLIST_NOT_FINISHEDZXML_ERR_MIXED_NOT_STARTEDZXML_ERR_MIXED_NOT_FINISHEDZXML_ERR_ELEMCONTENT_NOT_STARTEDZ XML_ERR_ELEMCONTENT_NOT_FINISHEDZXML_ERR_XMLDECL_NOT_STARTEDZXML_ERR_XMLDECL_NOT_FINISHEDZXML_ERR_CONDSEC_NOT_STARTEDZXML_ERR_CONDSEC_NOT_FINISHEDZXML_ERR_EXT_SUBSET_NOT_FINISHEDZXML_ERR_DOCTYPE_NOT_FINISHEDZXML_ERR_MISPLACED_CDATA_ENDZXML_ERR_CDATA_NOT_FINISHEDZXML_ERR_RESERVED_XML_NAMEZXML_ERR_SPACE_REQUIREDZXML_ERR_SEPARATOR_REQUIREDZXML_ERR_NMTOKEN_REQUIREDZXML_ERR_NAME_REQUIREDZXML_ERR_PCDATA_REQUIREDZXML_ERR_URI_REQUIREDZXML_ERR_PUBID_REQUIREDZXML_ERR_LT_REQUIREDZXML_ERR_GT_REQUIREDZXML_ERR_LTSLASH_REQUIREDZXML_ERR_EQUAL_REQUIREDZXML_ERR_TAG_NAME_MISMATCHZXML_ERR_TAG_NOT_FINISHEDZXML_ERR_STANDALONE_VALUEZXML_ERR_ENCODING_NAMEZXML_ERR_HYPHEN_IN_COMMENTZXML_ERR_INVALID_ENCODINGZXML_ERR_EXT_ENTITY_STANDALONEZXML_ERR_CONDSEC_INVALIDZXML_ERR_VALUE_REQUIREDZXML_ERR_NOT_WELL_BALANCEDZXML_ERR_EXTRA_CONTENTZXML_ERR_ENTITY_CHAR_ERRORZXML_ERR_ENTITY_PE_INTERNALZXML_ERR_ENTITY_LOOPZXML_ERR_ENTITY_BOUNDARYZXML_ERR_INVALID_URIZXML_ERR_URI_FRAGMENTZXML_WAR_CATALOG_PIZXML_ERR_NO_DTDZXML_ERR_CONDSEC_INVALID_KEYWORDZXML_ERR_VERSION_MISSINGZXML_WAR_UNKNOWN_VERSIONZXML_WAR_LANG_VALUEZXML_WAR_NS_URIZXML_WAR_NS_URI_RELATIVEZXML_ERR_MISSING_ENCODINGZXML_WAR_SPACE_VALUEZXML_ERR_NOT_STANDALONEZXML_ERR_ENTITY_PROCESSINGZXML_ERR_NOTATION_PROCESSINGZXML_WAR_NS_COLUMNZXML_WAR_ENTITY_REDEFINEDZXML_ERR_UNKNOWN_VERSIONZXML_ERR_VERSION_MISMATCHZXML_ERR_NAME_TOO_LONGZXML_ERR_USER_STOPZXML_ERR_COMMENT_ABRUPTLY_ENDEDZXML_WAR_ENCODING_MISMATCHZXML_NS_ERR_XML_NAMESPACEZXML_NS_ERR_UNDEFINED_NAMESPACEZXML_NS_ERR_QNAMEZXML_NS_ERR_ATTRIBUTE_REDEFINEDZXML_NS_ERR_EMPTYZXML_NS_ERR_COLONZXML_DTD_ATTRIBUTE_DEFAULTZXML_DTD_ATTRIBUTE_REDEFINEDZXML_DTD_ATTRIBUTE_VALUEZXML_DTD_CONTENT_ERRORZXML_DTD_CONTENT_MODELZXML_DTD_CONTENT_NOT_DETERMINISTZXML_DTD_DIFFERENT_PREFIXZXML_DTD_ELEM_DEFAULT_NAMESPACEZXML_DTD_ELEM_NAMESPACEZXML_DTD_ELEM_REDEFINEDZXML_DTD_EMPTY_NOTATIONZXML_DTD_ENTITY_TYPEZXML_DTD_ID_FIXEDZXML_DTD_ID_REDEFINEDZXML_DTD_ID_SUBSETZXML_DTD_INVALID_CHILDZXML_DTD_INVALID_DEFAULTZXML_DTD_LOAD_ERRORZXML_DTD_MISSING_ATTRIBUTEZXML_DTD_MIXED_CORRUPTZXML_DTD_MULTIPLE_IDZXML_DTD_NO_DOCZXML_DTD_NO_DTDZXML_DTD_NO_ELEM_NAMEZXML_DTD_NO_PREFIXZXML_DTD_NO_ROOTZXML_DTD_NOTATION_REDEFINEDZXML_DTD_NOTATION_VALUEZXML_DTD_NOT_EMPTYZXML_DTD_NOT_PCDATAZXML_DTD_NOT_STANDALONEZXML_DTD_ROOT_NAMEZXML_DTD_STANDALONE_WHITE_SPACEZXML_DTD_UNKNOWN_ATTRIBUTEZXML_DTD_UNKNOWN_ELEMZXML_DTD_UNKNOWN_ENTITYZXML_DTD_UNKNOWN_IDZXML_DTD_UNKNOWN_NOTATIONZXML_DTD_STANDALONE_DEFAULTEDZXML_DTD_XMLID_VALUEZXML_DTD_XMLID_TYPEZXML_DTD_DUP_TOKENZXML_HTML_STRUCURE_ERRORZXML_HTML_UNKNOWN_TAGZ#XML_HTML_INCORRECTLY_OPENED_COMMENTZXML_RNGP_ANYNAME_ATTR_ANCESTORZXML_RNGP_ATTR_CONFLICTZXML_RNGP_ATTRIBUTE_CHILDRENZXML_RNGP_ATTRIBUTE_CONTENTZXML_RNGP_ATTRIBUTE_EMPTYZXML_RNGP_ATTRIBUTE_NOOPZXML_RNGP_CHOICE_CONTENTZXML_RNGP_CHOICE_EMPTYZXML_RNGP_CREATE_FAILUREZXML_RNGP_DATA_CONTENTZ"XML_RNGP_DEF_CHOICE_AND_INTERLEAVEZXML_RNGP_DEFINE_CREATE_FAILEDZXML_RNGP_DEFINE_EMPTYZXML_RNGP_DEFINE_MISSINGZXML_RNGP_DEFINE_NAME_MISSINGZXML_RNGP_ELEM_CONTENT_EMPTYZXML_RNGP_ELEM_CONTENT_ERRORZXML_RNGP_ELEMENT_EMPTYZXML_RNGP_ELEMENT_CONTENTZXML_RNGP_ELEMENT_NAMEZXML_RNGP_ELEMENT_NO_CONTENTZXML_RNGP_ELEM_TEXT_CONFLICTZXML_RNGP_EMPTYZXML_RNGP_EMPTY_CONSTRUCTZXML_RNGP_EMPTY_CONTENTZXML_RNGP_EMPTY_NOT_EMPTYZXML_RNGP_ERROR_TYPE_LIBZXML_RNGP_EXCEPT_EMPTYZXML_RNGP_EXCEPT_MISSINGZXML_RNGP_EXCEPT_MULTIPLEZXML_RNGP_EXCEPT_NO_CONTENTZXML_RNGP_EXTERNALREF_EMTPYZXML_RNGP_EXTERNAL_REF_FAILUREZXML_RNGP_EXTERNALREF_RECURSEZXML_RNGP_FORBIDDEN_ATTRIBUTEZXML_RNGP_FOREIGN_ELEMENTZXML_RNGP_GRAMMAR_CONTENTZXML_RNGP_GRAMMAR_EMPTYZXML_RNGP_GRAMMAR_MISSINGZXML_RNGP_GRAMMAR_NO_STARTZXML_RNGP_GROUP_ATTR_CONFLICTZXML_RNGP_HREF_ERRORZXML_RNGP_INCLUDE_EMPTYZXML_RNGP_INCLUDE_FAILUREZXML_RNGP_INCLUDE_RECURSEZXML_RNGP_INTERLEAVE_ADDZ!XML_RNGP_INTERLEAVE_CREATE_FAILEDZXML_RNGP_INTERLEAVE_EMPTYZXML_RNGP_INTERLEAVE_NO_CONTENTZXML_RNGP_INVALID_DEFINE_NAMEZXML_RNGP_INVALID_URIZXML_RNGP_INVALID_VALUEZXML_RNGP_MISSING_HREFZXML_RNGP_NAME_MISSINGZXML_RNGP_NEED_COMBINEZXML_RNGP_NOTALLOWED_NOT_EMPTYZXML_RNGP_NSNAME_ATTR_ANCESTORZXML_RNGP_NSNAME_NO_NSZXML_RNGP_PARAM_FORBIDDENZXML_RNGP_PARAM_NAME_MISSINGZ XML_RNGP_PARENTREF_CREATE_FAILEDZXML_RNGP_PARENTREF_NAME_INVALIDZXML_RNGP_PARENTREF_NO_NAMEZXML_RNGP_PARENTREF_NO_PARENTZXML_RNGP_PARENTREF_NOT_EMPTYZXML_RNGP_PARSE_ERRORZ#XML_RNGP_PAT_ANYNAME_EXCEPT_ANYNAMEZXML_RNGP_PAT_ATTR_ATTRZXML_RNGP_PAT_ATTR_ELEMZXML_RNGP_PAT_DATA_EXCEPT_ATTRZXML_RNGP_PAT_DATA_EXCEPT_ELEMZXML_RNGP_PAT_DATA_EXCEPT_EMPTYZXML_RNGP_PAT_DATA_EXCEPT_GROUPZ#XML_RNGP_PAT_DATA_EXCEPT_INTERLEAVEZXML_RNGP_PAT_DATA_EXCEPT_LISTZ XML_RNGP_PAT_DATA_EXCEPT_ONEMOREZXML_RNGP_PAT_DATA_EXCEPT_REFZXML_RNGP_PAT_DATA_EXCEPT_TEXTZXML_RNGP_PAT_LIST_ATTRZXML_RNGP_PAT_LIST_ELEMZXML_RNGP_PAT_LIST_INTERLEAVEZXML_RNGP_PAT_LIST_LISTZXML_RNGP_PAT_LIST_REFZXML_RNGP_PAT_LIST_TEXTZ"XML_RNGP_PAT_NSNAME_EXCEPT_ANYNAMEZ!XML_RNGP_PAT_NSNAME_EXCEPT_NSNAMEZXML_RNGP_PAT_ONEMORE_GROUP_ATTRZ$XML_RNGP_PAT_ONEMORE_INTERLEAVE_ATTRZXML_RNGP_PAT_START_ATTRZXML_RNGP_PAT_START_DATAZXML_RNGP_PAT_START_EMPTYZXML_RNGP_PAT_START_GROUPZXML_RNGP_PAT_START_INTERLEAVEZXML_RNGP_PAT_START_LISTZXML_RNGP_PAT_START_ONEMOREZXML_RNGP_PAT_START_TEXTZXML_RNGP_PAT_START_VALUEZXML_RNGP_PREFIX_UNDEFINEDZXML_RNGP_REF_CREATE_FAILEDZXML_RNGP_REF_CYCLEZXML_RNGP_REF_NAME_INVALIDZXML_RNGP_REF_NO_DEFZXML_RNGP_REF_NO_NAMEZXML_RNGP_REF_NOT_EMPTYZ$XML_RNGP_START_CHOICE_AND_INTERLEAVEZXML_RNGP_START_CONTENTZXML_RNGP_START_EMPTYZXML_RNGP_START_MISSINGZXML_RNGP_TEXT_EXPECTEDZXML_RNGP_TEXT_HAS_CHILDZXML_RNGP_TYPE_MISSINGZXML_RNGP_TYPE_NOT_FOUNDZXML_RNGP_TYPE_VALUEZXML_RNGP_UNKNOWN_ATTRIBUTEZXML_RNGP_UNKNOWN_COMBINEZXML_RNGP_UNKNOWN_CONSTRUCTZXML_RNGP_UNKNOWN_TYPE_LIBZXML_RNGP_URI_FRAGMENTZXML_RNGP_URI_NOT_ABSOLUTEZXML_RNGP_VALUE_EMPTYZXML_RNGP_VALUE_NO_CONTENTZXML_RNGP_XMLNS_NAMEZXML_RNGP_XML_NSZXML_XPATH_EXPRESSION_OKZXML_XPATH_NUMBER_ERRORZ"XML_XPATH_UNFINISHED_LITERAL_ERRORZXML_XPATH_START_LITERAL_ERRORZXML_XPATH_VARIABLE_REF_ERRORZXML_XPATH_UNDEF_VARIABLE_ERRORZ!XML_XPATH_INVALID_PREDICATE_ERRORZXML_XPATH_EXPR_ERRORZXML_XPATH_UNCLOSED_ERRORZXML_XPATH_UNKNOWN_FUNC_ERRORZXML_XPATH_INVALID_OPERANDZXML_XPATH_INVALID_TYPEZXML_XPATH_INVALID_ARITYZXML_XPATH_INVALID_CTXT_SIZEZXML_XPATH_INVALID_CTXT_POSITIONZXML_XPATH_MEMORY_ERRORZXML_XPTR_SYNTAX_ERRORZXML_XPTR_RESOURCE_ERRORZXML_XPTR_SUB_RESOURCE_ERRORZXML_XPATH_UNDEF_PREFIX_ERRORZXML_XPATH_ENCODING_ERRORZXML_XPATH_INVALID_CHAR_ERRORZXML_TREE_INVALID_HEXZXML_TREE_INVALID_DECZXML_TREE_UNTERMINATED_ENTITYZXML_TREE_NOT_UTF8ZXML_SAVE_NOT_UTF8ZXML_SAVE_CHAR_INVALIDZXML_SAVE_NO_DOCTYPEZXML_SAVE_UNKNOWN_ENCODINGZXML_REGEXP_COMPILE_ERRORZXML_IO_UNKNOWNZXML_IO_EACCESZXML_IO_EAGAINZXML_IO_EBADFZXML_IO_EBADMSGZXML_IO_EBUSYZXML_IO_ECANCELEDZXML_IO_ECHILDZXML_IO_EDEADLKZXML_IO_EDOMZXML_IO_EEXISTZXML_IO_EFAULTZXML_IO_EFBIGZXML_IO_EINPROGRESSZXML_IO_EINTRZXML_IO_EINVALZ
XML_IO_EIOZXML_IO_EISDIRZXML_IO_EMFILEZXML_IO_EMLINKZXML_IO_EMSGSIZEZXML_IO_ENAMETOOLONGZXML_IO_ENFILEZXML_IO_ENODEVZXML_IO_ENOENTZXML_IO_ENOEXECZXML_IO_ENOLCKZXML_IO_ENOMEMZXML_IO_ENOSPCZXML_IO_ENOSYSZXML_IO_ENOTDIRZXML_IO_ENOTEMPTYZXML_IO_ENOTSUPZXML_IO_ENOTTYZXML_IO_ENXIOZXML_IO_EPERMZXML_IO_EPIPEZXML_IO_ERANGEZXML_IO_EROFSZXML_IO_ESPIPEZXML_IO_ESRCHZXML_IO_ETIMEDOUTZXML_IO_EXDEVZXML_IO_NETWORK_ATTEMPTZXML_IO_ENCODERZXML_IO_FLUSHZXML_IO_WRITEZXML_IO_NO_INPUTZXML_IO_BUFFER_FULLZXML_IO_LOAD_ERRORZXML_IO_ENOTSOCKZXML_IO_EISCONNZXML_IO_ECONNREFUSEDZXML_IO_ENETUNREACHZXML_IO_EADDRINUSEZXML_IO_EALREADYZXML_IO_EAFNOSUPPORTZXML_XINCLUDE_RECURSIONZXML_XINCLUDE_PARSE_VALUEZ XML_XINCLUDE_ENTITY_DEF_MISMATCHZXML_XINCLUDE_NO_HREFZXML_XINCLUDE_NO_FALLBACKZXML_XINCLUDE_HREF_URIZXML_XINCLUDE_TEXT_FRAGMENTZXML_XINCLUDE_TEXT_DOCUMENTZXML_XINCLUDE_INVALID_CHARZXML_XINCLUDE_BUILD_FAILEDZXML_XINCLUDE_UNKNOWN_ENCODINGZXML_XINCLUDE_MULTIPLE_ROOTZXML_XINCLUDE_XPTR_FAILEDZXML_XINCLUDE_XPTR_RESULTZXML_XINCLUDE_INCLUDE_IN_INCLUDEZ!XML_XINCLUDE_FALLBACKS_IN_INCLUDEZ$XML_XINCLUDE_FALLBACK_NOT_IN_INCLUDEZXML_XINCLUDE_DEPRECATED_NSZXML_XINCLUDE_FRAGMENT_IDZXML_CATALOG_MISSING_ATTRZXML_CATALOG_ENTRY_BROKENZXML_CATALOG_PREFER_VALUEZXML_CATALOG_NOT_CATALOGZXML_CATALOG_RECURSIONZXML_SCHEMAP_PREFIX_UNDEFINEDZ!XML_SCHEMAP_ATTRFORMDEFAULT_VALUEZ XML_SCHEMAP_ATTRGRP_NONAME_NOREFZXML_SCHEMAP_ATTR_NONAME_NOREFZ$XML_SCHEMAP_COMPLEXTYPE_NONAME_NOREFZ!XML_SCHEMAP_ELEMFORMDEFAULT_VALUEZXML_SCHEMAP_ELEM_NONAME_NOREFZXML_SCHEMAP_EXTENSION_NO_BASEZXML_SCHEMAP_FACET_NO_VALUEZXML_SCHEMAP_FAILED_BUILD_IMPORTZXML_SCHEMAP_GROUP_NONAME_NOREFZ$XML_SCHEMAP_IMPORT_NAMESPACE_NOT_URIZ"XML_SCHEMAP_IMPORT_REDEFINE_NSNAMEZ!XML_SCHEMAP_IMPORT_SCHEMA_NOT_URIZXML_SCHEMAP_INVALID_BOOLEANZXML_SCHEMAP_INVALID_ENUMZXML_SCHEMAP_INVALID_FACETZXML_SCHEMAP_INVALID_FACET_VALUEZXML_SCHEMAP_INVALID_MAXOCCURSZXML_SCHEMAP_INVALID_MINOCCURSZ#XML_SCHEMAP_INVALID_REF_AND_SUBTYPEZXML_SCHEMAP_INVALID_WHITE_SPACEZXML_SCHEMAP_NOATTR_NOREFZXML_SCHEMAP_NOTATION_NO_NAMEZXML_SCHEMAP_NOTYPE_NOREFZXML_SCHEMAP_REF_AND_SUBTYPEZ$XML_SCHEMAP_RESTRICTION_NONAME_NOREFZXML_SCHEMAP_SIMPLETYPE_NONAMEZXML_SCHEMAP_TYPE_AND_SUBTYPEZXML_SCHEMAP_UNKNOWN_ALL_CHILDZ&XML_SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILDZXML_SCHEMAP_UNKNOWN_ATTR_CHILDZ!XML_SCHEMAP_UNKNOWN_ATTRGRP_CHILDZ#XML_SCHEMAP_UNKNOWN_ATTRIBUTE_GROUPZXML_SCHEMAP_UNKNOWN_BASE_TYPEZ XML_SCHEMAP_UNKNOWN_CHOICE_CHILDZ(XML_SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILDZ%XML_SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILDZXML_SCHEMAP_UNKNOWN_ELEM_CHILDZ#XML_SCHEMAP_UNKNOWN_EXTENSION_CHILDZXML_SCHEMAP_UNKNOWN_FACET_CHILDZXML_SCHEMAP_UNKNOWN_FACET_TYPEZXML_SCHEMAP_UNKNOWN_GROUP_CHILDZ XML_SCHEMAP_UNKNOWN_IMPORT_CHILDZXML_SCHEMAP_UNKNOWN_LIST_CHILDZ"XML_SCHEMAP_UNKNOWN_NOTATION_CHILDZ(XML_SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILDZXML_SCHEMAP_UNKNOWN_REFZ%XML_SCHEMAP_UNKNOWN_RESTRICTION_CHILDZ!XML_SCHEMAP_UNKNOWN_SCHEMAS_CHILDZ"XML_SCHEMAP_UNKNOWN_SEQUENCE_CHILDZ'XML_SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILDZ$XML_SCHEMAP_UNKNOWN_SIMPLETYPE_CHILDZXML_SCHEMAP_UNKNOWN_TYPEZXML_SCHEMAP_UNKNOWN_UNION_CHILDZXML_SCHEMAP_ELEM_DEFAULT_FIXEDZXML_SCHEMAP_REGEXP_INVALIDZXML_SCHEMAP_FAILED_LOADZXML_SCHEMAP_NOTHING_TO_PARSEZXML_SCHEMAP_NOROOTZXML_SCHEMAP_REDEFINED_GROUPZXML_SCHEMAP_REDEFINED_TYPEZXML_SCHEMAP_REDEFINED_ELEMENTZXML_SCHEMAP_REDEFINED_ATTRGROUPZXML_SCHEMAP_REDEFINED_ATTRZXML_SCHEMAP_REDEFINED_NOTATIONZXML_SCHEMAP_FAILED_PARSEZXML_SCHEMAP_UNKNOWN_PREFIXZXML_SCHEMAP_DEF_AND_PREFIXZ!XML_SCHEMAP_UNKNOWN_INCLUDE_CHILDZ"XML_SCHEMAP_INCLUDE_SCHEMA_NOT_URIZ!XML_SCHEMAP_INCLUDE_SCHEMA_NO_URIZXML_SCHEMAP_NOT_SCHEMAZXML_SCHEMAP_UNKNOWN_MEMBER_TYPEZXML_SCHEMAP_INVALID_ATTR_USEZXML_SCHEMAP_RECURSIVEZ(XML_SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPEZ$XML_SCHEMAP_INVALID_ATTR_COMBINATIONZ+XML_SCHEMAP_INVALID_ATTR_INLINE_COMBINATIONZ$XML_SCHEMAP_MISSING_SIMPLETYPE_CHILDZXML_SCHEMAP_INVALID_ATTR_NAMEZXML_SCHEMAP_REF_AND_CONTENTZXML_SCHEMAP_CT_PROPS_CORRECT_1ZXML_SCHEMAP_CT_PROPS_CORRECT_2ZXML_SCHEMAP_CT_PROPS_CORRECT_3ZXML_SCHEMAP_CT_PROPS_CORRECT_4ZXML_SCHEMAP_CT_PROPS_CORRECT_5Z'XML_SCHEMAP_DERIVATION_OK_RESTRICTION_1Z+XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_1Z+XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_2Z)XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_2Z'XML_SCHEMAP_DERIVATION_OK_RESTRICTION_3Z&XML_SCHEMAP_WILDCARD_INVALID_NS_MEMBERZ(XML_SCHEMAP_INTERSECTION_NOT_EXPRESSIBLEZ!XML_SCHEMAP_UNION_NOT_EXPRESSIBLEZXML_SCHEMAP_SRC_IMPORT_3_1ZXML_SCHEMAP_SRC_IMPORT_3_2Z)XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_1Z)XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_2Z)XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_3ZXML_SCHEMAP_COS_CT_EXTENDS_1_3ZXML_SCHEMAV_NOROOTZXML_SCHEMAV_UNDECLAREDELEMZXML_SCHEMAV_NOTTOPLEVELZXML_SCHEMAV_MISSINGZXML_SCHEMAV_WRONGELEMZXML_SCHEMAV_NOTYPEZXML_SCHEMAV_NOROLLBACKZXML_SCHEMAV_ISABSTRACTZXML_SCHEMAV_NOTEMPTYZXML_SCHEMAV_ELEMCONTZXML_SCHEMAV_HAVEDEFAULTZXML_SCHEMAV_NOTNILLABLEZXML_SCHEMAV_EXTRACONTENTZXML_SCHEMAV_INVALIDATTRZXML_SCHEMAV_INVALIDELEMZXML_SCHEMAV_NOTDETERMINISTZXML_SCHEMAV_CONSTRUCTZXML_SCHEMAV_INTERNALZXML_SCHEMAV_NOTSIMPLEZXML_SCHEMAV_ATTRUNKNOWNZXML_SCHEMAV_ATTRINVALIDZXML_SCHEMAV_VALUEZXML_SCHEMAV_FACETZ$XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_1Z$XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_2Z$XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_3ZXML_SCHEMAV_CVC_TYPE_3_1_1ZXML_SCHEMAV_CVC_TYPE_3_1_2ZXML_SCHEMAV_CVC_FACET_VALIDZXML_SCHEMAV_CVC_LENGTH_VALIDZXML_SCHEMAV_CVC_MINLENGTH_VALIDZXML_SCHEMAV_CVC_MAXLENGTH_VALIDZ"XML_SCHEMAV_CVC_MININCLUSIVE_VALIDZ"XML_SCHEMAV_CVC_MAXINCLUSIVE_VALIDZ"XML_SCHEMAV_CVC_MINEXCLUSIVE_VALIDZ"XML_SCHEMAV_CVC_MAXEXCLUSIVE_VALIDZ!XML_SCHEMAV_CVC_TOTALDIGITS_VALIDZ$XML_SCHEMAV_CVC_FRACTIONDIGITS_VALIDZXML_SCHEMAV_CVC_PATTERN_VALIDZ!XML_SCHEMAV_CVC_ENUMERATION_VALIDZ XML_SCHEMAV_CVC_COMPLEX_TYPE_2_1Z XML_SCHEMAV_CVC_COMPLEX_TYPE_2_2Z XML_SCHEMAV_CVC_COMPLEX_TYPE_2_3Z XML_SCHEMAV_CVC_COMPLEX_TYPE_2_4ZXML_SCHEMAV_CVC_ELT_1ZXML_SCHEMAV_CVC_ELT_2ZXML_SCHEMAV_CVC_ELT_3_1ZXML_SCHEMAV_CVC_ELT_3_2_1ZXML_SCHEMAV_CVC_ELT_3_2_2ZXML_SCHEMAV_CVC_ELT_4_1ZXML_SCHEMAV_CVC_ELT_4_2ZXML_SCHEMAV_CVC_ELT_4_3ZXML_SCHEMAV_CVC_ELT_5_1_1ZXML_SCHEMAV_CVC_ELT_5_1_2ZXML_SCHEMAV_CVC_ELT_5_2_1ZXML_SCHEMAV_CVC_ELT_5_2_2_1ZXML_SCHEMAV_CVC_ELT_5_2_2_2_1ZXML_SCHEMAV_CVC_ELT_5_2_2_2_2ZXML_SCHEMAV_CVC_ELT_6ZXML_SCHEMAV_CVC_ELT_7ZXML_SCHEMAV_CVC_ATTRIBUTE_1ZXML_SCHEMAV_CVC_ATTRIBUTE_2ZXML_SCHEMAV_CVC_ATTRIBUTE_3ZXML_SCHEMAV_CVC_ATTRIBUTE_4Z XML_SCHEMAV_CVC_COMPLEX_TYPE_3_1Z"XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_1Z"XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_2ZXML_SCHEMAV_CVC_COMPLEX_TYPE_4Z XML_SCHEMAV_CVC_COMPLEX_TYPE_5_1Z XML_SCHEMAV_CVC_COMPLEX_TYPE_5_2ZXML_SCHEMAV_ELEMENT_CONTENTZ$XML_SCHEMAV_DOCUMENT_ELEMENT_MISSINGZXML_SCHEMAV_CVC_COMPLEX_TYPE_1ZXML_SCHEMAV_CVC_AUZXML_SCHEMAV_CVC_TYPE_1ZXML_SCHEMAV_CVC_TYPE_2ZXML_SCHEMAV_CVC_IDCZXML_SCHEMAV_CVC_WILDCARDZXML_SCHEMAV_MISCZXML_XPTR_UNKNOWN_SCHEMEZXML_XPTR_CHILDSEQ_STARTZXML_XPTR_EVAL_FAILEDZXML_XPTR_EXTRA_OBJECTSZXML_C14N_CREATE_CTXTZXML_C14N_REQUIRES_UTF8ZXML_C14N_CREATE_STACKZXML_C14N_INVALID_NODEZXML_C14N_UNKNOW_NODEZXML_C14N_RELATIVE_NAMESPACEZXML_FTP_PASV_ANSWERZXML_FTP_EPSV_ANSWERZXML_FTP_ACCNTZXML_FTP_URL_SYNTAXZXML_HTTP_URL_SYNTAXZXML_HTTP_USE_IPZXML_HTTP_UNKNOWN_HOSTZXML_SCHEMAP_SRC_SIMPLE_TYPE_1ZXML_SCHEMAP_SRC_SIMPLE_TYPE_2ZXML_SCHEMAP_SRC_SIMPLE_TYPE_3ZXML_SCHEMAP_SRC_SIMPLE_TYPE_4ZXML_SCHEMAP_SRC_RESOLVEZ.XML_SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPEZ+XML_SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPEZ0XML_SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPESZXML_SCHEMAP_ST_PROPS_CORRECT_1ZXML_SCHEMAP_ST_PROPS_CORRECT_2ZXML_SCHEMAP_ST_PROPS_CORRECT_3Z XML_SCHEMAP_COS_ST_RESTRICTS_1_1Z XML_SCHEMAP_COS_ST_RESTRICTS_1_2Z"XML_SCHEMAP_COS_ST_RESTRICTS_1_3_1Z"XML_SCHEMAP_COS_ST_RESTRICTS_1_3_2Z XML_SCHEMAP_COS_ST_RESTRICTS_2_1Z$XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_1Z$XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_2Z$XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_1Z$XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_2Z$XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_3Z$XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_4Z$XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_5Z XML_SCHEMAP_COS_ST_RESTRICTS_3_1Z"XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1Z$XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1_2Z$XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_2Z$XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_1Z$XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_3Z$XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_4Z$XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_5Z!XML_SCHEMAP_COS_ST_DERIVED_OK_2_1Z!XML_SCHEMAP_COS_ST_DERIVED_OK_2_2Z XML_SCHEMAP_S4S_ELEM_NOT_ALLOWEDZXML_SCHEMAP_S4S_ELEM_MISSINGZ XML_SCHEMAP_S4S_ATTR_NOT_ALLOWEDZXML_SCHEMAP_S4S_ATTR_MISSINGZ"XML_SCHEMAP_S4S_ATTR_INVALID_VALUEZXML_SCHEMAP_SRC_ELEMENT_1ZXML_SCHEMAP_SRC_ELEMENT_2_1ZXML_SCHEMAP_SRC_ELEMENT_2_2ZXML_SCHEMAP_SRC_ELEMENT_3ZXML_SCHEMAP_P_PROPS_CORRECT_1ZXML_SCHEMAP_P_PROPS_CORRECT_2_1ZXML_SCHEMAP_P_PROPS_CORRECT_2_2ZXML_SCHEMAP_E_PROPS_CORRECT_2ZXML_SCHEMAP_E_PROPS_CORRECT_3ZXML_SCHEMAP_E_PROPS_CORRECT_4ZXML_SCHEMAP_E_PROPS_CORRECT_5ZXML_SCHEMAP_E_PROPS_CORRECT_6ZXML_SCHEMAP_SRC_INCLUDEZXML_SCHEMAP_SRC_ATTRIBUTE_1ZXML_SCHEMAP_SRC_ATTRIBUTE_2ZXML_SCHEMAP_SRC_ATTRIBUTE_3_1ZXML_SCHEMAP_SRC_ATTRIBUTE_3_2ZXML_SCHEMAP_SRC_ATTRIBUTE_4ZXML_SCHEMAP_NO_XMLNSZXML_SCHEMAP_NO_XSIZXML_SCHEMAP_COS_VALID_DEFAULT_1Z!XML_SCHEMAP_COS_VALID_DEFAULT_2_1Z#XML_SCHEMAP_COS_VALID_DEFAULT_2_2_1Z#XML_SCHEMAP_COS_VALID_DEFAULT_2_2_2ZXML_SCHEMAP_CVC_SIMPLE_TYPEZXML_SCHEMAP_COS_CT_EXTENDS_1_1ZXML_SCHEMAP_SRC_IMPORT_1_1ZXML_SCHEMAP_SRC_IMPORT_1_2ZXML_SCHEMAP_SRC_IMPORT_2ZXML_SCHEMAP_SRC_IMPORT_2_1ZXML_SCHEMAP_SRC_IMPORT_2_2ZXML_SCHEMAP_INTERNALZXML_SCHEMAP_NOT_DETERMINISTICZ!XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_1Z!XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_2Z!XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_3ZXML_SCHEMAP_MG_PROPS_CORRECT_1ZXML_SCHEMAP_MG_PROPS_CORRECT_2ZXML_SCHEMAP_SRC_CT_1Z+XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_3ZXML_SCHEMAP_AU_PROPS_CORRECT_2ZXML_SCHEMAP_A_PROPS_CORRECT_2ZXML_SCHEMAP_C_PROPS_CORRECTZXML_SCHEMAP_SRC_REDEFINEZXML_SCHEMAP_SRC_IMPORTZXML_SCHEMAP_WARN_SKIP_SCHEMAZ!XML_SCHEMAP_WARN_UNLOCATED_SCHEMAZ!XML_SCHEMAP_WARN_ATTR_REDECL_PROHZ$XML_SCHEMAP_WARN_ATTR_POINTLESS_PROHZXML_SCHEMAP_AG_PROPS_CORRECTZXML_SCHEMAP_COS_CT_EXTENDS_1_2ZXML_SCHEMAP_AU_PROPS_CORRECTZXML_SCHEMAP_A_PROPS_CORRECT_3ZXML_SCHEMAP_COS_ALL_LIMITEDZXML_SCHEMATRONV_ASSERTZXML_SCHEMATRONV_REPORTZXML_MODULE_OPENZXML_MODULE_CLOSEZXML_CHECK_FOUND_ELEMENTZXML_CHECK_FOUND_ATTRIBUTEZXML_CHECK_FOUND_TEXTZXML_CHECK_FOUND_CDATAZXML_CHECK_FOUND_ENTITYREFZXML_CHECK_FOUND_ENTITYZXML_CHECK_FOUND_PIZXML_CHECK_FOUND_COMMENTZXML_CHECK_FOUND_DOCTYPEZXML_CHECK_FOUND_FRAGMENTZXML_CHECK_FOUND_NOTATIONZXML_CHECK_UNKNOWN_NODEZXML_CHECK_ENTITY_TYPEZXML_CHECK_NO_PARENTZXML_CHECK_NO_DOCZXML_CHECK_NO_NAMEZXML_CHECK_NO_ELEMZXML_CHECK_WRONG_DOCZXML_CHECK_NO_PREVZXML_CHECK_WRONG_PREVZXML_CHECK_NO_NEXTZXML_CHECK_WRONG_NEXTZXML_CHECK_NOT_DTDZXML_CHECK_NOT_ATTRZXML_CHECK_NOT_ATTR_DECLZXML_CHECK_NOT_ELEM_DECLZXML_CHECK_NOT_ENTITY_DECLZXML_CHECK_NOT_NS_DECLZXML_CHECK_NO_HREFZXML_CHECK_WRONG_PARENTZXML_CHECK_NS_SCOPEZXML_CHECK_NS_ANCESTORZXML_CHECK_NOT_UTF8ZXML_CHECK_NO_DICTZXML_CHECK_NOT_NCNAMEZXML_CHECK_OUTSIDE_DICTZXML_CHECK_WRONG_NAMEZXML_CHECK_NAME_NOT_NULLZXML_I18N_NO_NAMEZXML_I18N_NO_HANDLERZXML_I18N_EXCESS_HANDLERZXML_I18N_CONV_FAILEDZXML_I18N_NO_OUTPUTZXML_BUF_OVERFLOWZXML_C14N_1_0ZXML_C14N_EXCLUSIVE_1_0ZXML_C14N_1_1ZXML_CATA_ALLOW_NONEZXML_CATA_ALLOW_GLOBALZXML_CATA_ALLOW_DOCUMENTZXML_CATA_ALLOW_ALLZXML_CATA_PREFER_NONEZXML_CATA_PREFER_PUBLICZXML_CATA_PREFER_SYSTEMZXML_CHAR_ENCODING_ERRORZXML_CHAR_ENCODING_NONEZXML_CHAR_ENCODING_UTF8ZXML_CHAR_ENCODING_UTF16LEZXML_CHAR_ENCODING_UTF16BEZXML_CHAR_ENCODING_UCS4LEZXML_CHAR_ENCODING_UCS4BEZXML_CHAR_ENCODING_EBCDICZXML_CHAR_ENCODING_UCS4_2143ZXML_CHAR_ENCODING_UCS4_3412ZXML_CHAR_ENCODING_UCS2ZXML_CHAR_ENCODING_8859_1ZXML_CHAR_ENCODING_8859_2ZXML_CHAR_ENCODING_8859_3ZXML_CHAR_ENCODING_8859_4ZXML_CHAR_ENCODING_8859_5ZXML_CHAR_ENCODING_8859_6ZXML_CHAR_ENCODING_8859_7ZXML_CHAR_ENCODING_8859_8ZXML_CHAR_ENCODING_8859_9ZXML_CHAR_ENCODING_2022_JPZXML_CHAR_ENCODING_SHIFT_JISZXML_CHAR_ENCODING_EUC_JPZXML_CHAR_ENCODING_ASCIIZXML_DOC_WELLFORMEDZXML_DOC_NSVALIDZXML_DOC_OLD10ZXML_DOC_DTDVALIDZXML_DOC_XINCLUDEZXML_DOC_USERBUILTZXML_DOC_INTERNALZXML_DOC_HTMLZXML_ELEMENT_CONTENT_PCDATAZXML_ELEMENT_CONTENT_ELEMENTZXML_ELEMENT_CONTENT_SEQZXML_ELEMENT_CONTENT_ORZXML_ELEMENT_CONTENT_ONCEZXML_ELEMENT_CONTENT_OPTZXML_ELEMENT_CONTENT_MULTZXML_ELEMENT_CONTENT_PLUSZXML_ELEMENT_TYPE_UNDEFINEDZXML_ELEMENT_TYPE_EMPTYZXML_ELEMENT_TYPE_ANYZXML_ELEMENT_TYPE_MIXEDZXML_ELEMENT_TYPE_ELEMENTZXML_ENC_ERR_MEMORYZXML_ENC_ERR_INTERNALZXML_ENC_ERR_PARTIALZXML_ENC_ERR_INPUTZXML_ENC_ERR_SPACEZXML_ENC_ERR_SUCCESSZXML_ERR_NONEZXML_ERR_WARNINGZXML_ERR_ERRORZXML_ERR_FATALZXML_EXP_EMPTYZXML_EXP_FORBIDZXML_EXP_ATOMZXML_EXP_SEQZ
XML_EXP_ORZXML_EXP_COUNTZXML_INTERNAL_GENERAL_ENTITYZ"XML_EXTERNAL_GENERAL_PARSED_ENTITYZ$XML_EXTERNAL_GENERAL_UNPARSED_ENTITYZXML_INTERNAL_PARAMETER_ENTITYZXML_EXTERNAL_PARAMETER_ENTITYZXML_INTERNAL_PREDEFINED_ENTITYZXML_FROM_NONEZXML_FROM_PARSERZXML_FROM_TREEZXML_FROM_NAMESPACEZXML_FROM_DTDZXML_FROM_HTMLZXML_FROM_MEMORYZXML_FROM_OUTPUTZXML_FROM_IOZXML_FROM_FTPZXML_FROM_HTTPZXML_FROM_XINCLUDEZXML_FROM_XPATHZXML_FROM_XPOINTERZXML_FROM_REGEXPZXML_FROM_DATATYPEZXML_FROM_SCHEMASPZXML_FROM_SCHEMASVZXML_FROM_RELAXNGPZXML_FROM_RELAXNGVZXML_FROM_CATALOGZXML_FROM_C14NZXML_FROM_XSLTZXML_FROM_VALIDZXML_FROM_CHECKZXML_FROM_WRITERZXML_FROM_MODULEZXML_FROM_I18NZXML_FROM_SCHEMATRONVZXML_FROM_BUFFERZXML_FROM_URIZXML_MODULE_LAZYZXML_MODULE_LOCALZXML_PARSER_EOFZXML_PARSER_STARTZXML_PARSER_MISCZXML_PARSER_PIZXML_PARSER_DTDZXML_PARSER_PROLOGZXML_PARSER_COMMENTZXML_PARSER_START_TAGZXML_PARSER_CONTENTZXML_PARSER_CDATA_SECTIONZXML_PARSER_END_TAGZXML_PARSER_ENTITY_DECLZXML_PARSER_ENTITY_VALUEZXML_PARSER_ATTRIBUTE_VALUEZXML_PARSER_SYSTEM_LITERALZXML_PARSER_EPILOGZXML_PARSER_IGNOREZXML_PARSER_PUBLIC_LITERALZXML_PARSER_XML_DECLZXML_PARSER_LOADDTDZXML_PARSER_DEFAULTATTRSZXML_PARSER_VALIDATEZXML_PARSER_SUBST_ENTITIESZ$XML_PARSER_SEVERITY_VALIDITY_WARNINGZ"XML_PARSER_SEVERITY_VALIDITY_ERRORZXML_PARSER_SEVERITY_WARNINGZXML_PARSER_SEVERITY_ERRORZXML_PARSE_RECOVERZXML_PARSE_NOENTZXML_PARSE_DTDLOADZXML_PARSE_DTDATTRZXML_PARSE_DTDVALIDZXML_PARSE_NOERRORZXML_PARSE_NOWARNINGZXML_PARSE_PEDANTICZXML_PARSE_NOBLANKSZXML_PARSE_SAX1ZXML_PARSE_XINCLUDEZXML_PARSE_NONETZXML_PARSE_NODICTZXML_PARSE_NSCLEANZXML_PARSE_NOCDATAZXML_PARSE_NOXINCNODEZXML_PARSE_COMPACTZXML_PARSE_OLD10ZXML_PARSE_NOBASEFIXZXML_PARSE_HUGEZXML_PARSE_OLDSAXZXML_PARSE_IGNORE_ENCZXML_PARSE_BIG_LINESZXML_PARSE_UNKNOWNZXML_PARSE_DOMZXML_PARSE_SAXZXML_PARSE_PUSH_DOMZXML_PARSE_PUSH_SAXZXML_PARSE_READERZXML_PATTERN_DEFAULTZXML_PATTERN_XPATHZXML_PATTERN_XSSELZXML_PATTERN_XSFIELDZXML_READER_TYPE_NONEZXML_READER_TYPE_ELEMENTZXML_READER_TYPE_ATTRIBUTEZXML_READER_TYPE_TEXTZXML_READER_TYPE_CDATAZ XML_READER_TYPE_ENTITY_REFERENCEZXML_READER_TYPE_ENTITYZ&XML_READER_TYPE_PROCESSING_INSTRUCTIONZXML_READER_TYPE_COMMENTZXML_READER_TYPE_DOCUMENTZXML_READER_TYPE_DOCUMENT_TYPEZ!XML_READER_TYPE_DOCUMENT_FRAGMENTZXML_READER_TYPE_NOTATIONZXML_READER_TYPE_WHITESPACEZ&XML_READER_TYPE_SIGNIFICANT_WHITESPACEZXML_READER_TYPE_END_ELEMENTZXML_READER_TYPE_END_ENTITYZXML_READER_TYPE_XML_DECLARATIONZXML_RELAXNGP_NONEZXML_RELAXNGP_FREE_DOCZXML_RELAXNGP_CRNGZXML_RELAXNG_OKZXML_RELAXNG_ERR_MEMORYZXML_RELAXNG_ERR_TYPEZXML_RELAXNG_ERR_TYPEVALZXML_RELAXNG_ERR_DUPIDZXML_RELAXNG_ERR_TYPECMPZXML_RELAXNG_ERR_NOSTATEZXML_RELAXNG_ERR_NODEFINEZXML_RELAXNG_ERR_LISTEXTRAZXML_RELAXNG_ERR_LISTEMPTYZXML_RELAXNG_ERR_INTERNODATAZXML_RELAXNG_ERR_INTERSEQZXML_RELAXNG_ERR_INTEREXTRAZXML_RELAXNG_ERR_ELEMNAMEZXML_RELAXNG_ERR_ATTRNAMEZXML_RELAXNG_ERR_ELEMNONSZXML_RELAXNG_ERR_ATTRNONSZXML_RELAXNG_ERR_ELEMWRONGNSZXML_RELAXNG_ERR_ATTRWRONGNSZXML_RELAXNG_ERR_ELEMEXTRANSZXML_RELAXNG_ERR_ATTREXTRANSZXML_RELAXNG_ERR_ELEMNOTEMPTYZXML_RELAXNG_ERR_NOELEMZXML_RELAXNG_ERR_NOTELEMZXML_RELAXNG_ERR_ATTRVALIDZXML_RELAXNG_ERR_CONTENTVALIDZXML_RELAXNG_ERR_EXTRACONTENTZXML_RELAXNG_ERR_INVALIDATTRZXML_RELAXNG_ERR_DATAELEMZXML_RELAXNG_ERR_VALELEMZXML_RELAXNG_ERR_LISTELEMZXML_RELAXNG_ERR_DATATYPEZXML_RELAXNG_ERR_VALUEZXML_RELAXNG_ERR_LISTZXML_RELAXNG_ERR_NOGRAMMARZXML_RELAXNG_ERR_EXTRADATAZXML_RELAXNG_ERR_LACKDATAZXML_RELAXNG_ERR_INTERNALZXML_RELAXNG_ERR_ELEMWRONGZXML_RELAXNG_ERR_TEXTWRONGZXML_SAVE_FORMATZXML_SAVE_NO_DECLZXML_SAVE_NO_EMPTYZXML_SAVE_NO_XHTMLZXML_SAVE_XHTMLZXML_SAVE_AS_XMLZXML_SAVE_AS_HTMLZXML_SAVE_WSNONSIGZXML_SCHEMAS_UNKNOWNZXML_SCHEMAS_STRINGZXML_SCHEMAS_NORMSTRINGZXML_SCHEMAS_DECIMALZXML_SCHEMAS_TIMEZXML_SCHEMAS_GDAYZXML_SCHEMAS_GMONTHZXML_SCHEMAS_GMONTHDAYZXML_SCHEMAS_GYEARZXML_SCHEMAS_GYEARMONTHZXML_SCHEMAS_DATEZXML_SCHEMAS_DATETIMEZXML_SCHEMAS_DURATIONZXML_SCHEMAS_FLOATZXML_SCHEMAS_DOUBLEZXML_SCHEMAS_BOOLEANZXML_SCHEMAS_TOKENZXML_SCHEMAS_LANGUAGEZXML_SCHEMAS_NMTOKENZXML_SCHEMAS_NMTOKENSZXML_SCHEMAS_NAMEZXML_SCHEMAS_QNAMEZXML_SCHEMAS_NCNAMEZXML_SCHEMAS_IDZXML_SCHEMAS_IDREFZXML_SCHEMAS_IDREFSZXML_SCHEMAS_ENTITYZXML_SCHEMAS_ENTITIESZXML_SCHEMAS_NOTATIONZXML_SCHEMAS_ANYURIZXML_SCHEMAS_INTEGERZXML_SCHEMAS_NPINTEGERZXML_SCHEMAS_NINTEGERZXML_SCHEMAS_NNINTEGERZXML_SCHEMAS_PINTEGERZXML_SCHEMAS_INTZXML_SCHEMAS_UINTZXML_SCHEMAS_LONGZXML_SCHEMAS_ULONGZXML_SCHEMAS_SHORTZXML_SCHEMAS_USHORTZXML_SCHEMAS_BYTEZXML_SCHEMAS_UBYTEZXML_SCHEMAS_HEXBINARYZXML_SCHEMAS_BASE64BINARYZXML_SCHEMAS_ANYTYPEZXML_SCHEMAS_ANYSIMPLETYPEZXML_SCHEMAS_ERR_OKZXML_SCHEMAS_ERR_NOROOTZXML_SCHEMAS_ERR_UNDECLAREDELEMZXML_SCHEMAS_ERR_NOTTOPLEVELZXML_SCHEMAS_ERR_MISSINGZXML_SCHEMAS_ERR_WRONGELEMZXML_SCHEMAS_ERR_NOTYPEZXML_SCHEMAS_ERR_NOROLLBACKZXML_SCHEMAS_ERR_ISABSTRACTZXML_SCHEMAS_ERR_NOTEMPTYZXML_SCHEMAS_ERR_ELEMCONTZXML_SCHEMAS_ERR_HAVEDEFAULTZXML_SCHEMAS_ERR_NOTNILLABLEZXML_SCHEMAS_ERR_EXTRACONTENTZXML_SCHEMAS_ERR_INVALIDATTRZXML_SCHEMAS_ERR_INVALIDELEMZXML_SCHEMAS_ERR_NOTDETERMINISTZXML_SCHEMAS_ERR_CONSTRUCTZXML_SCHEMAS_ERR_INTERNALZXML_SCHEMAS_ERR_NOTSIMPLEZXML_SCHEMAS_ERR_ATTRUNKNOWNZXML_SCHEMAS_ERR_ATTRINVALIDZXML_SCHEMAS_ERR_VALUEZXML_SCHEMAS_ERR_FACETZXML_SCHEMAS_ERR_ZXML_SCHEMAS_ERR_XXXZXML_SCHEMATRON_OUT_QUIETZXML_SCHEMATRON_OUT_TEXTZXML_SCHEMATRON_OUT_XMLZXML_SCHEMATRON_OUT_ERRORZXML_SCHEMATRON_OUT_FILEZXML_SCHEMATRON_OUT_BUFFERZXML_SCHEMATRON_OUT_IOZXML_SCHEMA_CONTENT_UNKNOWNZXML_SCHEMA_CONTENT_EMPTYZXML_SCHEMA_CONTENT_ELEMENTSZXML_SCHEMA_CONTENT_MIXEDZXML_SCHEMA_CONTENT_SIMPLEZ$XML_SCHEMA_CONTENT_MIXED_OR_ELEMENTSZXML_SCHEMA_CONTENT_BASICZXML_SCHEMA_CONTENT_ANYZXML_SCHEMA_TYPE_BASICZXML_SCHEMA_TYPE_ANYZXML_SCHEMA_TYPE_FACETZXML_SCHEMA_TYPE_SIMPLEZXML_SCHEMA_TYPE_COMPLEXZXML_SCHEMA_TYPE_SEQUENCEZXML_SCHEMA_TYPE_CHOICEZXML_SCHEMA_TYPE_ALLZXML_SCHEMA_TYPE_SIMPLE_CONTENTZXML_SCHEMA_TYPE_COMPLEX_CONTENTZXML_SCHEMA_TYPE_URZXML_SCHEMA_TYPE_RESTRICTIONZXML_SCHEMA_TYPE_EXTENSIONZXML_SCHEMA_TYPE_ELEMENTZXML_SCHEMA_TYPE_ATTRIBUTEZXML_SCHEMA_TYPE_ATTRIBUTEGROUPZXML_SCHEMA_TYPE_GROUPZXML_SCHEMA_TYPE_NOTATIONZXML_SCHEMA_TYPE_LISTZXML_SCHEMA_TYPE_UNIONZXML_SCHEMA_TYPE_ANY_ATTRIBUTEZXML_SCHEMA_TYPE_IDC_UNIQUEZXML_SCHEMA_TYPE_IDC_KEYZXML_SCHEMA_TYPE_IDC_KEYREFZXML_SCHEMA_TYPE_PARTICLEZXML_SCHEMA_TYPE_ATTRIBUTE_USEZXML_SCHEMA_FACET_MININCLUSIVEZXML_SCHEMA_FACET_MINEXCLUSIVEZXML_SCHEMA_FACET_MAXINCLUSIVEZXML_SCHEMA_FACET_MAXEXCLUSIVEZXML_SCHEMA_FACET_TOTALDIGITSZXML_SCHEMA_FACET_FRACTIONDIGITSZXML_SCHEMA_FACET_PATTERNZXML_SCHEMA_FACET_ENUMERATIONZXML_SCHEMA_FACET_WHITESPACEZXML_SCHEMA_FACET_LENGTHZXML_SCHEMA_FACET_MAXLENGTHZXML_SCHEMA_FACET_MINLENGTHZXML_SCHEMA_EXTRA_QNAMEREFZ XML_SCHEMA_EXTRA_ATTR_USE_PROHIBZXML_SCHEMA_VAL_VC_I_CREATEZXML_SCHEMA_WHITESPACE_UNKNOWNZXML_SCHEMA_WHITESPACE_PRESERVEZXML_SCHEMA_WHITESPACE_REPLACEZXML_SCHEMA_WHITESPACE_COLLAPSEZXML_TEXTREADER_MODE_INITIALZXML_TEXTREADER_MODE_INTERACTIVEZXML_TEXTREADER_MODE_ERRORZXML_TEXTREADER_MODE_EOFZXML_TEXTREADER_MODE_CLOSEDZXML_TEXTREADER_MODE_READINGZXML_WITH_THREADZXML_WITH_TREEZXML_WITH_OUTPUTZXML_WITH_PUSHZXML_WITH_READERZXML_WITH_PATTERNZXML_WITH_WRITERZXML_WITH_SAX1ZXML_WITH_FTPZXML_WITH_HTTPZXML_WITH_VALIDZXML_WITH_HTMLZXML_WITH_LEGACYZXML_WITH_C14NZXML_WITH_CATALOGZXML_WITH_XPATHZXML_WITH_XPTRZXML_WITH_XINCLUDEZXML_WITH_ICONVZXML_WITH_ISO8859XZXML_WITH_UNICODEZXML_WITH_REGEXPZXML_WITH_AUTOMATAZXML_WITH_EXPRZXML_WITH_SCHEMASZXML_WITH_SCHEMATRONZXML_WITH_MODULESZXML_WITH_DEBUGZXML_WITH_DEBUG_MEMZXML_WITH_DEBUG_RUNZXML_WITH_ZLIBZXML_WITH_ICUZXML_WITH_LZMAZXML_WITH_NONEZXPATH_UNDEFINEDZXPATH_NODESETZXPATH_BOOLEANZXPATH_NUMBERZXPATH_STRINGZXPATH_POINTZXPATH_RANGEZXPATH_LOCATIONSETZXPATH_USERSZXPATH_XSLT_TREEZXPATH_EXPRESSION_OKZXPATH_NUMBER_ERRORZXPATH_UNFINISHED_LITERAL_ERRORZXPATH_START_LITERAL_ERRORZXPATH_VARIABLE_REF_ERRORZXPATH_UNDEF_VARIABLE_ERRORZXPATH_INVALID_PREDICATE_ERRORZXPATH_EXPR_ERRORZXPATH_UNCLOSED_ERRORZXPATH_UNKNOWN_FUNC_ERRORZXPATH_INVALID_OPERANDZXPATH_INVALID_TYPEZXPATH_INVALID_ARITYZXPATH_INVALID_CTXT_SIZEZXPATH_INVALID_CTXT_POSITIONZXPATH_MEMORY_ERRORZXPTR_SYNTAX_ERRORZXPTR_RESOURCE_ERRORZXPTR_SUB_RESOURCE_ERRORZXPATH_UNDEF_PREFIX_ERRORZXPATH_ENCODING_ERRORZXPATH_INVALID_CHAR_ERRORZXPATH_INVALID_CTXTZXPATH_STACK_ERRORZXPATH_FORBID_VARIABLE_ERRORZXPATH_OP_LIMIT_EXCEEDEDZXPATH_RECURSION_LIMIT_EXCEEDEDr   r   r	   <module>r     s&     
 #) " + {  )* )*VI $*Y *^a aR~' ~'H . .* E   
 "#      
8 8<
H 
H
N 
N
O 
O=
 F(  #0&  #
 
*
+#
#




&'


/
7 0+

-.1# #
 
?($!
) . 	!F

    2
!"  4

((
''

(



,


*
+




23.######&&'


































































































(|#g |#|rW rh** **Xn
 n
`Mg M^V7 V: :x@W @DT T5 58l2G l2\`> `D8- 8t3 38 :, ,\D+ DL .( (TKC) KCZ &v% vpx xtm m^b# b#H~: ~:B 
                                                              
                         $& !  "        !         " !# "$     ! !   !  "   !   "$ #%    !   ! "$ !                       "            "$         !       !$   !$  !$    !    "%  !$                       !$      "      &) #!%  " !       %) " $   # " "    " "        ! !  $ # #       #      $( !  !% #       $  $   " #'  "& ! # #  &* #   $  $ !% !% &* # $ #'  #  $   #    %) "$( !"& '+ $     $  !     !       '+ $        !  !            %) " $ # !% $( !  #     " "&    " #  #   #          
            #'     ! !      $ !   "& $( !'+ $!       # $( !#'   $ '+ $$( ! $  $ ! "& !% '+ $%) "$( !"    "&  $  $ &* #"&  #  " '+ $ $ #  $ )- &!% $( !&* # $ #'  +/ ((, %!% &* #"& !% "& #'  !% %) "+/ ( (, %$( !%) "*. ''+ $ "& !% !  #  " !  $ "& ! !%  ! ! $( !%) "$( ! "& #  +/ ('+ $.2 +'+ $ $ " !% !% !% !% !% *. '.2 +.2 +,0 )*. ')- &+/ ($( !! ! ,0 ),0 ),0 )!%  !              !        '+ $'+ $'+ $! ! " # "& "& %) "%) "%) "%) "$( !'+ $ $ $( !#'  #'  #'  #'                  "  $  $   " " " " #'  %) "%) "!% #'  #'  " '+ $!%                "       $  $  $  $  15 ..2 +37 0!% !% !% #'  #'  %) "%) "#'  '+ $'+ $'+ $'+ $'+ $'+ $'+ $#'  %) "'+ $'+ $'+ $'+ $'+ $'+ $$( !$( !#'  # #'  # %) "  " "    $ "& "&  $  $  $  $  $  " "  $  $ "   "& $( !&* #&* #" !% ! !  ! !   $ $( !$( !$( !!% !%  .2 +!%  $ "   # $( !$( !'+ $# !% #  $ "                                                                                                                       
   %& "'( $ !  ! !"                                    () $%& "                                     #$   )* &   " $& !  )+ &   "$                               !    ! !                                                                      !"             !     !#                          '( $           !" "$       !#      "      "  $  $  $  $ # "&  # "  ! !   #'     !" !"  ! !"    "#                      !"     !                      !# r   