JavaScript Editor Javascript validator     Web page editor

XML_Beautifier::formatFile()

XML_Beautifier::formatFile() -- beautify a file

Synopsis

require_once 'XML/Beautifier.php';

object XML_Beautifier::formatFile (string $file [, string $newFile = NULL [, string $renderer = "Plain"]])

Description

Beautifies a file.

Parameter

Return value

mixed Either true, if file has been written or the XML document string.

Note

This function can not be called statically.




JavaScript Editor Javascript validator     Web page editor