- Digital Item Declaration Language
-
Digital Item Declaration Language (DIDL) is an XML dialect standardized in MPEG-21. The schema files are available at MPEG.
Example
<did:DIDL xmlns:did="urn:mpeg:mpeg21:2002:02-DIDL-NS" xmlns:didmodel="urn:mpeg:mpeg21:2002:02-DIDMODEL-NS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <did:Item> <did:Descriptor> <did:Statement mimeType="text/plain">Image item which two images</did:Statement> </did:Descriptor> <did:Descriptor> <did:Component> <did:Resource mimeType="image/png" ref="http://imagearchive.net/path/image.png"/> </did:Component> </did:Descriptor> <did:Choice choice_id="choice1" minSelections="1" maxSelections="1" default="selection1"> <did:Descriptor> <did:Statement mimeType="text/plain">Choice for selection of image 1 or 2. Digital items do not need to have choices.</did:Statement> </did:Descriptor> <did:Selection select_id="selection1"> <did:Descriptor> <did:Statement mimeType="text/plain">Selection 1</did:Statement> </did:Descriptor> </did:Selection> <did:Selection select_id="selection2"> <did:Descriptor id="nodeDescriptor"> <did:Statement mimeType="text/plain">Selection 2</did:Statement> </did:Descriptor> </did:Selection> </did:Choice> <did:Component> <did:Condition require="selection1" /> <did:Descriptor> <did:Statement mimeType="text/plain">Picture 1 text summary</did:Statement> </did:Descriptor> <did:Resource mimeType="plain/text">This is a plain text resource which is a text about picture 1</did:Resource> </did:Component> <did:Component> <did:Condition require="selection1" /> <did:Descriptor> <did:Statement mimeType="text/plain">Picture 1 text#1</did:Statement> </did:Descriptor> <did:Descriptor> <!-- the statement also can contain XML --> <did:Statement mimeType="text/plain">Picture 1 text#2</did:Statement> </did:Descriptor> <did:Resource mimeType="image/jpg" ref="http://picturedatabase.com/path/image1.jpg"/> <did:Resource mimeType="image/jpg" ref="http://picturedatabasemirror.com/path/image1.jpg"/> </did:Component> <did:Component> <did:Condition require="selection2" /> <did:Descriptor> <did:Statement mimeType="text/plain">Picture 2 text summary</did:Statement> </did:Descriptor> <did:Resource mimeType="plain/text">This is a plain text resource which is a text about picture 2</did:Resource> </did:Component> <did:Component> <did:Condition require="selection2" /> <did:Descriptor> <!-- the statement also can contain XML --> <did:Statement mimeType="text/plain">Picture 2 text#1</did:Statement> </did:Descriptor> <did:Descriptor> <did:Statement mimeType="text/plain">Picture 2 text#2</did:Statement> </did:Descriptor> <did:Resource mimeType="image/jpg" ref="http://picturedatabase.com/path/image1.jpg"/> <did:Resource mimeType="image/jpg" ref="http://picturedatabasemirror.com/path/image1.jpg"/> </did:Component> </did:Item> </did:DIDL>
Categories:- Metadata
- MPEG
- XML markup languages
- XML-based standards
- Programming language topic stubs
Wikimedia Foundation. 2010.