Source for file example3.php
Documentation is available at example3.php
* XML_Beautifier example 3
* This example displays the 'caseFolding'
* option. It can be used to convert all tags
* and attribute names to upper case or lower
* case. Use the 'caseFoldingTo' options to
* @author Stephan Schmidt <schst@php.net>
require_once 'XML/Beautifier.php';
"caseFoldingTo" => "uppercase"
$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.
|