I'm looking to import data into my geodatabase from an .xml file using the import XML workspace document utility that comes from right clicking the geodatabase in ArcCatalog . Only problem is my source data is in .csv. What's the best intermediary way to get my data into an .xml file that matches my geodatabase?
Here's what I would do
Using the XML document they sent you, create a geodatabase and then a new feature class to the specifications of the XML by right-clicking in the GDB and choosing Import > XML Workspace Document. This creates a new feature class in the schema you have to match.
Then I would create a new feature class from your CSV data, building a point dataset that at this point DOES NOT match your XML schema.
Then, using the temporary schema you created earlier, right click the feature class you want to eventually re-create and choose the LOAD DATA option.
This dialogue will eventually give you a schema matching option, where you can map your CSV schema to your XML schema:
From there, you can export your CSV data as an XML recordset document, which is now your CSV data mapped to the exact specifications of your original XML document.
You should be good to go...