Returns a XML string representation of the specified object using the specified options.
root
is the name of the root XML element. When the object is converted
to XML, it will be a child of this root element.
Parses an array or Set into XML and adds it to the parent element.
Parses an attribute into XML and adds it to the parent element.
Parses an Object or Map into XML and adds it to the parent element.
Parses an object or Map entry into XML and adds it to the parent element.
Parses a string into XML and adds it to the parent element or attribute.
Converts the specified object to XML and adds the XML representation to the specified XmlDocument object using the specified options.
This function does not add a root element. In addition, it does not add an XML declaration or DTD, and the associated options in IOptions are ignored. If desired, these must be added manually.
Parses an arbitrary JavaScript value into XML and adds it to the parent element.
Returns a string representation of the specified value, as given by the value's toString() method (if it has one) or the global String() function (if it does not).
The value to convert to a string.
A string representation of the specified value.
Generated using TypeDoc
Gets the type handler associated with a value.