Add xml structure analysis to import