Integration Server 10.7 | Dynamic Server Pages and Output Templates Developer's Guide | Using Dynamic Server Pages (DSPs) | Using the DSP Tags | Extracting Results from a Document
 
Extracting Results from a Document
 
Using the %loop% Tag to Examine the Current Scope
To extract results from a document (i.e., an IData object), you use the %loop% tag with the -struct option to execute a block of code once for each key in the structure.
The following example shows how you would extract values from each key in a document named buyerInfo.
%invoke orders:getOrderInfo%
<P>Buyer:</P><P>
%loop -struct buyerInfo%
%value%<BR>
%endloop%

</TABLE>
.
.
.