There is a metadata_xml column in the base_resourcebase table of GeoNode database. It contains XML document with metadata informations of the layer.
There are also other metadata columns in this table, such as title, abstract, license_id (foreign key), data_quality_statement. These informations are duplicit with the informations from XML.
How is the XML document in metadata_xml generated?
What is the XML document used for? Can it be omitted?
I'm asking this question because I need to transfer metadata from one GeoNode to another with the same layers. I thought it would be enough to update needed columns of base_resourcebase and layers_layer, joined using layers_layer.typename, but the XML document contains details I don't want to change, like fileIdentifier, or URLs.