%META:TOPICINFO{author="DonovanSharp" date="1156902521" format="1.1" version="1.11"}%
%META:TOPICPARENT{name="SddContents"}%
---++SDD Part 0: Introduction and Primer to the SDD Standard
---+++3.12 Attaching Media to SDD Items
---++++3.12.1 Media resources in SDD.
The location of media in an SDD instance document is represented by a simple resource list. Media may include images (.jpeg, .png etc.), sound, video and web resources. SDD allows external references, embedded resource data, and provides for a multilingual caption.
Media items are defined within the <MediaObjects> element and simply referenced each time they are used elsewhere in an SDD instance document.
Simple SDD code for associated media has the basic structure shown below and in Example 3.12.1.1.
%ATTACHURL%/media.gif
---++++Example 3.12.1.1 - A simple SDD media dialog
TextImage
The location of locally stored media objects is defined relative to the SDD instance document.
The <Representation> element provides a label for the media object. This may be useful if the instance document includes multiple descriptions for different purposes, or is intended for publication in multiple languages (see the topic [[SddLanguage][Language support in SDD]].
<Owners> refers to a person, persons or institution defined in the SDD [[SddAgents][<Agents>]] element.
<IPRStatements> records the original source of media (for example the full citation for a publication). and any restrictions on useage. May contain URL to IPR statements external to the SDD instance document.
Media items are defined once and referenced for each useage. Multiple media items of different types may be referenced for an item.
---++++Example 3.12.1.2 - Referencing media
... media dialog goes here
Associated information may include captions, web addresses and translations. Media may be directly embedded in the SDD code instead of referenced with a URL.
---++++Example 3.12.1.3 - Associated information for embedded media
ImageSoundMelampsora evonymi-caprearum Kleb., stade II sur Salix capreaL.Melampsora evonymi-caprearum Kleb., Sporenstadium II auf Salix caprea L.Melampsora evonymi-caprearum Kleb., spore stage II on Salix caprea L.ImageR0lGODlhcgGSALMAAAQCAEMmCZtuMFQxDS8b
Available "roles" within the <Detail> element are; Abstract, Caption, Coverage, Description, Normative and UnknownDetailRole.
If resources are included within the SDD instance document they should be directly encoded, i.e. not wrapped into a MIME object first.
-- Main.DonovanSharp - 05 Jun 2006
%META:FILEATTACHMENT{name="media.gif" attachment="media.gif" attr="" comment="" date="1152497523" path="media.gif" size="17991" stream="media.gif" user="Main.DonovanSharp" version="2"}%