#1222: Editor / Wiki formatting / Configure per schema
-------------------------+--------------------------------------------------
Reporter: fxp | Owner: geonetwork-devel@…
Type: enhancement | Status: new
Priority: minor | Milestone: v2.9.0
Component: General | Version: v2.9.0
Keywords: |
-------------------------+--------------------------------------------------
Add mechanism to configure field with wiki syntax per schema.
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1222>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#1222: Editor / Wiki formatting / Configure per schema
-------------------------+--------------------------------------------------
Reporter: fxp | Owner: geonetwork-devel@…
Type: enhancement | Status: new
Priority: minor | Milestone: v2.9.0
Component: General | Version: v2.9.0
Keywords: |
-------------------------+--------------------------------------------------
Comment(by fxp):
Proposal:
* use saxon:call template using schema identifier in template name in
layout.xsl
{{{
<saxon:call-template name="{concat('permitMarkup-',$schema)}"/>
}}}
* add mode for configuration in <schema>/present/metadata-markup.xsl
{{{
<xsl:template name="permitMarkup-iso19139">
<xsl:apply-templates mode="permitMarkup-iso19139"
select="."/>
</xsl:template>
<xsl:template mode="permitMarkup-iso19139"
match="gmd:abstract | gmd:description | gmd:statement |
gmd:purpose | gmd:supplementalInformation">
<xsl:value-of select="true()"/>
</xsl:template>
<xsl:template mode="permitMarkup-iso19139" match="*">
<xsl:value-of select="false()"/>
</xsl:template>
}}}
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1222#comment:1>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.