function getCommonOptions(options) {
    var _a;
    return {
        attributesGroupName: xml_common_js_1.XML_ATTRKEY,
        textNodeName: (_a = options.xmlCharKey) !== null && _a !== void 0 ? _a : xml_common_js_1.XML_CHARKEY,
        ignoreAttributes: false,
        suppressBooleanAttributes: false,
    };
}
Converts given JSON object to XML string
@param obj - JSON object to be converted into XML string
@param opts - Options that govern the XML building of given JSON object
`rootName` indicates the name of the root element in the resulting XML