...
Code Block |
---|
<dsCompositeModel xmlns="info:fedora/fedora-system:def/dsCompositeModel#"> <dsTypeModel ID="DC"> <form MIME="text/xml"/> <extension<extensions name="SCHEMA"> </extensions> </dsTypeModel> <dsTypeModel ID="ORIGIN"> <form MIME="text/xml"/> <extension<extensions name="SCHEMA"> </extensions> </dsTypeModel> </dsCompositeModel> |
...
Code Block |
---|
<dsCompositeModel xmlns="info:fedora/fedora-system:def/dsCompositeModel#" xmlns:schema="http://ecm.sourceforge.net/types/dscompositeschema/0/1/#"> <!-- The DC datastream is declared. It's mime type must be text/xml. It must adhere to the xml schema residing in on the specified URL. <dsTypeModel ID="DC"> <form MIME="text/xml"/> <extension<extensions name="SCHEMA"> <reference type="url" value="http://www.openarchives.org/OAI/2.0/oai_dc.xsd"/> </extensions> </dsTypeModel> <!-- The PBCORE datastream is declared. It's mime type must be text/xml. It must adhere to the xml schema residing in the PDCORE_SCHEMA datastream in this content model--> <dsTypeModel ID="PBCORE"> <form MIME="text/xml"/> <extension<extensions name="SCHEMA"> <reference type="datastream" value="PDCORE_SCHEMA"/> </extensions> </dsTypeModel> <!-- The ORIGIN datastream is declared. It's mime type must be text/xml. It must adhere to the xml schema inlined here <dsTypeModel ID="ORIGIN"> <form MIME="text/xml"/> <extension<extensions name="SCHEMA"> <schema targetNamespace="originNamespace" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"> <element name="origin" type="string"/> </schema> </extensions> </dsTypeModel> </dsCompositeModel> |
...