JXMLElement::asFormattedXML
Return a well-formed XML string based on SimpleXML element
Signature
public function asFormattedXML([boolean
$compressed = false,
[string
$indent = "\t",
[integer
$level = 0]]] )
Parameters
-
$compressed
- Should we use indentation and newlines ?
-
$indent
- Indention character.
-
$level
- The level within the document which informs the indentation.
Returns
- string