Home
last modified time | relevance | path

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

123

/PHP-7.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-7.4/ext/xsl/tests/
H A Dbug33853.phpt5 if (!extension_loaded('xsl')) die('skip xsl not loaded');
16 $xsl = new DomDocument();
17 $xsl->loadXML('<?xml version="1.0" encoding="iso-8859-1" ?>
18 <xsl:stylesheet version="1.0"
19 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
20 xmlns:php="http://php.net/xsl">
21 <xsl:template match="/">
22 <xsl:value-of select="php:function(\'TeSt::dateLang\')" />
23 </xsl:template>
24 </xsl:stylesheet>');
[all …]
H A Dbug70535.phpt5 if (!extension_loaded('xsl')) die("skip Extension XSL is required");
12xsl: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 Dxsltprocessor_transformToDoc.phpt6 <?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 Dxsltprocessor_transformToURI.phpt6 <?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 Dxsltprocessor_transformToXML.phpt6 <?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 Dbug71540.phpt17 $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 Dbug26384.phpt2 Bug #26384 (domxslt->process causes segfault with xsl:key)
13 $xsl = new domDocument;
14 $xsl->load(__DIR__."/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(__DIR__."/documentxpath.xsl");
15 if(!$xsl) {
20 $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-mb.phpt12 $xsl = new domDocument;
13 $xsl->load(__DIR__."/私はガラスを食べられますstreamsinclude.xsl");
14 if(!$xsl) {
19 $proc->importStylesheet($xsl);
H A Dxslt008.phpt12 $xsl = new domDocument;
13 $xsl->load(__DIR__."/streamsinclude.xsl");
14 if(!$xsl) {
19 $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 Dprepare.inc8 $xsl = new domDocument;
9 $xsl->load(dirname(__FILE__)."/xslt.xsl");
10 if(!$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 Dbug70078.phpt5 if (!extension_loaded('xsl')) die('skip xsl extension not available');
28 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:php="http://ph…
29 <xsl:template match="root">
31 <xsl:for-each select="level1">
33 <xsl:value-of select="php:function('testPhpFunction', .)" />
35 </xsl:for-each>
37 </xsl:template>
38 </xsl:stylesheet>
41 $xsl = new \DOMDocument();
42 $xsl->loadXML($xslStr);
[all …]
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 Dxslt012.phpt16 $xsl = new domDocument;
17 $xsl->load(__DIR__."/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 );
/PHP-7.4/ext/xsl/
H A Dconfig.w323 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 Dphp_xsl.h99 PHP_MINIT_FUNCTION(xsl);
100 PHP_MSHUTDOWN_FUNCTION(xsl);
101 PHP_RINIT_FUNCTION(xsl);
102 PHP_RSHUTDOWN_FUNCTION(xsl);
103 PHP_MINFO_FUNCTION(xsl);
H A Dconfig.m41 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)
/PHP-7.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://". __DIR__. "/../../../ext/xsl/tests/xslt.xsl.gz", "rb");

Completed in 90 milliseconds

123