The getInstances function returns a list of object names for the given class. The syntax of the getInstances function is:
listname = getInstances(<classname>);
For example, to retrieve all instances of the ServiceSubscriber class and add them to your XML document, begin with the following line:
EXPORT_SERVICESUBSCRIBER { } do { svcSubList = getInstances("ServiceSubscriber"); ... }
Once the objects you want to export are defined, then define how to handle them. Use the builder statements described in “builder statements” on page 43 and the foreach statements that follow to complete this task.