Initial parsing code for XCML import

Placeholder for the import functionality (tested). Will follow up after
testing the untested parts.