Awesome! Thanks a bunch Claudia. It is quite clear now.
Thanks again and best regards

2011/6/1 Claudia Jürgen <[email protected]>

> Hello,
>
> you got to put the metadata of each schema used in a different file with
> no redundancies. The naming of the elements "dcvalue" dates from the
> time, when there was only one schema possible. This will be changed on
> clearing the deprecated DCValue class.
>
> To enhance the example, say you want to import an item with the
> following metadata:
> dc.title = Some title
> dc.creator.author = Doe, Jane
> xx.affiliation = Some Organization
> yy.publisher.place = Timbuktu
>
>
> You got to create the following metadata files:
> dublin_core.xml
> metadata_xx.xml
> metadata_yy.xml
> metadata_zz.xml
>
> The content of the files would be:
> dublin_core.xml:
>
> <?xml version='1.0' encoding='UTF-8' ?>
> <dublin_core>
> <dcvalue element="title" qualifier="none" language="en">Some
> title</dcvalue>
> <dcvalue element="contributor" qualifier="author">Doe, Jane</dcvalue>
> </dublin_core>
>
> metadata_xx.xml:
>
> <?xml version='1.0' encoding='UTF-8' ?>
> <dublin_core>
> <dcvalue element="affiliation" qualifier="none">Some Organization</dcvalue>
> </dublin_core>
>
> metadata_yy.xml:
>
> <?xml version='1.0' encoding='UTF-8' ?>
> <dublin_core>
> <dcvalue element="publisher" qualifier="place"
> language="de">Timbuktu</dcvalue>
> </dublin_core>
>
> Note the qualifier attribute is mandatory, the language not. But the
> language is important with regards to sorting and searching.
>
> Hope that helps
>
> Claudia Jürgen
>
>
> Am 31.05.2011 16:28, schrieb Saqib Ilyas:
> > Thanks very much Claudia. There's no excuse for not gathering something
> in
> > the documentation on my part.
> > However, I didn't get the following: Since the dublin_core.xml file also
> > needs to be in there, would I leave it empty, i.e., just the outer tags
> and
> > no fields specified, or would I have to fill it in with all the fields
> that
> > I have in common with the DC metadata?
> > Thanks and best regards
> >
> > 2011/5/31 Claudia Jürgen<[email protected]>
> >
> >> Hello,
> >>
> >> in order to use the item importer with different metadata schemata, you
> >> got to create
> >> metadata_[YourSchemaName].xml within the item directory for each schema
> >> used.
> >> The file itself got the same content as dublin_core.xml.
> >>
> >> So an import directory with an item containing metadata of the schema cc
> >> importDir/item01/contents
> >> importDir/item01/dublin_core.xml
> >> importDir/item01/metadata_cc.xml
> >> importDir/item01/foo1.pdf
> >> importDir/item01/foo2.pdf
> >> ...
> >>
> >> This is describe in the DSpace System Documentation, Section Item
> Importer
> >> https://wiki.duraspace.org/display/DSDOC/DSpace+Documentation
> >>
> >> Hope that helps
> >>
> >> Claudia Jürgen
> >>
> >>
> >> Am 31.05.2011 15:02, schrieb Saqib Ilyas:
> >>> Hi all
> >>> I have created a new custom metadata in DSpace. However, in order to
> >> batch
> >>> import data to DSpace, I need to express the new schema in an XML file.
> I
> >>> have tried searching the web as well DSpace-general archives, but
> >> couldn't
> >>> find an answer to this question. I must be using non-optimal keywords
> for
> >>> this purpose. Can someone kindly point me to an example XML file that
> can
> >>> get me started on developing an XML file for my own schema?
> >>> Thanks and best regards
> >>>
> >>>
> >>>
> >>>
> >>>
> >>
> ------------------------------------------------------------------------------
> >>> Simplify data backup and recovery for your virtual environment with
> >> vRanger.
> >>> Installation's a snap, and flexible recovery options mean your data is
> >> safe,
> >>> secure and there when you need it. Data protection magic?
> >>> Nope - It's vRanger. Get your free trial download today.
> >>> http://p.sf.net/sfu/quest-sfdev2dev
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Dspace-general mailing list
> >>> [email protected]
> >>> https://lists.sourceforge.net/lists/listinfo/dspace-general
> >>
> >> --
> >> Claudia Juergen
> >> Universitaetsbibliothek Dortmund
> >> Eldorado
> >> 0231/755-4043
> >> https://eldorado.tu-dortmund.de/
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Simplify data backup and recovery for your virtual environment with
> >> vRanger.
> >> Installation's a snap, and flexible recovery options mean your data is
> >> safe,
> >> secure and there when you need it. Data protection magic?
> >> Nope - It's vRanger. Get your free trial download today.
> >> http://p.sf.net/sfu/quest-sfdev2dev
> >> _______________________________________________
> >> Dspace-general mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/dspace-general
> >>
> >
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Simplify data backup and recovery for your virtual environment with
> vRanger.
> > Installation's a snap, and flexible recovery options mean your data is
> safe,
> > secure and there when you need it. Data protection magic?
> > Nope - It's vRanger. Get your free trial download today.
> > http://p.sf.net/sfu/quest-sfdev2dev
> >
> >
> >
> > _______________________________________________
> > Dspace-general mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/dspace-general
>
> --
> Claudia Juergen
> Universitaetsbibliothek Dortmund
> Eldorado
> 0231/755-4043
> https://eldorado.tu-dortmund.de/
>
>
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with
> vRanger.
> Installation's a snap, and flexible recovery options mean your data is
> safe,
> secure and there when you need it. Data protection magic?
> Nope - It's vRanger. Get your free trial download today.
> http://p.sf.net/sfu/quest-sfdev2dev
> _______________________________________________
> Dspace-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-general
>



-- 
Muhammad Saqib Ilyas
PhD Student, Computer Science and Engineering
Lahore University of Management Sciences
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Dspace-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-general

Reply via email to