|
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ò
Gìm>c @ s d Z d k l Z d k Z d k Z d k Z d k l Z 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
XsltExceptions Error( s
CoreFunctionss Conversions( s XPathParsert WhenElementc 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 whent 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/WhenElement.pyR s c C s{ | i t d ƒ | i d <| i p t t i ƒ ‚ n t i i
i | ƒ | i d <t i ƒ } | i | i ƒ | i d <d S( NR t _testt _nsst _expr( R t getAttributeNSt EMPTY_NAMESPACEt __dict__R t
XsltExceptiont Errort WHEN_MISSING_TESTt xmlt domt extt GetAllNst XPathParsert parsert parseExpression( R R ( ( R
t setup s
i c C sì | i ƒ } | i | i ƒ d } | i i | ƒ } t i | ƒ } t | ƒ o| xy | i D]j } | i t i i j o8 | i d d d g j o | i | | | ƒ \ } } qZ | i | | ƒ d } qZ Wn | i | ƒ | t | ƒ | f S( Ns
call-templatet ift choosei ( t contextt copyNamespacest origStatet
setNamespacesR R t Nonet rec_tpl_paramsR t evaluatet resultt Conversionst BooleanValueR t intt
childNodest childt namespaceURIR t xsltt
XSL_NAMESPACER
t instantiatet processort new_level( R R! R2 R3 R R( R- R&