It would be usefull to have an option to generate the XML in Metadata Exchange Format (MEF file) in order to be able to upload all the metadata on Openwis in one shoot.
An example for creating MEF file with Python is available here : http://lab.usgin.org/groups/etl-debug-blog/create-geonetwork-mef-files-iso-19139-xml-through-python