Serialize a SystemMetadata object to an XML representationSource:
The SystemMetadata object is converted to XML and written to a file.
serializeSystemMetadata(x, ...) # S4 method for SystemMetadata serializeSystemMetadata(x, version = "v1", ...)
The SystemMetadata instance to be serialized.
(Not currently used)
A character string representing the DataONE API version that this system will be used with (e.g. "v1", "v2").
A character value of the filename that the XML representation of the SystemMetadata object was written to.
the character string representing a SystemMetadata object
'version' parameter is specified as *v2* then the SystemMetadata
object is serialized according to the DataONE version 2.0 system metadata format.