<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi,<BR>
It's me again!<BR>
My&nbsp;Boss said, that i can use the sample DC&nbsp;and&nbsp;just pick up some bibtex fields which are important for&nbsp;the original file.<BR>
The question is&nbsp;the ":" for dc:title&nbsp;since i use&nbsp; <FONT size=2>Element dcElt=</FONT><B><FONT color=#7f0055 size=2><FONT color=#7f0055 size=2>new</B></FONT></FONT><FONT size=2> Element(</FONT><FONT color=#2a00ff size=2><FONT color=#2a00ff size=2>"dc:title"</FONT></FONT><FONT size=2>) to build a new dc term;</FONT><BR>
<FONT size=2>Should i give a new namespace or schema for the element?&nbsp;Can&nbsp;anyone tell me how can i fix the problem which</FONT><BR><FONT size=2><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>
Exception in thread "main" </FONT></FONT><U><FONT color=#000080 size=2><FONT color=#000080 size=2>org.jdom.IllegalNameException</U></FONT></FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>: The name "dc:title" is not legal for JDOM/XML elements: Element names cannot contain colons.<BR>
</FONT></FONT>&nbsp;<BR>
</FONT><BR><FONT size=2>&nbsp;<BR>
<P align=left></FONT><B><FONT color=#7f0055 size=2><FONT color=#7f0055 size=2>public</B></FONT></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2><FONT color=#7f0055 size=2>void</B></FONT></FONT><FONT size=2> addDescriptiveMD(String type, Element md)</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2><FONT color=#7f0055 size=2>throws</B></FONT></FONT><FONT size=2> MetsException</P>
<P align=left>{</P>
<P align=left>addDescriptiveMDInternal(type, </FONT><I><FONT color=#0000c0 size=2><FONT color=#0000c0 size=2>outputter</I></FONT></FONT><FONT size=2>.outputString(md), md.getNamespace());</P>
<P align=left>}</P>
</FONT>&nbsp;<BR><PRE>sip.addDescriptiveMD("MODS", modsElt);
</PRE>
&nbsp;<BR>
&nbsp;<BR>
Thanks&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>&gt; From: robin.taylor@ed.ac.uk<BR>&gt; To: greenstone@live.de; lcs@mit.edu; dspace-general@mit.edu; dspace-tech@lists.sourceforge.net<BR>&gt; Subject: RE: [Dspace-tech] [Dspace-general] Converte the Bibtex intoqualified DC<BR>&gt; Date: Wed, 27 May 2009 12:03:25 +0100<BR>&gt; <BR>&gt; 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.<BR>&gt; <BR>&gt; Cheers, Robin.<BR>&gt; <BR>&gt; <BR>&gt; Robin Taylor<BR>&gt; Main Library<BR>&gt; University of Edinburgh<BR>&gt; Tel. 0131 6515208 <BR>&gt; <BR>&gt; &gt; -----Original Message-----<BR>&gt; &gt; From: Robin Wang [mailto:greenstone@live.de] <BR>&gt; &gt; Sent: 27 May 2009 11:48<BR>&gt; &gt; To: lcs@mit.edu; General Dspace; Tech General<BR>&gt; &gt; Subject: Re: [Dspace-tech] [Dspace-general] Converte the <BR>&gt; &gt; Bibtex intoqualified DC<BR>&gt; &gt; <BR>&gt; &gt; Hi,<BR>&gt; &gt; Thank you for your Answer. I have just one qeustion still for <BR>&gt; &gt; the bibtex.xls. Converted the bibtex into DC or into MODS <BR>&gt; &gt; through the bibtex.xls? Which one should i do?<BR>&gt; &gt; Because the DC doesn't support alle fileds of bibtex record <BR>&gt; &gt; like journal or pages.<BR>&gt; &gt; <BR>&gt; &gt; Regards<BR>&gt; &gt; Robin<BR>&gt; &gt; <BR>&gt; &gt; &gt; CC: dspace-tech@lists.sourceforge.net<BR>&gt; &gt; &gt; From: lcs@mit.edu<BR>&gt; &gt; &gt; To: greenstone@live.de<BR>&gt; &gt; &gt; Subject: Re: [Dspace-general] Converte the Bibtex into qualified DC<BR>&gt; &gt; &gt; Date: Tue, 26 May 2009 20:01:01 -0400<BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; If the bibtex metadata is already in XML, I recommend <BR>&gt; &gt; putting it right <BR>&gt; &gt; &gt; in the METS manifest in your SIP, and then add a crosswalk <BR>&gt; &gt; to DSpace <BR>&gt; &gt; &gt; to interpret it. This way you don't lose any information before <BR>&gt; &gt; &gt; getting into DSpace, and the crosswalk can translate Bibtex <BR>&gt; &gt; directly <BR>&gt; &gt; &gt; into the exact metadata fields your DSpace is using. To do this:<BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; 1. make up a different name for the MDTYPE attribute in the <BR>&gt; &gt; METS, e.g.<BR>&gt; &gt; &gt; "bibtex", so the manifst looks like:<BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; &lt;dmdSec ...&gt;<BR>&gt; &gt; &gt; &lt;mdWrap ... MDTYPE="bibtex"&gt;<BR>&gt; &gt; &gt; ...the Bibtex metadata<BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; 2. add line to your DSpace configuration to tell METS ingester what <BR>&gt; &gt; &gt; crosswalk to use for MDTYPE="bibtex":<BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; mets.submission.crosswalk.bibtex = bibtex2dspace<BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; 3. configure the bibtex2dspace crosswalk, the easiest way is to <BR>&gt; &gt; &gt; implement it as an XSLT stylesheet, e.g. add this to configuration:<BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; crosswalk.submission.bibtex2dspace.stylesheet = <BR>&gt; &gt; crosswalks/bibtex.xsl<BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; ...then just write the stylesheet; see the wiki and manual <BR>&gt; &gt; for examples.<BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; hope that helps,<BR>&gt; &gt; &gt; -- Larry<BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; On May 26, 2009, at 1:51 PM, Robin Wang wrote:<BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; &gt; Hi everyone,<BR>&gt; &gt; &gt; &gt; I wanna use the DSpaceSIP from Larry Stone and converte my bibtex <BR>&gt; &gt; &gt; &gt; xml file for original pdf file into qualified DC Record <BR>&gt; &gt; that i can <BR>&gt; &gt; &gt; &gt; insert the DC Record into a Mets Record for DSpace later. i know <BR>&gt; &gt; &gt; &gt; that i should use the XSLT to do it. but does anyone here <BR>&gt; &gt; know,what <BR>&gt; &gt; &gt; &gt; kind of a qualified DC should i build into METS<BR>&gt; &gt; &gt; &gt;<BR>&gt; &gt; &gt; &gt; &lt;dmdSec ID="DMD DSpaceID"&gt;<BR>&gt; &gt; &gt; &gt; &lt;mdWrap&gt;Qualified Dublin Core metadata &lt;/mdWrap&gt; &lt;/dmdSec&gt;<BR>&gt; &gt; &gt; &gt;<BR>&gt; &gt; &gt; &gt;<BR>&gt; &gt; &gt; &gt; &lt;dmdSec ID="dmd002"&gt;<BR>&gt; &gt; &gt; &gt; &lt;mdWrap MIMETYPE="text/xml" MDTYPE="DC" <BR>&gt; &gt; &gt; &gt; LABEL="Dublin Core Metadata"&gt;<BR>&gt; &gt; &gt; &gt; &lt;xmlData&gt;<BR>&gt; &gt; &gt; &gt; &lt;dc:title&gt;Alice's Adventures in <BR>&gt; &gt; &gt; &gt; Wonderland&lt;/dc:title&gt;<BR>&gt; &gt; &gt; &gt; &lt;dc:creator&gt;Lewis Carroll&lt;/ <BR>&gt; &gt; &gt; &gt; dc:creator&gt;<BR>&gt; &gt; &gt; &gt; &lt;dc:date&gt;between 1872 and 1890&lt;/ <BR>&gt; &gt; &gt; &gt; dc:date&gt;<BR>&gt; &gt; &gt; &gt; &lt;dc:publisher&gt;McCloughlin <BR>&gt; &gt; &gt; &gt; Brothers&lt;/dc:publisher&gt;<BR>&gt; &gt; &gt; &gt; &lt;dc:type&gt;text&lt;/dc:type&gt;<BR>&gt; &gt; &gt; &gt; &lt;/xmlData&gt;<BR>&gt; &gt; &gt; &gt; &lt;/mdWrap&gt;<BR>&gt; &gt; &gt; &gt; &lt;/dmdSec&gt;<BR>&gt; &gt; &gt; &gt;<BR>&gt; &gt; &gt; &gt; I do know that i should add an exetension schema for the <BR>&gt; &gt; DC, but can <BR>&gt; &gt; &gt; &gt; anyone tell me, what kind of an exetension schema for <BR>&gt; &gt; qualified DC <BR>&gt; &gt; &gt; &gt; in dspace should i give?? Or should i use the mods <BR>&gt; &gt; (http://www.loc.gov/standards/mods/v3/mods-3-1.xsd <BR>&gt; &gt; &gt; &gt; ) <BR>&gt; &gt; xsi:schemaLocation="http://www.loc.gov/mods/v3http://www.loc.g<BR>&gt; &gt; ov/standards/mods/v3/mods-3-3.xsd<BR>&gt; &gt; &gt; &gt;<BR>&gt; &gt; &gt; &gt; <BR>&gt; &gt; http://www.loc.gov/standards/mods/v3/mods-userguide-examples.h<BR>&gt; &gt; tml#digitized_book<BR>&gt; &gt; &gt; &gt;<BR>&gt; &gt; &gt; &gt; Which one will be better for LNIClient???<BR>&gt; &gt; &gt; &gt;<BR>&gt; &gt; &gt; &gt; Thanks<BR>&gt; &gt; &gt; &gt;<BR>&gt; &gt; &gt; &gt; Robin<BR>&gt; &gt; &gt; &gt;<BR>&gt; &gt; &gt; &gt;<BR>&gt; &gt; &gt; &gt; Posteingang immer voll? Der erste Speicher, der mitwächst: <BR>&gt; &gt; &gt; &gt; Unbegrenzter Speicher bei Windows Live Hotmail! <BR>&gt; &gt; &gt; &gt; _______________________________________________<BR>&gt; &gt; &gt; &gt; Dspace-general mailing list<BR>&gt; &gt; &gt; &gt; Dspace-general@mit.edu<BR>&gt; &gt; &gt; &gt; http://mailman.mit.edu/mailman/listinfo/dspace-general<BR>&gt; &gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; ________________________________<BR>&gt; &gt; <BR>&gt; &gt; Die virtuelle Festplatte im Netz - 25 GB für deine Bilder, <BR>&gt; &gt; Musikfiles und Dateien! Jetzt kostenlos sichern! <BR>&gt; &gt; &lt;http://redirect.gimas.net/?n=M0905WLPhotos&gt; <BR>&gt; &gt;<BR>&gt; <BR>&gt; <BR>&gt; -- <BR>&gt; The University of Edinburgh is a charitable body, registered in<BR>&gt; Scotland, with registration number SC005336.<BR>&gt; <BR><br /><hr />Die virtuelle Festplatte im Netz - 25 GB für deine Bilder, Musikfiles und Dateien! <a href='http://redirect.gimas.net/?n=M0905WLPhotos' target='_new'>Jetzt kostenlos sichern!</a></body>
</html>