Fixed export iso metadata xml and fixed clause where for namespace.