Source for file example1.php
Documentation is available at example1.php
* XML_Beautifier example 1
* This example displays the basic usage.
* @author Stephan Schmidt <schst@php.net>
require_once 'XML/Beautifier.php';
$result = $fmt->formatFile ('test.xml', 'test2.xml');
if (PEAR ::isError ($result)) {
echo $result->getMessage ();
echo "<h3>Original file</h3>";
echo "<h3>Beautified file</h3>";
Documentation generated on Mon, 11 Mar 2019 15:41:39 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|