XML_Beautifier
Package to "beautify" XML documents. This package will add line breaks, indentation and other layout elements to an XML document, so it can be easier read by humans.
- Introduction — Introduction to XML_Beautifier
- Example — Example for the usage of XML_Beautifier
- Options — List of all XML_Beautifier options
- XML_Beautifier::XML_Beautifier — create new instance
- XML_Beautifier::setOption — set an option
- XML_Beautifier::setOptions — set several options
- XML_Beautifier::resetOptions — reset options to default
- XML_Beautifier::apiVersion — return API version
- XML_Beautifier::formatFile — beautify a file
- XML_Beautifier::formatString — beautify a string