Continuous Media Markup Language CMML version 4.0 in XML Schema
CMML is a language to describe a timed text track, i.e. a timed text codec.
Namespace = http://www.annodex.org/cmml4.0
XHTML1 can be found here: http://www.w3.org/TR/xhtml1-schema/
For further information, see: http://www.annodex.net/
Copyright (c) 2008- Annodex Association, Xiph.Org.
All Rights Reserved.
$Revision: 4.0 $
$Date$
$Id: cmml_4_0.xsd 2008/02/01 13:00:00 ginger $
================== Simple Types ====================================
Simple Types in use in this XML schema and inherited from xhtml:
html:ContentType
html:LinkTypes
html:MediaDesc
html:Text
html:URI
html:LanguageCode
html:FrameTarget
html:Length
html:style
html:meta
html:link
html:block
timed text types, e.g. closed-caption, annotation, subtitle, transcript, ticker
timestamps similar to [RFC2326]
"smpte-24:" SMPTE time with a 24 fps basis
"smpte-24-drop:" SMPTE time with a 24/1.001 fps basis
"smpte-25:" SMPTE time with a 25 fps basis
"smpte-30:" SMPTE time with a 30 fps basis
"smpte-30-drop:" SMPTE time with a 30/1.001 fps basis
"smpte-50:" SMPTE time with a 50 fps basis
"smpte-60:" SMPTE time with a 60 fps basis
"smpte-60-drop:" SMPTE time with a 60/1.001 fps basis
"npt:" npt-time
=================== Generic Attributes ===============================
attribute groups in use in this XML schema and inherited from xhtml:
html:coreattrs
html:i18n
html:attrs
=================== Document Structure ===============================
=================== Root Element ===============================
cmml tag containing sequence of one head and n clip tags
i18n = the default language for the whole document including
the id tag of the cmml element
role = describes what type of text track this CMML file represents,
such as e.g. closed-caption, annotation, subtitle, transcript,
ticker
basetime = time stamp offset from which to calculate the start and end
times of the clip tags; allows to synchronise with a media
file that does not start at time offset 0
=================== Document Head ===============================
head tag containing description of a specific timed text track
i18n = the base language of the head's attribute values and text
content
profile = space-separated list of URIs to locate meta tag schemes
Title is the title of the media file
Img is an optional representative image for the full media file
Base is an optional base URL for the full media file
Style is an optional internal style sheet for the document
Meta is a collection of meta tags for the document
Link points to related documents
=================== Img ===========================================
To avoid accessibility problems for people who aren't
able to see the image, you should provide a text
description using the alt and longdesc attributes.
attrs = the language of the image's attribute values;
the stylesheet class attribute; a short title
representing the image (e.g. in tooltips)
src = reference to the image
alt = alternative text for the image (accessibility)
=================== Base URI ===============================
base URI of the document (empty content)
i18n = the language of the title text
href = URI associated with the document; all relative URI references
get interpreted relative to this base -->
(internationalisation inherited from the parent head tag)
=================== Clip Elements ===============================
Clip tag containing information for a specific fragment
attrs = the base language of the clip's attribute values and
of its content elements; the stylesheet class attribute;
a short title representing the clip (e.g. in tooltips)
track = defines different sets of clip tags; clip tags of same
type cannot overlap temporally
start = specifies the start time of the clip; specified in
time relative to the basetime of the header
[NOT INCLUDED IN OGG DOCUMENT]
end = specifies the end time of the clip; specified in
time relative to the basetime of the header
[NOT INCLUDED IN OGG DOCUMENT]
================== The Anchor Element ================================
A tag containing information for a specific clip
attrs = the base language of the clip's attribute values and
of its content elements; the stylesheet class attribute;
a short title representing the anchor (e.g. in tooltips)
href = specifies the location of a Web resource, thus defining a
link between the current element (the source anchor) and the
destination anchor given by this attribute
rel = Specifies the relationship between the current document and
the target URL
rev = Specifies the relationship between the target URL and the
current document
a tag contains anchor text being a textual description of the link
between the current element (the source anchor) and the destination
anchor given by the href attribute