xref: /php-src/ext/xsl/tests/xslt003.phpt (revision f39b5c4c)
1--TEST--
2Test 3: Using Parameters
3--EXTENSIONS--
4xsl
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--EXPECT--
16Test 3: Using Parameters
17<?xml version="1.0" encoding="iso-8859-1"?>
18<html><body>hello world
19a1 b1 c1 <br/>
20a2 c2 <br/>
21�3 b3 c3 <br/>
22</body></html>
23