Is there a way to skip to the next record in a for loop, without executing whats in the for loop? I hade an idea:
for (var i=0;i<testXml.product.length();i++) {
if (testXml.product*.related != productToRelate) {
next();
};
Execute some code
};
The “else” isn’t really working in the real code, so I really need a way to skip the record in some case.