Mercurial > hg > eSciDocImport
diff tmp/test.xml @ 19:671c6e3449f7
add coneids added
author | dwinter |
---|---|
date | Mon, 27 May 2013 15:06:53 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tmp/test.xml Mon May 27 15:06:53 2013 +0200 @@ -0,0 +1,100 @@ +<?xml version="1.0" encoding="UTF-8"?> +<escidocItem:item xmlns:escidocItem="http://www.escidoc.de/schemas/item/0.10" +xmlns:escidocMetadataRecords="http://www.escidoc.de/schemas/metadatarecords/0.5" +xmlns:escidocComponents="http://www.escidoc.de/schemas/components/0.9" +xmlns:prop="http://escidoc.de/core/01/properties/" +xmlns:srel="http://escidoc.de/core/01/structural-relations/" +xmlns:mpiwg="http://www.mpiwg-berlin.mpg.de/ns/mpiwg" xmlns:xlink="http://www.w3.org/1999/xlink"> + + <escidocItem:properties> + <srel:context xlink:href="/ir/context/mpiwg:2" /> + <srel:content-model xlink:href="/cmm/content-model/mpiwg:3" /> + <prop:pid>PID</prop:pid> + <prop:content-model-specific> + <cms-prop test="1" /> + </prop:content-model-specific> + + </escidocItem:properties> + + <!-- + At least on meta data record with name escidoc is needed. + --> + <escidocMetadataRecords:md-records> + <escidocMetadataRecords:md-record name="escidoc"> + <!-- + Put in the meta data within a XML structure. + These XML of meta data has to have only one XML + root element. + The following example is a minimal (may be + useless) example without meta data. + --> + <dc-md> + + + <title xmlns="http://purl.org/dc/elements/1.1/">Zuericher Notizbuch</title><creator xmlns="http://purl.org/dc/elements/1.1/">Einstein, Albert</creator><description xmlns="http://purl.org/dc/elements/1.1/"></description></dc-md> + </escidocMetadataRecords:md-record> + + <escidocMetadataRecords:md-record xmlns="http://www.mpiwg-berlin.mpg.de/ns/mpiwg" name="mpiwg-index_meta" md-type="INDEX-META" schema="http://example.com/generic/" xlink:type="simple" xlink:title="echo Metadata"> + + + + <meta xmlns=""> + <bib type="Manuscript"> + +<description /> +<location /> + + + + + +<editorial-remarks /> +<signature /> + + <lang>de</lang><call_number /><title>Zuericher Notizbuch</title><institution_of_repository /><abstract /><author>Einstein, Albert</author><type_of_work /><number /><pages /><collection_title /><URL /><place_of_creation /><year /><keywords /><place_of_repository /><notes /><copyist /></bib> + <texttool><display>yes</display><image>pageimg</image><pagebreak>pb</pagebreak><presentation>02-presentation/info.xml</presentation><thumbtemplate>/mpiwg/temp/online/texttools/default/thumbtemplate.templ</thumbtemplate><project>default</project><toptemplate>toptemplate</toptemplate><digiliburlprefix>http://echo.mpiwg-berlin.mpg.de/zogilib?</digiliburlprefix></texttool><access-conditions><access type="free" /></access-conditions><dri type="escidoc-test">escidoc:130109</dri><dri type="escidoc">escidoc:296375</dri></meta></escidocMetadataRecords:md-record> + <escidocMetadataRecords:md-record name="mpiwg-admin" md-type="MPIWG" schema="http://example.com/generic/" xlink:type="simple" xlink:title="MPIWG admin"> + + <mpiwg:admin> + <!--orig ref contains the url where the object was originally imported from --> + <mpiwg:orig-ref xlink:href="http://digilib.mpiwg-berlin.mpg.de/digitallibrary/servlet/Texter?fn=permanent/echo/einstein/Einstein_ZN/index.meta" /> + <archivePath xmlns="http://www.mpiwg-berlin.mpg.de/ns/mpiwg">/mpiwg/online/permanent/echo/einstein/Einstein_ZN</archivePath><imageFolder xmlns="http://www.mpiwg-berlin.mpg.de/ns/mpiwg">/mpiwg/online/permanent/echo/einstein/Einstein_ZN/pageimg</imageFolder></mpiwg:admin> + + </escidocMetadataRecords:md-record> + + </escidocMetadataRecords:md-records> + + <!-- + The Components of the Item. + --> + <escidocComponents:components> + + <escidocComponents:component xlink:type="simple" xlink:title="web_page"> + <escidocComponents:properties> + + + <prop:valid-status>valid</prop:valid-status> + <prop:visibility>public</prop:visibility> + <prop:content-category>web_page</prop:content-category> + <prop:mime-type>text/xml</prop:mime-type> + + </escidocComponents:properties> + <escidocComponents:content xlink:type="simple" xlink:title="web_page" xlink:href="http://digilib.mpiwg-berlin.mpg.de/digitallibrary/servlet/Texter?fn=permanent/echo/einstein/Einstein_ZN/index.meta" storage="external-url" /> + </escidocComponents:component> + + + <escidocComponents:component xlink:type="simple" xlink:title="component"> + + <escidocComponents:properties xlink:type="simple" xlink:title="Properties"> + + <prop:valid-status>valid</prop:valid-status> + <prop:visibility>public</prop:visibility> + <prop:content-category>index_meta</prop:content-category> + <prop:mime-type>text/xml</prop:mime-type> + + </escidocComponents:properties> + + <escidocComponents:content xlink:type="simple" xlink:title="component" storage="internal-managed" xlink:href="http://digilib.mpiwg-berlin.mpg.de/digitallibrary/servlet/Texter?fn=permanent/echo/einstein/Einstein_ZN/index.meta" /> +</escidocComponents:component></escidocComponents:components> + +</escidocItem:item>