[GeoNetwork-users] metadata records in xml file

I am trying to create a test XML file for harvesting 'dataset' records per CSW or ISO19139. However, I have no clue what is supposed to be the root element.

I have maniplated: <csw:HarvestResponse xmlns:csw="http://www.opengis.net/cat/csw/2.0.2&quot;&gt; <csw:TransactionResponse> <csw:InsertRecord> <csw:SummaryRecord> <csw:identifier/> <csw:title/> </csw:SummaryRecord> </csw:InsertRecord> </csw:TransactionResponse> </csw:HarvestResponse>

my intention is to use this XML file to upload multiple dataset records. It always complains about the root element is not correct. Anyone has tried to upload metadata using an XML file? what is the root element supported, per CSW or ISO19139? Which schema should I look into for GN 2.10.3?

Can I have my own customized schema plugin and where to put?

Thanks for any help on it.
Steve

Figured out. For ISO19139, it begins with <gmd:MD_Metadata>. For CSW, it
begins with <csw:BriefRecord> or <csw:SummaryRecords> etc.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/metadata-records-in-xml-file-tp5196529p5199926.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.