01-14-2013 04:44 AM
var xmlRespTest = "<book><page>1</page><page>2</page><page>3</page></book>";
model.data = xmlRespTest;
<#assign dom = data.xmlNodeModel>
01-14-2013 04:53 AM
01-14-2013 11:46 AM
01-15-2013 03:57 AM
var xmlDocModel = stringUtils.parseXMLNodeModel(xmlResp);
model.doc = xmlDocModel;
<#ftl ns_prefixes={ "soap":"http://schemas.xmlsoap.org/soap/envelope/"}>
<#list doc["/soap:Envelope/soap:Body/getCasesResponse/getCasesResult/processes/process"] as p>
<h2>${p.processId}</h2>
</#list>
05-23-2014 03:06 PM
05-28-2014 11:59 AM
var fileContent = document.content;
var xml = new XML(fileContent);
<nfeProc><teste>35</teste></nfeProc>
var fileContent = document.content;
var xml = new XML(fileContent);
xml.teste
05-29-2014 11:56 AM
05-29-2014 12:04 PM
05-29-2014 04:17 PM
05-29-2014 08:06 PM
<nfeProc>
<NFe>
<infNFe>
<ide>
<cUF>35</cUF>
</ide>
</infNFe>
</NFe>
</nfeProc>
var cUF = xml.NFe.infNFe.ide.cUF;
logger.getSystem().out("####BEGIN ##### " );
var fileContent = document.content;
var xml = new XML(fileContent);
logger.getSystem().out("#### XML CONTENT ##### " + xml);
var cUF = xml.NFe.infNFe.ide.cUF;
logger.getSystem().out("#### cUF value is #### " + cUF);
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.