Solved
XML-110018 Error while parsing XML string
Hi,
I'm trying to read a variable and I get this error "XML-110018 Error while parsing XML string" here is my code :
var query = xtk.queryDef.create(
<queryDef schema="xtk:schema" operation="select" lineCount="1">
<select>
<node expr="data" alias="data"/>
</select>
<where>
<condition expr={"@namespace='nms'"}/>
<condition expr={"@name='recipient'"}/>
</where>
</queryDef>);
var queryResult = query.ExecuteQuery(); // START QUERy
logInfo("Data type :"+ typeof queryResult[0].data);
var xml = new DOMDocument.fromXMLString(queryResult[0].data.toXMLString());
var tag = xml.getElementsByTagName("attribute")[0];