var producerCdList = xfa.resolveNodes("xfa.record.policyCert.polProducer[*]");
var i=0;
var cd = new Array();;
for(i;i<producerCdList.length;i++){
//cd = producerCdList.getElement("producerCd",2).rawValue;
cd[i] = producerCdList.item(i).getAttribute("producerCd");
//future evaluation/validation
}
i have this code but I cant properly extract the producer code that i need for validation. how should i do it right?
please help.
thanks.