I’m sure I’m doing something wrong…
Whereas this WAS simple with a single call in 1.0 of nlapiStringToXML(xmlString), which would give you a nice XML object to work with…
2.0 seems to have you doing a seemingly longer version with xml.Parser.fromString({text : xmlString})…
Except – whereas the 1.0 API makes a nice object… the 2.0 flavor gives me nothing to work with.. {“name”:”#document”,”type”:”DOCUMENT_NODE”,”value” :null,”textContent”:null}
I know the XML is good…
So – how does one, in 2.0, take a string, make it XML and then “get data from it”… I can’t believe it’s that difficult, so again, I’m sure I’m doing something wrong…
This is a cached copy. Click here to see the original post.