Skip to content
Permalink
Browse files

Index gmd:otherConstraints with gmx:Anchor (#4449)

* Index gmd:otherConstraints with gmx:Anchor

* Index gmd:otherConstraints with gmx:Anchor
  • Loading branch information
josegar74 committed Feb 14, 2020
1 parent 94586e4 commit 9b91d45f7e4965679142939b6106220ef50f62a6
Showing with 10 additions and 0 deletions.
  1. +10 −0 schemas/iso19139/src/main/plugin/iso19139/index-fields/default.xsl
@@ -558,6 +558,16 @@
string="{string(.)}" store="true" index="true"/>
</xsl:for-each>

<xsl:for-each select="gmd:otherConstraints/gmx:Anchor[not(string(@xlink:href))]">
<Field name="{$fieldPrefix}OtherConstraints"
string="{string(.)}" store="true" index="true"/>
</xsl:for-each>

<xsl:for-each select="gmd:otherConstraints/gmx:Anchor[string(@xlink:href)]">
<Field name="{$fieldPrefix}OtherConstraints"
string="{concat('link|',string(@xlink:href), '|', string(.))}" store="true" index="true"/>
</xsl:for-each>

<xsl:for-each select="gmd:useLimitation/gco:CharacterString">
<Field name="{$fieldPrefix}UseLimitation"
string="{string(.)}" store="true" index="true"/>

0 comments on commit 9b91d45

Please sign in to comment.
You can’t perform that action at this time.