Hello,
In Metadata.xsl we have the following statements. I would like to know where
from min ='1' is being set. I notice that this attribute is being used to
check for mandatory.I want to change min=0 so that red boxes do not appear
in the metadata editor form. Amy help in this regard is really appreciated.
<xsl:if test="(
(name(.)='gmd:LocalisedCharacterString' and ../../geonet:element/@min='1')
or ../geonet:element/@min='1'
) and $edit">
<xsl:attribute name="onkeyup">validateNonEmpty(this);</xsl:attribute>
</xsl:if>
Thanks in advance
Regards
Kumaran
Hi Kumaran,
Are you sure you want to do that? If you make a mandatory field optional then you will not have an ISO TC 211 compliant XML record.
On Monday, 11 April 2011 10:16 PM Kumaran Narayanaswamy wrote:
Hello,
In Metadata.xsl we have the following statements. I would
like to know where
from min ='1' is being set. I notice that this attribute is
being used to
check for mandatory.I want to change min=0 so that red boxes
do not appear
in the metadata editor form. Amy help in this regard is
really appreciated.
Hi Kumaran,
Are you sure you want to do that? If you make a mandatory field optional then you will not have an ISO TC 211 compliant XML record.
Thanks.
John
<xsl:if test="(
(name(.)='gmd:LocalisedCharacterString' and
../../geonet:element/@min='1')
or ../geonet:element/@min='1'
) and $edit">
<xsl:attribute name="onkeyup">validateNonEmpty(this);</xsl:attribute>
</xsl:if>
Thanks in advance
Regards
Kumaran
--------------------------------------------------------------
----------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork