serializeXML
serializeXML($xml as Node) → String
Returns a String that represents a serialization of the XML Node argument.
|
Arguments |
|||
|
|
$xml |
Node |
The Node to serialize |
|
Result |
String |
||
Details
This method provides a simple cross-browser wrapper for serialising a XML DOM node. Results may therefore vary according to the host browser used. For example, when serialising a DocumentFragment containing a number of top-level elements, Internet Explorer only serializes the first element.