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/validati...