Source for file example4.php
Documentation is available at example4.php
* XML_Beautifier example 4
* This example displays the 'normalizeComments'
* option. If it is set to true, multiline comments will
* be replaced by a single line comment.
* @author Stephan Schmidt <schst@php.net>
require_once 'XML/Beautifier.php';
"normalizeComments" => true ,
$result = $fmt->formatFile ('test.xml', 'test2.xml');
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.
|