Hi Robin, I don't know JDOM, but I am guessing yes, add an element called "title" with a namespace of " http://purl.org/dc/elements/1.1/" or "http://purl.org/dc/terms/" (depends on the element). For a fuller explanation of DC as XML see http://dublincore.org/schemas/xmls/.
Cheers. Robin Taylor Main Library University of Edinburgh Tel. 0131 6515208 > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Robin Wang > Sent: 27 May 2009 17:16 > To: Larry Stone; General Dspace > Subject: Re: [Dspace-general] Converte the Bibtex > intoqualified DC:still wanna add direct in METS > > Hi, > It's me again! > My Boss said, that i can use the sample DC and just pick up > some bibtex fields which are important for the original file. > The question is the ":" for dc:title since i use Element > dcElt=new Element("dc:title") to build a new dc term; Should > i give a new namespace or schema for the element? Can anyone > tell me how can i fix the problem which Exception in thread > "main" org.jdom.IllegalNameException: The name "dc:title" is > not legal for JDOM/XML elements: Element names cannot contain colons. > > > > > > public void addDescriptiveMD(String type, Element md) > > throws MetsException > > { > > addDescriptiveMDInternal(type, outputter.outputString(md), > md.getNamespace()); > > } > > > > sip.addDescriptiveMD("MODS", modsElt); > > > Thanks > > > > From: [email protected] > > To: [email protected]; [email protected]; [email protected]; > > [email protected] > > Subject: RE: [Dspace-tech] [Dspace-general] Converte the Bibtex > > intoqualified DC > > Date: Wed, 27 May 2009 12:03:25 +0100 > > > > In DC terms the correct thing to do would be to combine > journal, pages etc into one string and store it in > dc.bibliographicCitation, but that may be tricky for you if > you have more than one publication type (eg journal, chapter > in book etc) as the citation format would vary. > > > > Cheers, Robin. > > > > > > Robin Taylor > > Main Library > > University of Edinburgh > > Tel. 0131 6515208 > > > > > -----Original Message----- > > > From: Robin Wang [mailto:[email protected]] > > > Sent: 27 May 2009 11:48 > > > To: [email protected]; General Dspace; Tech General > > > Subject: Re: [Dspace-tech] [Dspace-general] Converte the Bibtex > > > intoqualified DC > > > > > > Hi, > > > Thank you for your Answer. I have just one qeustion still for the > > > bibtex.xls. Converted the bibtex into DC or into MODS through the > > > bibtex.xls? Which one should i do? > > > Because the DC doesn't support alle fileds of bibtex record like > > > journal or pages. > > > > > > Regards > > > Robin > > > > > > > CC: [email protected] > > > > From: [email protected] > > > > To: [email protected] > > > > Subject: Re: [Dspace-general] Converte the Bibtex into > qualified > > > > DC > > > > Date: Tue, 26 May 2009 20:01:01 -0400 > > > > > > > > If the bibtex metadata is already in XML, I recommend > > > putting it right > > > > in the METS manifest in your SIP, and then add a crosswalk > > > to DSpace > > > > to interpret it. This way you don't lose any information before > > > > getting into DSpace, and the crosswalk can translate Bibtex > > > directly > > > > into the exact metadata fields your DSpace is using. To do this: > > > > > > > > 1. make up a different name for the MDTYPE attribute in the > > > METS, e.g. > > > > "bibtex", so the manifst looks like: > > > > > > > > <dmdSec ...> > > > > <mdWrap ... MDTYPE="bibtex"> > > > > ...the Bibtex metadata > > > > > > > > 2. add line to your DSpace configuration to tell METS ingester > > > > what crosswalk to use for MDTYPE="bibtex": > > > > > > > > mets.submission.crosswalk.bibtex = bibtex2dspace > > > > > > > > 3. configure the bibtex2dspace crosswalk, the easiest way is to > > > > implement it as an XSLT stylesheet, e.g. add this to > configuration: > > > > > > > > crosswalk.submission.bibtex2dspace.stylesheet = > > > crosswalks/bibtex.xsl > > > > > > > > ...then just write the stylesheet; see the wiki and manual > > > for examples. > > > > > > > > > > > > hope that helps, > > > > -- Larry > > > > > > > > On May 26, 2009, at 1:51 PM, Robin Wang wrote: > > > > > > > > > Hi everyone, > > > > > I wanna use the DSpaceSIP from Larry Stone and converte my > > > > > bibtex xml file for original pdf file into qualified DC Record > > > that i can > > > > > insert the DC Record into a Mets Record for DSpace > later. i know > > > > > that i should use the XSLT to do it. but does anyone here > > > know,what > > > > > kind of a qualified DC should i build into METS > > > > > > > > > > <dmdSec ID="DMD DSpaceID"> > > > > > <mdWrap>Qualified Dublin Core metadata </mdWrap> </dmdSec> > > > > > > > > > > > > > > > <dmdSec ID="dmd002"> > > > > > <mdWrap MIMETYPE="text/xml" MDTYPE="DC" > > > > > LABEL="Dublin Core Metadata"> > > > > > <xmlData> > > > > > <dc:title>Alice's Adventures in Wonderland</dc:title> > > > > > <dc:creator>Lewis Carroll</ dc:creator> <dc:date>between 1872 > > > > > and 1890</ dc:date> <dc:publisher>McCloughlin > > > > > Brothers</dc:publisher> <dc:type>text</dc:type> </xmlData> > > > > > </mdWrap> </dmdSec> > > > > > > > > > > I do know that i should add an exetension schema for the > > > DC, but can > > > > > anyone tell me, what kind of an exetension schema for > > > qualified DC > > > > > in dspace should i give?? Or should i use the mods > > > (http://www.loc.gov/standards/mods/v3/mods-3-1.xsd > > > > > ) > > > xsi:schemaLocation="http://www.loc.gov/mods/v3http://www.loc.g > > > ov/standards/mods/v3/mods-3-3.xsd > > > > > > > > > > > > > http://www.loc.gov/standards/mods/v3/mods-userguide-examples.h > > > tml#digitized_book > > > > > > > > > > Which one will be better for LNIClient??? > > > > > > > > > > Thanks > > > > > > > > > > Robin > > > > > > > > > > > > > > > Posteingang immer voll? Der erste Speicher, der mitwächst: > > > > > Unbegrenzter Speicher bei Windows Live Hotmail! > > > > > _______________________________________________ > > > > > Dspace-general mailing list > > > > > [email protected] > > > > > http://mailman.mit.edu/mailman/listinfo/dspace-general > > > > > > > > > > > > > ________________________________ > > > > > > Die virtuelle Festplatte im Netz - 25 GB für deine Bilder, > > > Musikfiles und Dateien! Jetzt kostenlos sichern! > > > <http://redirect.gimas.net/?n=M0905WLPhotos> > > > > > > > > > -- > > The University of Edinburgh is a charitable body, registered in > > Scotland, with registration number SC005336. > > > > > ________________________________ > > Die virtuelle Festplatte im Netz - 25 GB für deine Bilder, > Musikfiles und Dateien! Jetzt kostenlos sichern! > <http://redirect.gimas.net/?n=M0905WLPhotos> > -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. _______________________________________________ Dspace-general mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/dspace-general
