Application Integration (On-Premises) : DSPs and building output templates : 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>
.
.
.
Copyright © 2015- 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback