| Serializes an object to a XML string |
| Declaration: |
| native function toXML( string name, object o ) |
| Description: |
| This function serializes the contents of the variables in the specified object to a XML string. The class definition, functions, and static variables aren't included. Object references are recursively serialized and included in the output, up to a limit. The name of the object in the serialized output is set to the specified string. |
| Parameters: |
| Parameter #1: string name - The name of the object to use in the serialized output |
| Parameter #2: object o - The object to serialize |
| Returns: |
| A string containing the serialized object |