Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
javascript to XML in server-side code?
I need to serialize (preferably) javascript objects to XML for sending to an external service in a user event script.
I'm familiar with nlapiStringToXML() to deserialize a string of XML, but how to serialize a javascript (or perhaps json) object to XML??
I would really prefer to avoid hand-crafting XML from string concatenation as I've seen in other posts.
Does anyone have a better approach?
p.s. I was able to get JSONIX working, but only for the deserialization (from XML to javascript object) direction... Still looking for a solution for the opposite direction!