Home
last modified time | relevance | path

Searched refs:xsl (Results 1 – 25 of 56) sorted by relevance

123

/PHP-5.4/ext/xsl/tests/53965/
H A Dcollection.xsl1 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> nsprefix
3 <xsl:include href="include.xsl"/>
5 <xsl:param name="owner" select="'Nicolas Eliaszewicz'"/>
6 <xsl:output method="html" encoding="iso-8859-1" indent="no"/>
7 <xsl:template match="collection">
8 Hey! Welcome to <xsl:value-of select="$owner"/>'s sweet CD collection!
9 <xsl:apply-templates/>
10 </xsl:template>
11 </xsl:stylesheet>
H A Dinclude.xsl1 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> nsprefix
2 <xsl:template match="cd">
3 <h1><xsl:value-of select="title"/></h1>
4 <h2>by <xsl:value-of select="artist"/> - <xsl:value-of select="year"/></h2>
6 </xsl:template>
7 </xsl:stylesheet>
/PHP-5.4/ext/xsl/tests/
H A Dbug33853.phpt4 <?php if (!extension_loaded('xsl')) die('skip xsl not loaded'); ?>
13 $xsl = new DomDocument();
14 $xsl->loadXML('<?xml version="1.0" encoding="iso-8859-1" ?>
15 <xsl:stylesheet version="1.0"
16 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
17 xmlns:php="http://php.net/xsl">
18 <xsl:template match="/">
19 <xsl:value-of select="php:function(\'TeSt::dateLang\')" />
20 </xsl:template>
21 </xsl:stylesheet>');
[all …]
H A Dbug26384.phpt2 Bug #26384 (domxslt->process causes segfault with xsl:key)
13 $xsl = new domDocument;
14 $xsl->load(dirname(__FILE__)."/area_list.xsl");
15 if(!$xsl) {
25 $proc->importStylesheet($xsl);
H A Dbug53965.phpt2 Bug #53965 (<xsl:include> cannot find files with relative paths when loaded with "file://")
5 if (!extension_loaded('xsl')) die("skip Extension XSL is required\n");
15 $xsl = new DOMDocument();
16 $xsl->load($base . DIRECTORY_SEPARATOR . 'collection.xsl');
19 $proc->importStyleSheet($xsl);
H A Dxslt009.phpt13 $xsl = new domDocument;
14 $xsl->load(dirname(__FILE__)."/documentxpath.xsl");
15 if(!$xsl) {
20 $proc->importStylesheet($xsl);
H A Dxslt004.phpt9 $xp = new domxpath($xsl);
10 $res = $xp->query("/xsl:stylesheet/xsl:output/@encoding");
12 print "No or more than one xsl:output/@encoding found";
16 $proc->importStylesheet($xsl);
H A Dxslt005.phpt9 $xp = new domxpath($xsl);
10 $res = $xp->query("/xsl:stylesheet/xsl:output/@indent");
12 print "No or more than one xsl:output/@indent found";
16 $proc->importStylesheet($xsl);
H A Dxslt008.phpt12 $xsl = new domDocument;
13 $xsl->load(dirname(__FILE__)."/streamsinclude.xsl");
14 if(!$xsl) {
19 $proc->importStylesheet($xsl);
H A Dxslt002.phpt10 $xp = new domxpath($xsl);
11 $res = $xp->query("/xsl:stylesheet/xsl:output/@method");
13 print "No or more than one xsl:output/@method found";
17 $proc->importStylesheet($xsl);
H A Dprepare.inc8 $xsl = new domDocument;
9 $xsl->load(dirname(__FILE__)."/xslt.xsl");
10 if(!$xsl) {
H A Dbug49634.phpt5 extension_loaded("xsl") or die("skip need ext/xsl");
19 <xsl:stylesheet version="1.0"
20 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
21 xmlns:ext="http://php.net/xsl"
22 xsl:extension-element-prefixes="ext"
24 <xsl:output encoding="UTF-8" indent="yes" method="xml" />
25 <xsl:template match="/">
26 <xsl:value-of select="ext:function('testFunction', document('$cDIR/bug49634.xml')/root)"/>
27 </xsl:template>
28 </xsl:stylesheet>
H A Dbug54446_with_ini.phpt5 if (!extension_loaded('xsl')) die("skip Extension XSL is required\n");
17 <xsl:stylesheet version="1.0"
18 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
22 <xsl:template match="/">
24 <xsl:value-of select="'0wn3d via PHP and libxslt ...'"/>
26 </xsl:template>
28 </xsl:stylesheet>
31 $xsl->loadXML( $sXsl );
34 $proc->importStylesheet( $xsl );
47 ini_set("xsl.security_prefs", XSL_SECPREF_NONE);
[all …]
H A Dxslt012.phpt16 $xsl = new domDocument;
17 $xsl->load(dirname(__FILE__)."/xslt012.xsl");
18 if(!$xsl) {
30 $proc->importStylesheet($xsl);
H A Dbug54446.phpt5 if (!extension_loaded('xsl')) die("skip Extension XSL is required\n");
17 <xsl:stylesheet version="1.0"
18 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
22 <xsl:template match="/">
24 <xsl:value-of select="'0wn3d via PHP and libxslt ...'"/>
26 </xsl:template>
28 </xsl:stylesheet>
31 $xsl->loadXML( $sXsl );
34 $proc->importStylesheet( $xsl );
H A Dxsltprocessor_registerPHPFunctions-funcnostring.phpt2 Check xsltprocessor::registerPHPFunctions and a non-string function in xsl
8 if (!extension_loaded('xsl')) {
16 $phpfuncxsl->load(dirname(__FILE__)."/phpfunc-nostring.xsl");
18 echo "Error while parsing the xsl document\n";
H A Dskipif.inc1 <?php if (!extension_loaded('xsl')) die('skip xsl extension not available');?>
H A Dxsltprocessor_registerPHPFunctions-array.phpt5 if (!extension_loaded('xsl')) {
13 $phpfuncxsl->load(dirname(__FILE__)."/phpfunc.xsl");
15 echo "Error while parsing the xsl document\n";
H A Dxsltprocessor_registerPHPFunctions-string.phpt5 if (!extension_loaded('xsl')) {
13 $phpfuncxsl->load(dirname(__FILE__)."/phpfunc.xsl");
15 echo "Error while parsing the xsl document\n";
H A Dxsltprocessor_registerPHPFunctions-allfuncs.phpt5 if (!extension_loaded('xsl')) {
13 $phpfuncxsl->load(dirname(__FILE__)."/phpfunc.xsl");
15 echo "Error while parsing the xsl document\n";
H A Dxsltprocessor_registerPHPFunctions-array-notallowed.phpt5 if (!extension_loaded('xsl')) {
13 $phpfuncxsl->load(dirname(__FILE__)."/phpfunc.xsl");
15 echo "Error while parsing the xsl document\n";
/PHP-5.4/ext/xsl/
H A Dconfig.w324 ARG_WITH("xsl", "xsl support", "no");
8 && ADD_EXTENSION_DEP('xsl', 'libxml')
9 && ADD_EXTENSION_DEP('xsl', 'dom')) {
13 if (CHECK_LIB("libxslt_a.lib", "xsl", PHP_XSL)) {
16 if (CHECK_LIB("libexslt_a.lib", "xsl", PHP_XSL)) {
20 } else if (CHECK_LIB("libxslt.lib", "xsl", PHP_XSL)) {
22 if (CHECK_LIB("libexslt.lib", "xsl", PHP_XSL)) {
33 EXTENSION("xsl", "php_xsl.c xsltprocessor.c", PHP_XSL_SHARED);
34 AC_DEFINE("HAVE_XSL", 1, "Define if xsl extension is enabled");
44 WARNING("xsl not enabled; libraries and headers not found");
[all …]
H A Dphp_xsl.h92 PHP_MINIT_FUNCTION(xsl);
93 PHP_MSHUTDOWN_FUNCTION(xsl);
94 PHP_RINIT_FUNCTION(xsl);
95 PHP_RSHUTDOWN_FUNCTION(xsl);
96 PHP_MINFO_FUNCTION(xsl);
H A Dphp_xsl.c58 PHP_MINIT(xsl),
59 PHP_MSHUTDOWN(xsl),
60 PHP_RINIT(xsl), /* Replace with NULL if there's nothing to do at request start */
61 PHP_RSHUTDOWN(xsl), /* Replace with NULL if there's nothing to do at request end */
62 PHP_MINFO(xsl),
71 ZEND_GET_MODULE(xsl) in ZEND_GET_MODULE() argument
154 PHP_MINIT_FUNCTION(xsl) in PHP_INI_END()
270 PHP_MSHUTDOWN_FUNCTION(xsl) in PHP_MSHUTDOWN_FUNCTION() argument
287 PHP_RINIT_FUNCTION(xsl) in PHP_RINIT_FUNCTION() argument
296 PHP_RSHUTDOWN_FUNCTION(xsl) in PHP_RSHUTDOWN_FUNCTION() argument
[all …]
/PHP-5.4/ext/zlib/tests/
H A Dcompress_zlib_wrapper.phpt12 $fp = fopen("compress.zlib://{$pfx}ext/xsl/tests/xslt.xsl.gz", "rb");
16 $fp = fopen("compress.zlib://". dirname(__FILE__). "/../../../ext/xsl/tests/xslt.xsl.gz", "rb");

Completed in 35 milliseconds

123