Skip to content

Commit

Permalink
Suggestion / Add the possibility to search on a field and suggest on …
Browse files Browse the repository at this point in the history
…another.
  • Loading branch information
François Prunayre committed Jun 11, 2014
1 parent c547c66 commit 4a3a34b
Showing 1 changed file with 20 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,26 @@
</Field>

<!--<xsl:apply-templates select="." mode="codeList"/>-->


<xsl:variable name="identification" select="gmd:identificationInfo//gmd:MD_DataIdentification|
gmd:identificationInfo//*[contains(@gco:isoType, 'MD_DataIdentification')]|
gmd:identificationInfo/srv:SV_ServiceIdentification"/>

<Field name="anylight" store="false" index="true">
<xsl:attribute name="string">
<xsl:for-each
select="$identification/gmd:citation/gmd:CI_Citation/gmd:title/gco:CharacterString|
$identification/gmd:citation/gmd:CI_Citation/gmd:alternateTitle/gco:CharacterString|
$identification/gmd:abstract/gco:CharacterString|
$identification/gmd:credit/gco:CharacterString|
$identification//gmd:organisationName/gco:CharacterString|
$identification/gmd:supplementalInformation/gco:CharacterString|
$identification/gmd:descriptiveKeywords/gmd:MD_Keywords/gmd:keyword/gco:CharacterString|
$identification/gmd:descriptiveKeywords/gmd:MD_Keywords/gmd:keyword/gmx:Anchor">
<xsl:value-of select="concat(., ' ')"/>
</xsl:for-each>
</xsl:attribute>
</Field>
</xsl:template>

<!-- ========================================================================================= -->
Expand Down

0 comments on commit 4a3a34b

Please sign in to comment.