I used the ecxml parser component to do the actual parsing of the xml files. all credits go to www.eonclash.com, ecxml parser rocks!