MBT/ESQL : Reduce CPU Load - Access nth Element in Array using Reference
How to reference variables to access elements of an array.
DECLARE ref REFERENCE TO OutputRoot.XML.Invoice.SalesOrders.Item[1];
WHILE LASTMOVE(ref)=TRUE DO
SET ref = ref + 1;
MOVE ref NEXTSIBLING;
END WHILE;
DECLARE ref REFERENCE TO OutputRoot.XML.Invoice.SalesOrders.Item[1];
WHILE LASTMOVE(ref)=TRUE DO
SET ref = ref + 1;
MOVE ref NEXTSIBLING;
END WHILE;
Comments
Post a Comment