XML_Beautifier::formatString
XML_Beautifier::formatString() – beautify a string
Synopsis
require_once 'XML/Beautifier.php';
object XML_Beautifier::formatString (
string $string
, string $renderer = "Plain"
)
Описание
Beautifies an XML string. Use this method to beautify an XML document that has been generated on-the-fly.
Parameter
-
string $string
- string containing an XML document. -
string $renderer
- renderer to use, currently only a "Plain" XML renderer can be used.
Return value
string beautified XML document
Замечание
This function can not be called statically.