This function calls the user-provided function for each object contained
in the given XML database representation. You can specify which type of
objects you want to get (by using the GDA_XML_OBJECT_TYPE_* #defines) or
all objects of any type (by supplying NULL as the type parameter.