diff --git a/reference/simplexml/functions/simplexml-element-asXML.xml b/reference/simplexml/functions/simplexml-element-asXML.xml index dd93ed7087..e906c993eb 100644 --- a/reference/simplexml/functions/simplexml-element-asXML.xml +++ b/reference/simplexml/functions/simplexml-element-asXML.xml @@ -1,26 +1,57 @@ - - - - SimpleXMLElement->asXML - - Return a well-formed XML string based on SimpleXML element - - - - Description - - stringSimpleXMLElement->asXML - - - - The asXML method formats the parent object's data - in XML version 1.0. - - - - Get XML - + + + + SimpleXMLElement->asXML + + Return a well-formed XML string based on SimpleXML element + + + + &reftitle.description; + + mixedSimpleXMLElement->asXML + stringfilename + + + The asXML method formats the parent object's data + in XML version 1.0. + + + + + &reftitle.parameters; + + + + filename + + + If specified, the function writes the data to the file rather than + returning it. + + + + + + + + + &reftitle.returnvalues; + + If the filename isn't specified, this function + returns a string on success and &false; on error. If the + parameter is specified, it returns &true; if the file was written + successfully and &false; otherwise. + + + + + &reftitle.examples; + + + Get XML + asXML(); // textstuff ... ?> ]]> - - - - - asXML also works on Xpath results: - - - Using asXML() on - <link linkend="function.simplexml-element-xpath">Xpath</link> - results - - + + + + + asXML also works on Xpath results: + + + Using asXML() on + <link linkend="function.simplexml-element-xpath">Xpath</link> + results + + ]]> - - - - - + + + + +