Hello,
In Rollbase it is possible to parse an xml string to an dom.element using rbv_api.parseXML. Is there a also a method to do the reverse action? convert the dom.element to an xml String? I'm doing this in a server side trigger.
Regards,
Wilco Weultjes.
Hi Wilco,
Yes, rbv_api.parseXML can parse string into XML format, doing the reverse I think you can do like var x = String("<your xml dom.elements>");
Hope this may help.
Regards,
Orchid
Hi Wilco,
Yes, rbv_api.parseXML can parse string into XML format, doing the reverse I think you can do like var x = String("<your xml dom.elements>");
Hope this may help.
Regards,
Orchid
We don't have reverse method, sorry.
Yes, as Pavel said there is no API for reverse, maybe you can try a javascript method to convert it to string as the example above. If you want this to be included in the Rollbase API in the future, please file an idea in our Ideas page Here.