xmlreader merged with loaddata in Main