[GeoNetwork-devel] Re: suggest on geonet:choose elements

==============Original message text===============
From: Simon Pigot <sppigot@anonymised.com>
Date: Fri, 05 Sep 2008 22:23:40 +1000
Subject: Re: [GeoNetwork-devel] suggest on geonet:choose elements

Hi Francois,

Sorry I didn't respond earlier to your email about this - I think I've
already implemented something like this - the file is
schema-substitutes.xml (one in each schema directory) because I already
had some profiles that for example wanted to substitute an element for
gco:CharacterString - something that would have forced a choose on every
element in the editor :frowning: You just specify the field you want to force in
that file and the GN schema parser will override the choices it would've
created from a substitution group with whatever you specify in there.

Cheers,
Simon

==============Original message text===============
On Fri, 05 Sep 2008 21:43:13 +1000 Francois-Xavier Prunayre wrote:

Hi all,
I'm playing with schema-suggestion.xml and was wondering if we could use
it to force a geonet:choose sub elements.

For example, could we set all gmd:Date as gco:Date and don't want to
have to select between a Date or a DateTime
   <field name="gmd:date">
        <suggest name="gco:Date"/>
   </field>

Thanks for your help.

Francois

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork===========End of original message text===========

===========End of original message text===========