For-Each
Performs the specified statements once for each item in the selected node. This is useful if you wish to process each item of a repeating element once.
XSLT Equivalent
The following iterates over the list of files transferred from a ActiveMatrix BusinessWorks FTP Put activity and outputs an element with the name of each file for each file transferred.
<ns:for-each select="$FTP-Put/FTPPutOutputFile/FileTransferred"> <fileName> <ns:value-of select="$FTP-Put/FTPPutOutputFile/FileTransferred/Name"/> </fileName> </ns:for-each>
Copyright © TIBCO Software Inc. All rights reserved.