|
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/xslt/ |
Upload File : |
mō
Eėm>c @ s d Z d k l Z d k l Z d k l Z l Z l Z d e i f d YZ d e f d YZ
d e f d YZ d
S( s
Parse class to handle XSLT RelativePathPattern patterns
WWW: http://4suite.com/4XSLT e-mail: support@4suite.com
Copyright (c) 1999-2000 Fourthought Inc, USA. All Rights Reserved.
See http://4suite.com/COPYRIGHT for license and copyright information
( s Node( s ParsedToken( s
XsltExceptions Errors XPatternt RelativePathPatternc B s8 t Z d Z d Z d d Z d Z d Z RS( Nc C sA t i i | d | | _ | | _ | | _ | i i | _ d S( Nt RELATIVE_PATH_PATTERN(
t ParsedTokent __init__t selft opt _opt parentt _parentt stept _stept priority( R R R R ( ( tK /usr/lib/python2.4/site-packages/_xmlplus/xslt/ParsedRelativePathPattern.pyR s
c C s
| d f S( N( R t None( R ( ( R t getShortcut s t c C s; | t | GH| i i | d | i i | d d S( Ns ( t indentt strR R t pprintR
( R R ( ( R R s c C s# d | i i t | t | f S( Ns# <%s(RelativePathPattern) at %x: %s>( R t __class__t __name__t idt repr( R ( ( R t __str__# s c C s! t | i | i t | i S( N( R R R R R
( R ( ( R t __repr__) s ( R t
__module__R R R R R ( ( ( R R s
t RelativeParentPatternc B s t Z d Z d Z d Z RS( s8 RelativePathPattern: RelativePathPattern '/' StepPatternc C s t i | d | | d S( Nt /( R R R R R ( R R R ( ( R R . s c C se | i i | | oK | i t i j o
| i } n
| i } | o | i
i | | Sqa n d S( Ni ( R R
t matcht contextt nodet nodeTypet Nodet ATTRIBUTE_NODEt ownerElementt
parentNodeR ( R R R ( ( R R 1 s
( R R t __doc__R R ( ( ( R R , s t RelativeAncestorPatternc B s t Z d Z d Z d Z RS( s9 RelativePathPattern: RelativePathPattern '//' StepPatternc C s t i | d | | d S( Ns //( R R R R R ( R R R ( ( R R = s c C s} | i i | | oc | i t i j o
| i } n
| i } x7 | o+ | i
i | | o d Sn | i } qB Wn d S( Ni i ( R R
R R R R R R! R"