/PHP-8.2/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-8.2/ext/xsl/tests/ |
H A D | bug70535.phpt | 4 xsl 10 …xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:template match=… 12 $xsl = new \DomDocument(); 13 $xsl->loadXML($xslInput); 15 $xslt->importStylesheet($xsl);
|
H A D | bug33853.phpt | 4 xsl 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 | throw_in_autoload.phpt | 4 xsl 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 | xsltprocessor_transformToDoc.phpt | 6 xsl 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 xsl 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 | php_function_edge_cases.phpt | 4 xsl 9 $xsl = new DomDocument(); 10 $xsl->loadXML('<?xml version="1.0" encoding="iso-8859-1" ?> 11 <xsl:stylesheet version="1.0" 12 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 13 xmlns:php="http://php.net/xsl"> 14 <xsl:template match="/"> 15 <xsl:value-of select="php:function(' . $input . ')" /> 16 </xsl:template> 17 </xsl:stylesheet>'); [all …]
|
H A D | xsltprocessor_transformToXML.phpt | 6 xsl 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 | 4 xsl 18 $xsl = <<<EOB 20 <xsl:stylesheet version="1.0" 22 xmlns:php="http://php.net/xsl"> 24 <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 | bug26384.phpt | 2 Bug #26384 (domxslt->process causes segfault with xsl:key) 4 xsl 13 $xsl = new domDocument; 14 $xsl->load(__DIR__."/area_list.xsl"); 15 if(!$xsl) { 25 $proc->importStylesheet($xsl);
|
H A D | xslt009.phpt | 5 xsl 11 $xsl = new domDocument; 12 $xsl->load(__DIR__."/documentxpath.xsl"); 13 if(!$xsl) { 18 $proc->importStylesheet($xsl);
|
H A D | xslt008-mb.phpt | 5 xsl 10 $xsl = new domDocument; 11 $xsl->load(__DIR__."/私はガラスを食べられますstreamsinclude.xsl"); 12 if(!$xsl) { 17 $proc->importStylesheet($xsl);
|
H A D | xslt008.phpt | 5 xsl 10 $xsl = new domDocument; 11 $xsl->load(__DIR__."/streamsinclude.xsl"); 12 if(!$xsl) { 17 $proc->importStylesheet($xsl);
|
H A D | xslt005.phpt | 4 xsl 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 | bug53965.phpt | 2 Bug #53965 (<xsl:include> cannot find files with relative paths when loaded with "file://") 4 xsl 13 $xsl = new DOMDocument(); 14 $xsl->load($base . DIRECTORY_SEPARATOR . 'collection.xsl'); 17 $proc->importStyleSheet($xsl);
|
H A D | xslt004.phpt | 4 xsl 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 | xslt002.phpt | 4 xsl 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 | xslt012.phpt | 4 xsl 16 $xsl = new domDocument; 17 $xsl->load(__DIR__."/xslt012.xsl"); 18 if(!$xsl) { 30 $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 | bug70078.phpt | 4 xsl 26 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:php="http://ph… 27 <xsl:template match="root"> 29 <xsl:for-each select="level1"> 31 <xsl:value-of select="php:function('testPhpFunction', .)" /> 33 </xsl:for-each> 35 </xsl:template> 36 </xsl:stylesheet> 39 $xsl = new \DOMDocument(); 40 $xsl->loadXML($xslStr); [all …]
|
/PHP-8.2/ext/xsl/ |
H A D | config.w32 | 3 ARG_WITH("xsl", "xsl support", "no"); 7 && ADD_EXTENSION_DEP('xsl', 'libxml') 8 && ADD_EXTENSION_DEP('xsl', 'dom') 14 if (CHECK_LIB("libxslt_a.lib", "xsl", PHP_XSL)) { 17 if (CHECK_LIB("libexslt_a.lib", "xsl", PHP_XSL)) { 21 } else if (CHECK_LIB("libxslt.lib", "xsl", PHP_XSL)) { 23 if (CHECK_LIB("libexslt.lib", "xsl", PHP_XSL)) { 34 EXTENSION("xsl", "php_xsl.c xsltprocessor.c", PHP_XSL_SHARED); 35 AC_DEFINE("HAVE_XSL", 1, "Define if xsl extension is enabled"); 45 WARNING("xsl not enabled; libraries and headers not found"); [all …]
|
H A D | config.m4 | 1 PHP_ARG_WITH([xsl], 3 [AS_HELP_STRING([--with-xsl], 29 PHP_NEW_EXTENSION(xsl, php_xsl.c xsltprocessor.c, $ext_shared) 31 PHP_ADD_EXTENSION_DEP(xsl, libxml) 32 PHP_ADD_EXTENSION_DEP(xsl, dom)
|
H A D | php_xsl.h | 83 PHP_MINIT_FUNCTION(xsl); 84 PHP_MSHUTDOWN_FUNCTION(xsl); 85 PHP_RINIT_FUNCTION(xsl); 86 PHP_RSHUTDOWN_FUNCTION(xsl); 87 PHP_MINFO_FUNCTION(xsl);
|
/PHP-8.2/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://". __DIR__. "/../../../ext/xsl/tests/xslt.xsl.gz", "rb");
|