[GeoNetwork-devel] Add a new schema

Hi all,

I succeeded in adding a 19119 schema in GN beta 1 but I would like to
indicate the "title" Xpath localisation in order to display this
information in result page (currently, the metadata file displays
without any title) or in the selectbox when you create a new metadata.

Where have I to do this config ?

Thanks,

Pierre
**********************************************************************************************

Pensez ? l'environnement avant d'imprimer ce message
Think Environment before printing

Le contenu de ce m?l et de ses pi?ces jointes est destin? ? l'usage exclusif du (des) destinataire(s) d?sign?(s)
comme tel(s).
En cas de r?ception par erreur, le signaler ? son exp?diteur et ne pas en divulguer le contenu.
L'absence de virus a ?t? v?rifi?e ? l'?mission, il convient n?anmoins de s'assurer de l'absence de
contamination ? sa r?ception.

The contents of this email and any attachments areconfidential. They are intended for the named recipient(s)
only.
If you have received this email in error please notifythe system manager or the sender immediately and do not
disclose the contents to anyone or make copies.
eSafe scanned this email for viruses, vandals and malicious content.

**********************************************************************************************

Hi Pierre,
Did you create an XSL to present the metadata? In the Brief template, you have to make the match to the correct title field. The brief template creates a normalized view of all the different metadata formats.
Ciao,
Jeroen

On 4 Jun 2007, at 8:59 AM, Lagarde Pierre wrote:

Hi all,

I succeeded in adding a 19119 schema in GN beta 1 but I would like to
indicate the "title" Xpath localisation in order to display this
information in result page (currently, the metadata file displays
without any title) or in the selectbox when you create a new metadata.

Where have I to do this config ?

Thanks,

Pierre
**********************************************************************************************

Hi Pierre, you should have a look to metadata-utils.xsl and add :

  <xsl:include href="metadata-iso19119.xsl"/>
  <!-- ISO 19119 -->
  <xsl:when test="$schema='iso19119'">
    <xsl:call-template name="iso19119Brief"/>
  </xsl:when>
This is called by the search-result.xsl. The brief template should be in
your metadata-iso19119.xsl.

Ciao. Francois

-----Message d'origine-----
De : geonetwork-devel-bounces@lists.sourceforge.net
[mailto:geonetwork-devel-bounces@lists.sourceforge.net] De la part de Jeroen
Ticheler
Envoyé : lundi 4 juin 2007 14:54
À : Lagarde Pierre
Cc : geonetwork-devel@lists.sourceforge.net
Objet : Re: [GeoNetwork-devel] Add a new schema

Hi Pierre,
Did you create an XSL to present the metadata? In the Brief template, you
have to make the match to the correct title field. The brief template
creates a normalized view of all the different metadata formats.
Ciao,
Jeroen

On 4 Jun 2007, at 8:59 AM, Lagarde Pierre wrote:

Hi all,

I succeeded in adding a 19119 schema in GN beta 1 but I would like to
indicate the "title" Xpath localisation in order to display this
information in result page (currently, the metadata file displays
without any title) or in the selectbox when you create a new metadata.

Where have I to do this config ?

Thanks,

Pierre
**********************************************************************
************************

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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

I created an howto add schema's to Geonetwork...
It's very useful to make sure you don't forget any piece of code.
I posted-it here :
http://www.nabble.com/Howto-Adding---making-a-new-metadata-schema-tf3990416s18419.html
http://www.nabble.com/Howto-Adding---making-a-new-metadata-schema-tf3990416s18419.html

Tough it might be useful!
crayco

--
View this message in context: http://www.nabble.com/Add-a-new-schema-tf3863402s18419.html#a11331281
Sent from the geonetwork-devel mailing list archive at Nabble.com.