[greenstone-users] How to repeat display many fields of the same type ?

From Arthur R. Belanger
DateWed Feb 27 06:29:21 2008
Subject [greenstone-users] How to repeat display many fields of the same type ?
In-Reply-To (47C4361E-6070001-enc-sorbonne-fr)
you can use the sibling:All item in your format statement. This is what I have
done in my collections:

{If}{[CallNumber],<tr><td><b>Call Number:</td>
<td>[sibling(all'<br/>'):CallNumber]</td></tr>}

This is documented on the Greenstone Wiki at:

http://wiki.greenstone.org/wiki/index.php/How_to_format_the_output of your_collection

Good luck!

Guillaume Hatt wrote:
> Hi,
>
> we use Greenstone to display records imported from a MARC file.
> In this file, the note field (300) is repeated; here's an exemple :
>
> 300 |aBandeau : d□ecor de plantes, une t□ete d'angelot, un casque □a
> g. et une cuirasse □a dr. Lettrine "E" : trois enfants nus et un
> jardinier avec un rateau
> 300 |aLettre : (345 / ARGVMENTVM VNDECIMI LIBRI ... STRABONIS
> GEOGRAPHICORVM LIBER VNDECIMVS...)
> 300 |aD□ebut du livre onze. Sans doute pour l □ed. de B□ale chez
> Valentin Curionis en 1523.
>
> after conversion with Marc2dc, we have many fields of the same type
> dc.Description. This an extract of the metadata.xml file :
>
> <Metadata mode="accumulate" name="dc.Description">Bandeau : d□cor de
> plantes, une t□te d'angelot, un casque □ g. et une cuirasse □ dr.
> Lettrine &quot;E&quot; : trois enfants nus et un jardinier avec un
> rateau.</Metadata>
> <Metadata mode="accumulate" name="dc.Description">Lettre : (345 /
> ARGVMENTVM VNDECIMI LIBRI ... STRABONIS GEOGRAPHICORVM LIBER
> VNDECIMVS...)</Metadata>
> <Metadata mode="accumulate" name="dc.Description">D□but du livre onze.
> Sans doute pour l'□d. de B□le chez Valentin Curionis en 1523.</Metadata>
> But we don't know how to display all these fields. Greenstone
> displays only the first field dc.Description.
> I have searched in the list archives, and didn't find anything.
> Has anybody a solution ?
>
> Thanks for reply.
>
> Regards,
> G. Hatt
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users&#64;list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users

--
Arthur Belanger
Medical Library System Manager
ITS Academic Media & Technology
Yale University
PO Box 208065
New Haven, CT 06520-8065

(203) 785-6928
(203) 737-2859, fax

mailto:Arthur.Belanger@Yale.Edu
http://www.yale.edu/its/about/amt
http://info.med.yale.edu/library