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