Hybrid Integration 10.1 | Integrating On-Premises Applications | Document Conventions | 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- 2017 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.