 				chr(9) & cat_num & 
 				chr(9) & scientific_name &
 				chr(9) & created_by_agent & 
-				chr(9) & locality & 
-				chr(9) & lat &
-				chr(9) & long &
+				chr(9) & created_from_collecting_event & 
+				chr(9) & latitude &
+				chr(9) & longitude &
 				chr(9) & labels & 
 				chr(9) & associated_with_project &
 				chr(9) & shows_locality &

		variables.joFileWriter.writeLine(a);
	</cfscript>

	"@@ done with metadata\n"

	<cfscript>
		a=chr(9) & '<recordlinkback>' & chr(10) & 

		</cfloop>
	</cfif>	
	

	<cfscript>
		variables.joFileWriter = createObject('Component', '/component.FileWriter').init(variables.localXmlFile, variables.encoding, 32768);
