Method xml_import extended with parameter variant_parent_id to create variant documents.
xml_import
variant_parent_id