Annotation of embedaddon/php/ext/xsl/tests/xslt003.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Test 3: Using Parameters
3: --SKIPIF--
4: <?php require_once dirname(__FILE__) .'/skipif.inc'; ?>
5: --FILE--
6: <?php
7: echo "Test 3: Using Parameters";
8: include("prepare.inc");
9: $proc->importStylesheet($xsl);
10: $proc->setParameter( "", "foo","hello world");
11: print "\n";
12: print $proc->transformToXml($dom);
13: print "\n";
14:
15:
16: --EXPECT--
17: Test 3: Using Parameters
18: <?xml version="1.0" encoding="iso-8859-1"?>
19: <html><body>hello world
20: a1 b1 c1 <br/>
21: a2 c2 <br/>
22: ä3 b3 c3 <br/>
23: </body></html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>