File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / xsl / tests / xslt011.xsl
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:48:05 2012 UTC (12 years, 4 months ago) by misho
Branches: php, MAIN
CVS tags: v5_4_3elwix, v5_4_29p0, v5_4_29, v5_4_20p0, v5_4_20, v5_4_17p0, v5_4_17, v5_3_10, HEAD
php

    1: <?xml version='1.0'?>
    2: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    3: 		xmlns:php="http://php.net/xsl"
    4: 		xsl:extension-element-prefixes="php"
    5:                 version='1.0'>
    6: <xsl:template match="/">
    7: <xsl:value-of select="php:functionString('foobar', /doc/@id, 'secondArg')"/>
    8: <xsl:text>
    9: </xsl:text>
   10: <xsl:value-of select="php:function('foobar', /doc/@id)"/>
   11: <xsl:text>
   12: </xsl:text>
   13: <xsl:value-of select="php:function('nodeSet')"/>
   14: <xsl:text>
   15: </xsl:text>
   16: <xsl:value-of select="php:function('nodeSet',/doc)/i"/>
   17: <xsl:text>
   18: </xsl:text>
   19: <xsl:value-of select="php:function('aClass::aStaticFunction','static')"/>
   20: <xsl:text>
   21: </xsl:text>
   22: 
   23: <xsl:value-of select="php:function('nonDomNode')"/>
   24: </xsl:template>
   25: </xsl:stylesheet>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>