Hi
Which is the correct/recommended way to add support to a new codelist in a profile. I tried this:
<xsl:template mode=“iso19139.myprofile” match=“myprofile:[/@codeList]”>
<xsl:param name=“schema”/>
<xsl:param name=“edit”/>
<xsl:call-template name=“iso19139Codelist”>
<xsl:with-param name=“schema” select=“$schema”/>
<xsl:with-param name=“edit” select=“$edit”/>
</xsl:call-template>
</xsl:template>
but no success. With this seem working:
<xsl:template mode=“iso19139” match=“gmd:[/@codeList]|srv:[/@codeList]|myprofile:[/@codeList]” priority=“10”>
<xsl:param name=“schema”/>
<xsl:param name=“edit”/>
<xsl:call-template name=“iso19139Codelist”>
<xsl:with-param name=“schema” select=“$schema”/>
<xsl:with-param name=“edit” select=“$edit”/>
</xsl:call-template>
</xsl:template>
but requires override the iso19139 template for codelists. Seem not nice as other templates seem working with this mode=“iso19139.myprofile” to add custom code specific to a profile.
Maybe I’m doing something wrong and can be use also mode=“iso19139.myprofile” in this case?
Thanks and regards,
Jose García
–
GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.
Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net