Oh duh, there's a perfect example at the top of th...
# suitescript
k
Oh duh, there's a perfect example at the top of the documentation for N/xml so nevermind. 🙂