/php-src/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-src/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 | cloneDocument.phpt | 4 xsl 17 $xsl = new DOMDocument; 18 $xsl->loadXML(<<<XML 20 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:php="http://php.net/xsl" ver… 21 <xsl:template match="/root"> 22 <xsl:value-of select="php:function('test')"/> 23 <xsl:value-of select="//root/foo"/> 24 </xsl:template> 25 </xsl:stylesheet> 31 $xslt->importStylesheet($xsl); [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 | 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_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 | bug64137.phpt | 4 xsl 12 $xsl = new DOMDocument; 13 …xsl->loadXML('<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:… 16 $xslt->importStylesheet($xsl);
|
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 | xpath_callables.inc | 21 $xsl = new DomDocument(); 22 $xsl->loadXML('<?xml version="1.0" encoding="iso-8859-1" ?> 23 <xsl:stylesheet version="1.0" 24 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 25 xmlns:php="http://php.net/xsl"> 26 <xsl:template match="//a">' 27 …. implode('', array_map(fn($input) => '<xsl:value-of select="php:function(' . $input . ')" />', $i… 28 '</xsl:template> 29 </xsl:stylesheet>'); 32 $proc->importStylesheet($xsl);
|
H A D | special_operations_with_properties.phpt | 4 xsl 16 $xsl = new DOMDocument; 17 $xsl->loadXML(<<<XML 19 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:php="http://php.net/xsl" ver… 20 <xsl:template match="/root"> 22 <xsl:value-of select="//root/foo"/> 23 </xsl:template> 24 </xsl:stylesheet> 33 $xslt->importStylesheet($xsl); 43 $xslt->importStylesheet($xsl); [all …]
|
H A D | bug71571_b.phpt | 4 xsl 12 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 13 <xsl:template match="/"> 15 </xsl:template> 18 <xsl:param name="COUNT">1</xsl:param> 21 </xsl:call-template> 22 </xsl:template> 23 </xsl:stylesheet> 26 $xsl = new DOMDocument(); 27 $xsl->loadXML($myxsl); [all …]
|
H A D | bug69168.phpt | 4 xsl 10 $xsl = <<<EOB 12 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:php="http://ph… 13 <xsl:template match="allusers"> 14 <xsl:for-each select="user"> 15 <xsl:value-of select="php:function('getPath',uid)"/><br /> 16 </xsl:for-each> 17 </xsl:template> 18 </xsl:stylesheet> 29 $xslDoc->loadXML($xsl);
|
H A D | bug71571_a.phpt | 4 xsl 12 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 13 <xsl:template match="/"> 14 <xsl:call-template name="recurse"/> 15 </xsl:template> 17 <xsl:template name="recurse"> 19 </xsl:template> 20 </xsl:stylesheet> 23 $xsl = new DOMDocument(); 24 $xsl->loadXML($myxsl); [all …]
|
H A D | auto_registration_namespaces_new_dom.phpt | 5 xsl 14 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 15 xmlns:php="http://php.net/xsl" 18 <xsl:output method="text" omit-xml-declaration="yes" indent="no"/> 19 <xsl:template match="/root"> 20 <xsl:value-of select="php:function('strtoupper', string(./hello))"/> 21 <xsl:value-of select="test:reverse(string(./hello))"/> 22 </xsl:template> 23 </xsl:stylesheet>
|
H A D | XSLTProcessor_namespace_mapper_lifetime.phpt | 5 xsl 16 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 17 xmlns:php="http://php.net/xsl" 19 <xsl:output method="text" omit-xml-declaration="yes" indent="no"/> 20 <xsl:template match="/root"> 21 <xsl:value-of select="php:function('strtoupper', string(./hello))"/> 22 </xsl:template> 23 </xsl:stylesheet>
|
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 | xsltprocessor_exsl_registerPhpFunctionNs.phpt | 4 xsl 25 $xsl = <<<XML 27 <xsl:stylesheet version="1.0" 28 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 31 <xsl:output method="text"/> 32 <xsl:template match="date"><xsl:value-of select="date:year(@date)"/></xsl:template> 33 </xsl:stylesheet> 42 $xsldoc->loadXML($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);
|
/php-src/ext/xsl/tests/xinclude/ |
H A D | xinclude.phpt | 4 xsl 14 $xsl = new DOMDocument; 15 $xsl->loadXML(<<<XML 17 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> 18 <xsl:template match="/root"> 20 <xsl:value-of select="document('data.xml')/data/content"/> 22 </xsl:template> 23 </xsl:stylesheet> 28 $xslt->importStylesheet($xsl); 33 $xslt->importStylesheet($xsl);
|
/php-src/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 to 1 if the PHP extension 'xsl' is available."); 45 WARNING("xsl not enabled; libraries and headers not found"); [all …]
|