Join Slack
Powered by
what xml are you working with
# suitescript
b
battk
06/10/2020, 6:33 AM
what xml are you working with
d
Daryl K
06/10/2020, 6:49 AM
I also had to strip all /r /n and /t from the response.body, before it would traverse it properly via childNodes
b
battk
06/10/2020, 6:51 AM
namespaces require you to use xpath functions
battk
06/10/2020, 6:53 AM
somewhat confusing suiteanswer article:
https://netsuite.custhelp.com/app/answers/detail/a_id/46523/
battk
06/10/2020, 6:54 AM
better articles are probably found by searching google for xpath and namespace
battk
06/10/2020, 6:58 AM
as a non standard alternative, nodes in default namespace can be referenced using "nlapi" as the prefix
d
Daryl K
06/10/2020, 7:05 AM
thanks, I didn't even realise that was an issue ... I'll test it in a bit
2
Views
Open in Slack
Previous
Next