Hi I know there is plenty information in the web how to access objects in javascript objects. But those examples didn't help with the object in a format returned by the console node = xpath.select("//unit/object[@name='parProgramModeDefault']/@comment",doc);
When printed into the console the object looks like this:
console.log(res);:
How to access nodeName for example? This res.nodeName returns undefined
