Re: [greenstone-users] Formating DOCUMENTTEXT

From Tomáš Fiala
DateTue, 17 Jul 2007 15:08:26 +0200
Subject Re: [greenstone-users] Formating DOCUMENTTEXT
In-Reply-To (469BE47E-8090500-cs-waikato-ac-nz)
Hi Quan,

many thanks for your reply it was a big help for me !

Sincerely,

Tomas

{If}{[dc.NOTES-3], NOTES, {If}{[dc.NOTES-2], NOTES, }}

Qiu wrote / napísal(a):
> Hi Tomas
>
> You can try this:
> {If}{[dc.NOTES-3], [dc.NOTES-3], {If}{[dc.NOTES-2], [dc.NOTES-2],
> {If}{[dc.NOTES-1], [dc.NOTES-1]}}}
>
> More information regarding conditional expressions in formatstrings
> can be found at
> http://wiki.greenstone.org/wiki/index.php/How_to_format_the_output of your_collection
>
>
> Regards
> Quan
>
> Tomáš Fiala wrote:
>
>> Hi all,
>>
>> i got some problems with formating DOCUMENTTEXT could be anyone so
>> kind and help me please ?
>>
>> I have text in 7 different metadata fields (like dc.NOTES-3, dc.
>> NOTES-2) - i want to display the text NOTES if any of the 7 fields
>> contain text.
>>
>> I want to display :
>>
>> IF dc.NOTES-3 OR dc.NOTES-2 OR dc.NOTES-1 has some text display text
>> NOTES.
>>
>> Many thanks for any answer !!!
>>
>> Sincerely,
>>
>> Tomas Fiala
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> greenstone-users mailing list
>> greenstone-users@list.scms.waikato.ac.nz
>> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>>
>>
>
>

--
Department of digitization
University library Bratislava
http://www.ulib.sk