|
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ò
Dìm>c @ s{ d Z d k l Z d k Z d k Z d k Z d k l Z l Z d k l
Z
l Z d k l Z d e f d „ ƒ YZ
d S( sı
Implementation of the XSLT Spec if instruction
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 EMPTY_NAMESPACEN( s XsltElements
XSL_NAMESPACE( s
CoreFunctionss Conversions( s XPathParsert IfElementc B sY t Z d Z e i i d d d d „ Z d „ Z d d „ Z d „ Z d
„ Z
d „ Z RS(
Nt testt ift xslt c C s t i | | | | | | ƒ d S( N( t XsltElementt __init__t selft doct urit localNamet prefixt baseUri( R R R R
R R ( ( t; /usr/lib/python2.4/site-packages/_xmlplus/xslt/IfElement.pyR s c C sà t i ƒ } | i t d ƒ | i d <t i i i | ƒ | i d <| i
| i ƒ | i d <g | i d <xr | i D]g } | i t j o7 | i d d d g j o | i d i d | f ƒ qq | i d i d
| f ƒ qq Wd S( NR t _testt _nsst _exprt _elementss
call-templateR t choosei i ( t XPathParsert parserR t getAttributeNSt EMPTY_NAMESPACEt __dict__t xmlt domt extt GetAllNst parseExpressionR t
childNodest childt namespaceURIt
XSL_NAMESPACER
t append( R R R ( ( R
t setup s
)i c
C s» | i ƒ } | i | i ƒ d } | i i | ƒ } t i | ƒ } | oZ xW | i D]H \ } } | o | i | | | ƒ \ } } qT | i | | ƒ d } qT Wn | i | ƒ | | f S( Ni ( t contextt copyt origStatet
setNamespacesR R t Nonet rec_tpl_paramsR t evaluatet resultt Conversionst BooleanValueR R t recurseR t instantiatet processort new_levelt set(
R R# R/ R0 R- R R* R R( R% ( ( R
R. + s
c C s d | i | i | i | i f S( N( R' R R R
R R ( R ( ( R
t __getinitargs__<