add xmi support