ó =ìm>c@s5dZddlZddlZddd„ƒYZdS(sò The context of an XPath expression. WWW: http://4suite.org/XPATH e-mail: support@4suite.org Copyright (c) 2000-2001 Fourthought Inc, USA. All Rights Reserved. See http://4suite.org/COPYRIGHT for license and copyright information iÿÿÿÿNtContextcBs‰eZejZddd d d„Zd„Zd„Zd„Zd„Z d„Z d„Z d„Z d „Z d „Zd „Zd „ZRS(icCsX||_||_||_|p$i|_|p3i|_d|_d|_i|_dS(N( tnodetpositiontsizet varBindingst processorNsstNonet _cachedNsst_cachedNssNodetstringValueCache(tselfRRRRR((sC/opt/freeware/lib/python2.7/site-packages/_xmlplus/xpath/Context.pyt__init__s      cCs#dt|ƒ|j|j|jfS(Ns-(tidRRR(R ((sC/opt/freeware/lib/python2.7/site-packages/_xmlplus/xpath/Context.pyt__repr__$s  cCsX|jdks!|j|jkrQtjjj|jƒ}||_|j|_n|jS(N(RRRRtxmltdomtexttGetAllNs(R tnss((sC/opt/freeware/lib/python2.7/site-packages/_xmlplus/xpath/Context.pyR,s ! cCsdS(N((R ((sC/opt/freeware/lib/python2.7/site-packages/_xmlplus/xpath/Context.pytnext3scCs ||_dS(N(R(R R((sC/opt/freeware/lib/python2.7/site-packages/_xmlplus/xpath/Context.pyt setNamespaces6scCs |jjƒS(N(Rtcopy(R ((sC/opt/freeware/lib/python2.7/site-packages/_xmlplus/xpath/Context.pytcopyNamespaces9scCs ||_dS(N(R(R R((sC/opt/freeware/lib/python2.7/site-packages/_xmlplus/xpath/Context.pytsetVarBindings<scCs |jjƒS(N(RR(R ((sC/opt/freeware/lib/python2.7/site-packages/_xmlplus/xpath/Context.pytcopyVarBindings?scCs|j|j|jfS(N(RRR(R ((sC/opt/freeware/lib/python2.7/site-packages/_xmlplus/xpath/Context.pytcopyNodePosSizeCscCs.|\}}}||_||_||_dS(N(RRR(R t.1RtposR((sC/opt/freeware/lib/python2.7/site-packages/_xmlplus/xpath/Context.pytsetNodePosSizeFs   cCs&|jjƒ}|jjƒ|d<|S(NR(t__dict__RR(R tnewdict((sC/opt/freeware/lib/python2.7/site-packages/_xmlplus/xpath/Context.pyRKscCs ||_dS(N(R(R td((sC/opt/freeware/lib/python2.7/site-packages/_xmlplus/xpath/Context.pytsetPsN(t__name__t __module__t CoreFunctionst functionsRR R RRRRRRRRRR (((sC/opt/freeware/lib/python2.7/site-packages/_xmlplus/xpath/Context.pyRs            ((t__doc__t xml.dom.extRR#R(((sC/opt/freeware/lib/python2.7/site-packages/_xmlplus/xpath/Context.pyt s