Avatar

Level 10

Hi Srini,

Just wondered why you do the second resolveNode, i,e,  var oEquipAddNode = xfa.resolveNode("$record.EquipAdd[" + i + "]");

I would have done var oEquipAddNode = oEquipAddNodes.item(i);

As you have already done a resolveNode with  var oEquipAddNodes = xfa.resolveNodes("$record.EquipAdd[*]");

Is this a faster way?

Also I don't think you need the -1 in the for loop as this will mean you will miss the last EquipAdd

Regards

Bruce