ok
Direktori : /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/ |
Current File : //opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/xpathret.pyc |
� [��ec @ s� d d l Z d d l Z d d l Z e j d � e j d � a d � Z e j d � Z e j � Z e j e j d d e � e j d � Z e e � e g � k r� d GHe j d � n e e � d k r� d GHe j d � n e d Z e j d k rd GHe j d � n e j Z e j d k r;d GHe j d � n e j d k r_d GHe j d � n e j � t j � e j � e j � e j d � d k r�d GHn d e j d � GHd S( i����Ni s 1.0c C sE t j d d d � } t j | � t j | � } | j | � | g S( Nt p( t mydoct newDocNodet Nonet addChildt newDocText( t ctxt strt parentt node( ( sD /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/xpathret.pyt foo s s tst.xmlR s foo('hello')s Failed to return a nodesets Unexpected nodeset sizei R s! Unexpected nodeset element resultt texts( Unexpected nodeset element children typet hellos+ Unexpected nodeset element children contentt OKs Memory leak %d bytes( t syst setup_testt libxml2t debugMemoryt newDocR R t parseFilet doct xpathNewContextt ctxtt registerXPathFunctiont _oR t xpathEvalt rest typet exitt lenR t namet childrent contentt freeDoct xpathFreeContextt cleanupParser( ( ( sD /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/xpathret.pyt <module> sB