Implemented a function to write ISO metadata into ISO standard structure (including namespaces).