|
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ò
Bìm>c @ sd d Z d k Z d k Z d k l Z l Z d k l Z l Z e i d Z
d f d YZ d S( sù
Implementation of AVTs from the XSLT Spec.
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
N( s
XsltExceptions Error( s XPathParsers Conversionss ([\{\}])t AttributeValueTemplatec B sJ t Z d d Z d Z d Z d Z d Z d Z d Z RS( Ni c C s4 | | _ | o g | _ g | _ | i n d S( N( t sourcet selft reparset _plainPartst _parsedPartst _parse( R R R ( ( tH /usr/lib/python2.4/site-packages/_xmlplus/xslt/AttributeValueTemplate.pyt __init__ s
c C sØ t i } d } d } d } t i t | i } d } xnt t
| D]Z} | | } | o | d } qL n | d d g j o y | | d | | d } Wn t j
o
d } n X| | j o) | o | | } n | | } d } qŠ| d j o: | o | i i | d } d } qt t i qŠ| p/ | i | }
| i i |
d } d } qŠt t i qL | o | | } qL | | } qL W| o | i i | n t t i d S( Nt i i t {t }i ( t XPathParsert parsert curr_plain_partt curr_template_partt
in_plain_partt ret splitt g_braceSplitPatternR R t
split_formt skip_flagt ranget lent it segmentt nextt
IndexErrort NoneR t appendt
XsltExceptiont Errort
AVT_SYNTAXt parseExpressiont parsedR ( R R R R R
R R R R R R"