Nested Context Language
||This article may be too technical for most readers to understand. (September 2009)|
In the field of digital and interactive television, Nested Context Language (NCL) is a declarative authoring language for hypermedia documents. NCL documents do not contain multimedia elements such as audio or video content; rather they function as a "glue" language that specifies how multimedia components are related. In particular, NCL documents specify how these components are synchronized relative to each other and how the components are composed together into a unified document. Among its main facilities, it treats hypermedia relations as first-class entities through the definition of hypermedia connectors, and it can specify arbitrary semantics for a hypermedia composition using the concept of composite templates.
NCL is an XML application language that is an extension of XHTML, with XML elements and attributes specified by a modular approach. NCL modules can be added to standard web languages, such as XLink and SMIL.
NCL was initially designed for the Web environment, but a major application of NCL is use as the declarative language of theJapanese-Brazilian ISDB-Tb (International Standard for Digital Broadcasting) terrestrial DTV digital television middleware (named Ginga). It is also the first standardized technology of the ITU-T multimedia application framework series of specifications for IPTV (internet protocol television) services. In both cases it is used to develop interactive applications to digital television.
Structure of an NCL document
NCL was designed to be modular to allow for use of subsets of modules according to the needs of the particular application. The 3.1 version of the standard is split into 14 areas with each module assigned to an area. Each module in turn defines one or more XML elements. The areas and associated modules are
- Structure Module
- Media Module
- Context Module
- MediaContentAnchor Module
- CompositeNodeInterface Module
- PropertyAnchor Module
- SwitchInterface Module
- Layout Module
- Presentation Specification
- Descriptor Module
- Timing Module
- Transition Effects
- TransitionBase Module
- Transition Module
- Navigational Key
- KeyNavigation Module
- Presentation Control
- TestRule Module
- TestRuleUse Module
- ContentControl Module
- DescriptorControl Module
- Linking Module
- ConnectorCommonPart Module
- ConnectorAssessmentExpression Module
- ConnectorCausalExpression Module
- CausalConnector Module
- CausalConnectorFunctionality Module
- ConnectorBase Module
- Animation Module
- Import Module
- EntityReuse Module
- ExtendedEntityReuse Module
- Metainformation Module
Profiles are standard subsets of modules. Profiles defined by the standard include
- Full Profile - includes all NCL Modules
- Enhanced Digital TV profile (EDTV) - includes the Structure, Layout, Media, Context, MediaContentAnchor, CompositeNodeInterface, PropertyAnchor, SwitchInterface, Descriptor, Linking, CausalConnectorFunctionality, ConnectorBase, TestRule, TestRuleUse, ContentControl, DescriptorControl, Timing, Import, EntityReuse, ExtendedEntityReuse, KeyNavigation, Animation, TransitionBase, Transition and Metainformation modules
- NCL Basic Digital TV profile (BDTV) - includes the Enhanced Digital TV profiles except for the Animation, TransitionBase and Transition modules
- "H.761 “Nested context language (NCL) and Ginga-NCL” (Rev.): Initial draft of revised text". INTERNATIONAL TELECOMMUNICATION UNION. Retrieved 18 February 2014.
- "Welcome to NCL Composer". PUC-Rio. Retrieved 19 February 2014.
- Marcelo S. Alencar (19 March 2009). Digital Television Systems. Cambridge University Press. p. 198. ISBN 978-0-521-89602-3.
- Shūji Hashimoto (1 January 2000). Multimedia Modeling: Modeling Multimedia Information and Systems : Nagano, Japan, November 13-15, 2000. World Scientific. pp. 72,79,86–87. ISBN 978-981-02-4489-7.
- Carlos de Salles Soares Neto; Luiz Fernando Gomes Soares; Clarisse Sieckenius de Souza (November 2010). "The Nested Context Language reuse features". Journal of the Brazilian Computer Society 16 (4): 229–245.(subscription required)
- Jean-Yves Vion-Dury (2004). Proceedings of the ACM Symposium on Document Engineering. ACM Press. p. 188ff.