Mercurial > hg > eSciDocImport
view src/de/mpiwg/itgroup/eSciDoc/xmlTemplates/ECHOResourceTemplate.xml @ 15:e0efd3a9d2f0
changes for escidoc1.4
author | dwinter |
---|---|
date | Mon, 17 Sep 2012 10:21:04 +0200 |
parents | c6929e63b0b8 |
children |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <!-- Example 4 of a minimal Item for create. This example extends example 3 with a second MetadataRecord for the Component. The new MetadataRecord contains meta data within DC format. --> <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:xml="http://www.w3.org/XML/1998/namespace" 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> </dc-md> </escidocMetadataRecords:md-record> <escidocMetadataRecords:md-record name="mpiwg-index_meta" md-type="INDEX-META" schema="http://example.com/generic/" xlink:type="simple" xlink:title="echo Metadata" xmlns="http://www.mpiwg-berlin.mpg.de/ns/mpiwg"> </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/> </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="index_meta" storage="external-url"/> </escidocComponents:component> </escidocComponents:components> </escidocItem:item>