Here is how overflow works in XML. First, the system scans the search text to see if a replacement is needed for the overflow value. Here is one approach:
@GETRECSUSED,IMAGE1,STARS/!/Forms/Form/Car[****]/Driver
The system inserts the current overflow value, then performs the actual XML search for the requested XPath.
With the following approach, you can omit the use of @GETRECSUSED to declare which overflow variable to use and instead include the overflow name directly into the XPath, as shown here:
!/Forms/Form/Car[**INDEX**]/Driver
This method lets you support overflow within overflow.
Be aware that with either method, you still have to declare and use the overflow variables. The difference is that for the second method [**OverFlowSymbol**], the form name has to be XML, while for the first example [****], the form name is the actual name of the section for which you created the overflow symbol.
Also, remember to include the IncOvSym rules at the section level to increment the values to the next index. When doing overflow within overflow, you may also have to include an additional dummy section to do the IncOvSym for the symbol that represents the outer-most loop index.
© Copyright 2012, Oracle and/or its affiliates. All rights reserved. Legal notices.