implemented inspire to_xsd function