Use `N/xml`
# suitescript
e
Use
N/xml
s
Copy code
var xmlDocument = xml.Parser.toString({
text: xmlString
});
var bookNode = xml.XPath.select({
node: xmlDocument,
xpath: '//config'
});