Refactored slightly to build up new XML Schema model, and then use a ModelBuilder object to convert to ISO11179, arguably we can then build a similar class to convert XMI to ISO11179