Iteration through collection using For each ... In ... Do operator is available to object. XDTO packages are retrieved during iteration.
Access to XDTO package is possible using [...] operator. Index (starting from 0) is passed as an argument.
XDTOFactory, property Packages