/PHP-7.1/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-7.1/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 | bug70535.phpt | 5 if (!extension_loaded('xsl')) die("skip Extension XSL is required"); 12 …xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:template match=… 14 $xsl = new \DomDocument(); 15 $xsl->loadXML($xslInput); 17 $xslt->importStylesheet($xsl);
|
H A D | xsltprocessor_transformToDoc.phpt | 6 <?php extension_loaded('xsl') or die('skip xsl extension is not available'); ?> 16 $xsl = <<<EOB 18 <xsl:stylesheet version="1.0" 20 xmlns:php="http://php.net/xsl"> 22 <xsl:template match="allusers"> 26 <xsl:for-each select="user"> 28 <xsl:value-of 31 </xsl:for-each> 34 </xsl:template> 35 </xsl:stylesheet> [all …]
|
H A D | xsltprocessor_transformToURI.phpt | 6 <?php extension_loaded('xsl') or die('skip xsl extension is not available'); ?> 19 $xsl = <<<EOB 21 <xsl:stylesheet version="1.0" 23 xmlns:php="http://php.net/xsl"> 25 <xsl:template match="allusers"> 28 <xsl:for-each select="user"> 30 <xsl:value-of 33 </xsl:for-each> 36 </xsl:template> 37 </xsl:stylesheet> [all …]
|
H A D | xsltprocessor_transformToXML.phpt | 6 <?php extension_loaded('xsl') or die('skip xsl extension is not available'); ?> 19 $xsl = <<<EOB 21 <xsl:stylesheet version="1.0" 23 xmlns:php="http://php.net/xsl"> 25 <xsl:template match="allusers"> 29 <xsl:for-each select="user"> 31 <xsl:value-of 34 </xsl:for-each> 37 </xsl:template> 38 </xsl:stylesheet> [all …]
|
H A D | xsltprocessor_transformToDoc_nullparam.phpt | 6 <?php extension_loaded('xsl') or die('skip xsl extension is not available'); ?> 19 $xsl = <<<EOB 21 <xsl:stylesheet version="1.0" 23 xmlns:php="http://php.net/xsl"> 25 <xsl:template match="allusers"> 29 <xsl:for-each select="user"> 31 <xsl:value-of 34 </xsl:for-each> 37 </xsl:template> 38 </xsl:stylesheet> [all …]
|
H A D | xsltprocessor_transformToDoc_wrongparam_001.phpt | 6 <?php extension_loaded('xsl') or die('skip xsl extension is not available'); ?> 19 $xsl = <<<EOB 21 <xsl:stylesheet version="1.0" 23 xmlns:php="http://php.net/xsl"> 25 <xsl:template match="allusers"> 29 <xsl:for-each select="user"> 31 <xsl:value-of 34 </xsl:for-each> 37 </xsl:template> 38 </xsl:stylesheet> [all …]
|
H A D | xsltprocessor_transformToDoc_wrongparam_003.phpt | 6 <?php extension_loaded('xsl') or die('skip xsl extension is not available'); ?> 19 $xsl = <<<EOB 21 <xsl:stylesheet version="1.0" 23 xmlns:php="http://php.net/xsl"> 25 <xsl:template match="allusers"> 29 <xsl:for-each select="user"> 31 <xsl:value-of 34 </xsl:for-each> 37 </xsl:template> 38 </xsl:stylesheet> [all …]
|
H A D | xsltprocessor_transformToURI_wrongparam_002.phpt | 6 <?php extension_loaded('xsl') or die('skip xsl extension is not available'); ?> 19 $xsl = <<<EOB 21 <xsl:stylesheet version="1.0" 23 xmlns:php="http://php.net/xsl"> 25 <xsl:template match="allusers"> 29 <xsl:for-each select="user"> 31 <xsl:value-of 34 </xsl:for-each> 37 </xsl:template> 38 </xsl:stylesheet> [all …]
|
H A D | xsltprocessor_transformToXML_wrongparam_002.phpt | 6 <?php extension_loaded('xsl') or die('skip xsl extension is not available'); ?> 19 $xsl = <<<EOB 21 <xsl:stylesheet version="1.0" 23 xmlns:php="http://php.net/xsl"> 25 <xsl:template match="allusers"> 29 <xsl:for-each select="user"> 31 <xsl:value-of 34 </xsl:for-each> 37 </xsl:template> 38 </xsl:stylesheet> [all …]
|
H A D | xsltprocessor_transformToXML_wrongparam_003.phpt | 6 <?php extension_loaded('xsl') or die('skip xsl extension is not available'); ?> 19 $xsl = <<<EOB 21 <xsl:stylesheet version="1.0" 23 xmlns:php="http://php.net/xsl"> 25 <xsl:template match="allusers"> 29 <xsl:for-each select="user"> 31 <xsl:value-of 34 </xsl:for-each> 37 </xsl:template> 38 </xsl:stylesheet> [all …]
|
H A D | xsltprocessor_transformToDoc_wrongparam_002.phpt | 6 <?php extension_loaded('xsl') or die('skip xsl extension is not available'); ?> 19 $xsl = <<<EOB 21 <xsl:stylesheet version="1.0" 23 xmlns:php="http://php.net/xsl"> 25 <xsl:template match="allusers"> 29 <xsl:for-each select="user"> 31 <xsl:value-of 34 </xsl:for-each> 37 </xsl:template> 38 </xsl:stylesheet> [all …]
|
H A D | xsltprocessor_transformToDoc_wrongparam_004.phpt | 6 <?php extension_loaded('xsl') or die('skip xsl extension is not available'); ?> 19 $xsl = <<<EOB 21 <xsl:stylesheet version="1.0" 23 xmlns:php="http://php.net/xsl"> 25 <xsl:template match="allusers"> 29 <xsl:for-each select="user"> 31 <xsl:value-of 34 </xsl:for-each> 37 </xsl:template> 38 </xsl:stylesheet> [all …]
|
H A D | xsltprocessor_transformToURI_nullparam.phpt | 6 <?php extension_loaded('xsl') or die('skip xsl extension is not available'); ?> 19 $xsl = <<<EOB 21 <xsl:stylesheet version="1.0" 23 xmlns:php="http://php.net/xsl"> 25 <xsl:template match="allusers"> 29 <xsl:for-each select="user"> 31 <xsl:value-of 34 </xsl:for-each> 37 </xsl:template> 38 </xsl:stylesheet> [all …]
|
H A D | xsltprocessor_transformToURI_wrongparam_001.phpt | 6 <?php extension_loaded('xsl') or die('skip xsl extension is not available'); ?> 19 $xsl = <<<EOB 21 <xsl:stylesheet version="1.0" 23 xmlns:php="http://php.net/xsl"> 25 <xsl:template match="allusers"> 29 <xsl:for-each select="user"> 31 <xsl:value-of 34 </xsl:for-each> 37 </xsl:template> 38 </xsl:stylesheet> [all …]
|
H A D | xsltprocessor_transformToURI_wrongparam_003.phpt | 6 <?php extension_loaded('xsl') or die('skip xsl extension is not available'); ?> 19 $xsl = <<<EOB 21 <xsl:stylesheet version="1.0" 23 xmlns:php="http://php.net/xsl"> 25 <xsl:template match="allusers"> 29 <xsl:for-each select="user"> 31 <xsl:value-of 34 </xsl:for-each> 37 </xsl:template> 38 </xsl:stylesheet> [all …]
|
H A D | xsltprocessor_transformToURI_wrongparam_004.phpt | 6 <?php extension_loaded('xsl') or die('skip xsl extension is not available'); ?> 19 $xsl = <<<EOB 21 <xsl:stylesheet version="1.0" 23 xmlns:php="http://php.net/xsl"> 25 <xsl:template match="allusers"> 29 <xsl:for-each select="user"> 31 <xsl:value-of 34 </xsl:for-each> 37 </xsl:template> 38 </xsl:stylesheet> [all …]
|
H A D | xsltprocessor_transformToXML_nullparam.phpt | 6 <?php extension_loaded('xsl') or die('skip xsl extension is not available'); ?> 19 $xsl = <<<EOB 21 <xsl:stylesheet version="1.0" 23 xmlns:php="http://php.net/xsl"> 25 <xsl:template match="allusers"> 29 <xsl:for-each select="user"> 31 <xsl:value-of 34 </xsl:for-each> 37 </xsl:template> 38 </xsl:stylesheet> [all …]
|
H A D | xsltprocessor_transformToXML_wrongparam_001.phpt | 6 <?php extension_loaded('xsl') or die('skip xsl extension is not available'); ?> 19 $xsl = <<<EOB 21 <xsl:stylesheet version="1.0" 23 xmlns:php="http://php.net/xsl"> 25 <xsl:template match="allusers"> 29 <xsl:for-each select="user"> 31 <xsl:value-of 34 </xsl:for-each> 37 </xsl:template> 38 </xsl:stylesheet> [all …]
|
H A D | xsltprocessor_transformToXML_wrongparam_004.phpt | 6 <?php extension_loaded('xsl') or die('skip xsl extension is not available'); ?> 19 $xsl = <<<EOB 21 <xsl:stylesheet version="1.0" 23 xmlns:php="http://php.net/xsl"> 25 <xsl:template match="allusers"> 29 <xsl:for-each select="user"> 31 <xsl:value-of 34 </xsl:for-each> 37 </xsl:template> 38 </xsl:stylesheet> [all …]
|
H A D | bug71540.phpt | 17 $xsl = <<<EOB 19 <xsl:stylesheet version="1.0" 21 xmlns:php="http://php.net/xsl"> 23 <xsl:template match="allusers"> 27 <xsl:for-each select="user"> 29 <xsl:value-of 32 </xsl:for-each> 35 </xsl:template> 36 </xsl:stylesheet> 42 $xsldoc->loadXML($xsl); [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);
|
/PHP-7.1/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') 15 if (CHECK_LIB("libxslt_a.lib", "xsl", PHP_XSL)) { 18 if (CHECK_LIB("libexslt_a.lib", "xsl", PHP_XSL)) { 22 } else if (CHECK_LIB("libxslt.lib", "xsl", PHP_XSL)) { 24 if (CHECK_LIB("libexslt.lib", "xsl", PHP_XSL)) { 35 EXTENSION("xsl", "php_xsl.c xsltprocessor.c", PHP_XSL_SHARED); 36 AC_DEFINE("HAVE_XSL", 1, "Define if xsl extension is enabled"); 46 WARNING("xsl not enabled; libraries and headers not found"); [all …]
|