How are you adding the Object to the XML?
# suitescript
e
How are you adding the Object to the XML?
u
xml module is fine but what I normally do is convert the XML to JSON, then when I finish adding everything that I need into the data i have a converter which converts it back to XML