Skip
repetitive navigational links
L-Soft  -  Home of  the  LISTSERV  mailing list  manager LISTSERV(R) 14.5
Skip repetitive navigational links
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (December 2002)Back to main MODS pageJoin or leave MODSReplyPost a new messageSearchProportional fontNon-proportional fontLog in
Date:         Tue, 17 Dec 2002 17:50:28 +0100
Reply-To:     Metadata Object Description Schema List <[log in to unmask]>
Sender:       Metadata Object Description Schema List <[log in to unmask]>
From:         Yves Pratter <[log in to unmask]>
Subject:      Language lookup : working example
Comments: To: MODS List <[log in to unmask]>
Content-Type: multipart/alternative;

I wrote a working example of displaying language name from ISO639-2B / RFC3066 code. I start from the MODS HTML Display (Stylesheet) (translate it to french) and add a template "DisplayLanguage" with to parameters : a.. the attribute name used for the search (iso639-2b or rfc3066) b.. his value (the language code) The result is the language name (in french - but you could select english if you want). It use the file languages.xml. If MODS will use ONLY RFC3066 language code in the future, the code will be more simple... You could have a look or download these files from the CVS repository of the MODS-FR project : http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/mods-fr/xsl/mods-fr.xsl http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/mods-fr/xsl/languages.xml Yves PS: i hope to have a running example directly from the mods-fr web site in a near future. ---------------------------------------------------------------------------- ---- Yves Pratter Ingénieur Support Alex Temex Multimédia 4 Bis, Avenue du pré de Challes 74940 Annecy-le-Vieux tél. : +33 (04) 50 64 08 97 fax : +33 (04) 50 64 15 81 mel : [log in to unmask] ---------------------------------------------------------------------------- ----


[text/html]


Back to: Top of message | Previous page | Main MODS page

LISTSERV.LOC.GOV CataList email list search Powered by LISTSERV email list manager