Loading xml

mmm…
I have another problem:
to create a binding between an XML and other componets I use trigger()

xml_connector_instanse.trigger();

it takes some time to get the results displayed.
how can I indicate this process with progress bar?