MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /proc/self/root/usr/lib/python2.4/site-packages/_xmlplus/xpath/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/lib/python2.4/site-packages/_xmlplus/xpath/ParsedAxisSpecifier.pyo
mò
Õ«Ac@sdZdklZdklZdklZdklZdklZdkl	Z	dk
Z
d„Zd	fd
„ƒYZdefd„ƒYZ
d
efd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd „ƒYZd!efd"„ƒYZd#efd$„ƒYZhd%e
<d&e<d'e<d(e<d)e<d*e<d+e<d,e<d-e<d.e<d/e<d0e<d1e<ZdS(2s
A Parsed token that represents an acis specifier on the parsed tree.
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
(sNode(sg_xpathRecognizedNodes(sNAMESPACE_NODE(sUtil(s
NamespaceNode(sGetAllNsNcCs<yt||ƒSWn#tj
otd|ƒ‚nXdS(NsInvalid axis: %s(t
g_classMaptaxistKeyErrortSyntaxError(R((tF/usr/lib/python2.4/site-packages/_xmlplus/xpath/ParsedAxisSpecifier.pytParsedAxisSpecifierst
AxisSpecifiercBsJtZeiZd„Zd„Zd„Zdd„Zd„Z	d„Z
RS(NcCs
||_dS(N(Rtselft_axis(RR((Rt__init__#scCs
gdfS(sT
        Always returns a tuple of node-set and 0 if forward, 1 if reverse.
        iN((RtcontexttnodeTest((Rtselect&scCsix\|iD]Q}||||iƒo|i|ƒn|io|i	||||ƒq
q
W|dfS(s3Select all of the descendants from the context nodeiN(
tnodet
childNodestchildRR
Rt
principalTypetnodeSettappendtdescendants(RR
RR
RR((RR,s

tcCs|t|ƒGHdS(N(tindenttstrR(RR((Rtpprint5scCsdt|ƒt|ƒfS(Ns<AxisSpecifier at %x: %s>(tidRtrepr(R((Rt__str__8scCs|iS(s"Always displays verbose expressionN(RR(R((Rt__repr__;s(t__name__t
__module__tNodetELEMENT_NODERR	RRRRR(((RRs						tParsedAncestorAxisSpecifiercBstZd„ZRS(NcCsˆg}|iitijo
|iip
|ii}x<|o4||||iƒo|i|ƒn|i}q8W|i
ƒ|dfS(s.Select all of the ancestors including the rootiN(RR
R
tnodeTypeRtATTRIBUTE_NODEtownerElementt
parentNodetparentRRRRtreverse(RR
RR%R((RRAs/
(RRR(((RR @st!ParsedAncestorOrSelfAxisSpecifiercBstZd„ZRS(NcCs«|i}||||iƒo
|g}ng}|itijo
|i	p|i
}x<|o4||||iƒo|i|ƒn|i
}q[W|i
ƒ|dfS(s@Select all of the ancestors including ourselves through the rootiN(R
R
RRRRR!RR"R#R$R%RR&(RR
RR
R%R((RROs	
&
(RRR(((RR'NstParsedAttributeAxisSpecifiercBstZeiZd„ZRS(NcCsH|ii}t|||id„|o
|iƒpgƒ}|dfS(s2Select all of the attributes from the context nodecCs||||ƒS(N(ttestR
tattrtpt(R*R)R
R+((Rt<lambda>gsiN(
R
R
t
attributestattrstfilterRRRtvaluestrt(RR
RR1R.((RRds
(RRRR"RR(((RR(`s	tParsedChildAxisSpecifiercBstZd„ZRS(NcCs4t|||id„t|iiƒƒ}|dfS(s.Select all of the children of the context nodecCs||||ƒS(N(R)R
R
R+(R
R)R
R+((RR,psiN(	R/RR
RRtlistR
RR1(RR
RR1((RRns(RRR(((RR2mst#ParsedDescendantOrSelfAxisSpecifiercBstZd„ZRS(NcCsR|||i|iƒo|ig}ng}|i|||i|ƒ|dfS(s2Select the context node and all of its descendantsiN(RR
R
RRRR(RR
RR((RRws(RRR(((RR4vstParsedDescendantAxisSpecifiercBstZd„ZRS(NcCs)g}|i|||i|ƒ|dfS(Ni(RRRR
RR
(RR
RR((RR‚s(RRR(((RR5st#ParsedFollowingSiblingAxisSpecifiercBstZd„ZRS(NcCs[g}|ii}x<|o4||||iƒo|i|ƒn|i}qW|dfS(s7Select all of the siblings that follow the context nodeiN(	tresultR
R
tnextSiblingtsiblingRRRR(RR
RR9R7((RR‰s(RRR(((RR6ˆstParsedFollowingAxisSpecifiercBstZd„ZRS(NcCsÂg}|i}x¦||iip|ijoˆ|i}xR|oJ||||i	ƒo|i
|ƒn|i||||ƒ|i}q;W|it
ijo
|ip|i}qW|dfS(si
        Select all of the nodes the follow the context node,
        not including descendants.
        iN(R7R
R
tcurrt
ownerDocumentR8R9RRRRRR!RR"R#R$(RR
RR;R9R7((RR•s		+(RRR(((RR:”stParsedNamespaceAxisSpecifiercBstZeZd„ZRS(NcCsª|iitijogdfSng}t|iƒ}xd|iƒD]V}t
i
||||iip|iƒ}||||iƒo|i|ƒqFqFW|dfS(s-Select all of the namespaces from the contextiN(R
R
R!RRR7tGetAllNstnsstkeystprefixt
NamespaceNodeR<tnsNodeRRRR(RR
RRCRAR7R?((RR¬s
(RRtNAMESPACE_NODERR(((RR=¨stParsedParentAxisSpecifiercBstZd„ZRS(NcCsi|iitijo
|iip
|ii}|o#||||i
ƒo
|g}ng}|dfS(s%Select the parent of the context nodeiN(R
R
R!RR"R#R$R%RRRR7(RR
RR%R7((RR¾s/
(RRR(((RRE½st#ParsedPrecedingSiblingAxisSpecifiercBstZd„ZRS(NcCseg}|ii}x<|o4||||iƒo|i|ƒn|i}qW|i	ƒ|dfS(s8Select all of the siblings that precede the context nodeiN(
R7R
R
tpreviousSiblingR9RRRRR&(RR
RR9R7((RRÊs
(RRR(((RRFÉstParsedPrecedingAxisSpecifiercBstZd„ZRS(NcCs÷g}|i}xŸ|o—|i}xa|oYg}||||i	ƒo
|g}n|i
||||ƒ|i|ƒ|i}q%W|it
ijo
|ip|i}qWg}x3tdt|ƒdƒD]}|i||ƒqÑW|dfS(sMSelect all of the nodes the precede the context node, not including ancestorsiN(tdoc_listR
R
R;RGtsibR7RRRRRR!RR"R#R$trangetlentitextend(RR
RRIR;RMRJR7((RRØs(		

+(RRR(((RRH×stParsedSelfAxisSpecifiercBstZd„ZRS(NcCs7|||i|iƒo|igdfSngdfS(sSelect the context nodeiN(RR
R
RR(RR
R((RRñs(RRR(((RROðstancestorsancestor-or-selfRR%t
descendantsdescendant-or-selft	attributet	followingsfollowing-siblingt	precedingspreceding-siblingt	namespaceR(t__doc__txml.domRt	xml.xpathtg_xpathRecognizedNodesRDtUtilRBtxml.dom.extR>tstringRRR R'R(R2R4R5R6R:R=RERFRHROR(R=R:RDRHRRZRFR R6RER>R\RBR5R2R(RRYR'RROR4R((Rt?s.





		!
	

Anon7 - 2021