Hi, thanks for your answer... this export module within access really doesnt allow you to choose the xsd file you want...it generates one with the xml generated. My problem is I must have my xml looking ecxatly as government wants. how can I mofify this xml generated by this module after it has being created? I'm using one query only with all the data I need. How can I send you the xsd file and the query for you to see how you can help me? Please?????