Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
site-packages
/
_xmlplus
/
xslt
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/site-packages/_xmlplus/xslt/IfElement.pyc
mò xùžNc @ 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__<