xref: /php-src/ext/xsl/tests/xslt001.phpt (revision f39b5c4c)
1--TEST--
2Test 1: Transform To XML String
3--EXTENSIONS--
4xsl
5--FILE--
6<?php
7echo "Test 1: Transform To XML String";
8include("prepare.inc");
9$proc->importStylesheet($xsl);
10print "\n";
11print $proc->transformToXml($dom);
12print "\n";
13?>
14--EXPECT--
15Test 1: Transform To XML String
16<?xml version="1.0" encoding="iso-8859-1"?>
17<html><body>bar
18a1 b1 c1 <br/>
19a2 c2 <br/>
20�3 b3 c3 <br/>
21</body></html>
22