Hi List,
Maybe Mathieu Coudert is the best person to ask this since he has recently worked on CSW Improvements.
In Geonetwork CSW service is there a way to query an IsoRecord based on the value of one the following xpaths:
"gmd:distributionInfo/gmd:MD_Distribution/gmd:transferOptions/gmd:MD_DigitalTransferOptions/gmd:onLine/gmd:CI_OnlineResource/gmd:protocol/gco:CharacterString"
"gmd:distributionInfo/gmd:MD_Distribution/gmd:transferOptions/gmd:MD_DigitalTransferOptions/gmd:onLine/gmd:CI_OnlineResource/gmd:name/gco:CharacterString"?
I can query the topicCategory with the following query. So, I want to be able to query the protocol too.
<?xml version="1.0"?>
<csw:GetRecords xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" service="CSW" version="2.0.2"
resultType="results" outputSchema="csw:IsoRecord">
<csw:Query typeNames="gdm:MD_Metadata">
<csw:Constraint version="1.1.0">
<Filter xmlns="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml">
<PropertyIsLike wildCard="*" singleChar="#" escapeChar="!">
<PropertyName>topicCat</PropertyName>
<Literal>#*</Literal>
</PropertyIsLike>
</Filter>
</csw:Constraint>
</csw:Query>
</csw:GetRecords>
So, if I update the following files (Config-csw.xml and Index-Fields.xsl) with the correct tag mapping and xpath, would it work? or am I missing something.
Regards,
Abdi Jama