Source for file example5.php
Documentation is available at example5.php
* XML_Beautifier example 5
* This example displays the 'maxCommentLine'
* option. It will split long comments into seperate lines
* with a maximum length of 'maxCommentLine'.
* For the best results, you should always use this in
* conjunction with normalizeComments.
* @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.
|