XMLLib.convertToXML copies
an EGL record or handler to an XML string.
- Package
eglx.xml
- Syntax
static function convertToXML(eglType any const in,
document boolean in)
returns(string);
- eglType
- Takes an EGL record, handler, or dictionary.
- document
- Indicates whether the output is a well-formed XML document:
- True
- The function returns well-formed output that includes an XML declaration
and a root element.
- False
- The function returns an XML fragment.
- Example use
- Comments
For other details on the conversion, see “Correspondence between
an XML string and an EGL variable.”
JSONLib.convertToXML is
the complement of the JSONLib.convertFromXML function.
- Compatibility
-
Table 1. Compatibility
Target |
Issue |
Java |
No issues. |
JavaScript |
No issues.
|