Re: [greenstone-users] Editing metadata sets

From Michael Dewsnip
DateMon, 06 Dec 2004 10:20:33 +1300
Subject Re: [greenstone-users] Editing metadata sets
In-Reply-To (1102108529-41b0d771d452f-email-simmons-edu)
Hi,

>Problem 1: ADDING ATTRIBUTES/ELEMENTS Right now we have started with
>basic Dublin Core but wanted to add some Qualifed DC. We run the
>gems.bat file and get the Metadata Sets editing interface. We open the
>DC folder and view the elements/attributes. We want to add dc.Coverage.spatial
>and dc.Coverage.temporal (for example), but cannot
>figure out how to do it. We also wanted to add a completely new field
>(for Category). All the instructions in the documentation and Help talk
>about buttons like "Add" and "Remove" but we have no buttons at all in
>that "Editing Metadata Sets" interface.
>
>
The GEMS is currently getting a lot of work done on it, and the
documentation (as you've noticed) also needs updating. This will
hopefully done for the next release, which unfortunately might be too
late for you!

The GEMS interface is based on right-clicking over the metadata sets
tree. Right-clicking on a metadata set name, for example, will give you
options for adding new elements to it.

The other, more difficult but currently more reliable, option is to edit
the metadata set files directly. If you know a little about XML this
isn't too difficult. The metadata set files have a ".mds" suffix and are
stored in the gsdlglimetadata folder.

>Problem 2: MULITPLE INSTANCES OF ONE ATTRIBUTE/ELEMENT In a
>metadata.xml file for our collection we have two lines for dc.Subject.
>When we go to the Enrich interface we see the second dc.Subject, but it
>is greyed down, and we cannot apparently search on that field in the
>built collection, nor display the second value in addition to the first
>value for that attribute.
>
>
Displaying all the values assigned to a metadata element requires a
fairly bizarre piece of syntax in the format statements. Instead of

[dc.Subject]

you should use

[sibling(All'; '):dc.Subject]

Regards,

Michael