/PHP-5.4/ext/xsl/tests/53965/ |
H A D | collection.xsl | 1 <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 D | include.xsl | 1 <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 D | bug33853.phpt | 4 <?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 D | bug26384.phpt | 2 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 D | bug53965.phpt | 2 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 D | xslt009.phpt | 13 $xsl = new domDocument; 14 $xsl->load(dirname(__FILE__)."/documentxpath.xsl"); 15 if(!$xsl) { 20 $proc->importStylesheet($xsl);
|
H A D | xslt004.phpt | 9 $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 D | xslt005.phpt | 9 $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 D | xslt008.phpt | 12 $xsl = new domDocument; 13 $xsl->load(dirname(__FILE__)."/streamsinclude.xsl"); 14 if(!$xsl) { 19 $proc->importStylesheet($xsl);
|
H A D | xslt002.phpt | 10 $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 D | prepare.inc | 8 $xsl = new domDocument; 9 $xsl->load(dirname(__FILE__)."/xslt.xsl"); 10 if(!$xsl) {
|
H A D | bug49634.phpt | 5 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 D | bug54446_with_ini.phpt | 5 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 D | xslt012.phpt | 16 $xsl = new domDocument; 17 $xsl->load(dirname(__FILE__)."/xslt012.xsl"); 18 if(!$xsl) { 30 $proc->importStylesheet($xsl);
|
H A D | bug54446.phpt | 5 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 D | xsltprocessor_registerPHPFunctions-funcnostring.phpt | 2 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 D | skipif.inc | 1 <?php if (!extension_loaded('xsl')) die('skip xsl extension not available');?>
|
H A D | xsltprocessor_registerPHPFunctions-array.phpt | 5 if (!extension_loaded('xsl')) { 13 $phpfuncxsl->load(dirname(__FILE__)."/phpfunc.xsl"); 15 echo "Error while parsing the xsl document\n";
|
H A D | xsltprocessor_registerPHPFunctions-string.phpt | 5 if (!extension_loaded('xsl')) { 13 $phpfuncxsl->load(dirname(__FILE__)."/phpfunc.xsl"); 15 echo "Error while parsing the xsl document\n";
|
H A D | xsltprocessor_registerPHPFunctions-allfuncs.phpt | 5 if (!extension_loaded('xsl')) { 13 $phpfuncxsl->load(dirname(__FILE__)."/phpfunc.xsl"); 15 echo "Error while parsing the xsl document\n";
|
H A D | xsltprocessor_registerPHPFunctions-array-notallowed.phpt | 5 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 D | config.w32 | 4 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 D | php_xsl.h | 92 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 D | php_xsl.c | 58 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 D | compress_zlib_wrapper.phpt | 12 $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");
|