Abstract
The use of declarative languages in digital TV systems, as well as IPTV systems, facilitates the creation of interactive applications. However, when an application becomes more complex, with many user interactions, for example, the hypermedia document that describes that application becomes bigger, having many lines of XML code. Thus, specification reuse is crucial for an efficient application development process. This paper proposes the XTemplate 3.0 language, which allows the creation of NCL hypermedia composite templates. Templates define generic structures of nodes and links to be added to a document composition, providing spatio-temporal synchronization semantics to it. The use of hypermedia composite templates aims at facilitating the authoring work, allowing the reuse of hypermedia document common specifications. Using composite templates, hypermedia documents become simpler and easier to be created. The 3.0 version of XTemplate adds new facilities to the XTemplate language, such as the possibility of specifying presentation information, the attribution of values to variables and connector parameters during template processing time and the template ability to extend other templates. As an application of XTemplate, this work extends the NCL 3.0 declarative language with XTemplate, adding semantics to NCL contexts and providing document structure reuse. In addition, this paper also presents two authoring tools: the template processor and the wizard to create NCL documents using templates. The wizard tool allows the author to choose a template included in a template base and create an NCL document using that template. The template processor transforms an NCL document using templates into a standard NCL 3.0 document according to digital TV and IPTV standards.
Similar content being viewed by others
References
ABNT (2007) Digital terrestrial television—Data coding and transmission specification for digital broadcasting—Part 2: Ginga-NCL for fixed and mobile receivers—XML application language for application coding. ABNT NBR 15606-2:2007 standard
ABNT (2010) Digital terrestrial television—Data coding and transmission specifi cation for digital broadcasting—Part 4: Ginga-J—The environment for the execution of procedural applications. ABNT NBR 15606-4:2010 standard
Beszteri I, Vuorimaa P (2005) An XForms based solution for adaptable documents editing. In: Proceedings of the 2005 ACM symposium on applied computing, pp 769–775
Bilasco IM, Gensel J, Villanova-Oliver M (2005) STAMP: a model for generating adaptable multimedia presentations. Multimed Tools Appl 25(3):361–375
Celentano A, Gaggi O (2003) Template-based generation of multimedia presentations. Int J Softw Eng Knowl Eng 13(4):419–445
Deitel HM, Deitel PJ (2003) Java how to program, 5th edn. Prentice Hall
Deltour R, Roisin C (2006) The limsee3 multimedia authoring model. In: Proceedings of the 2006 ACM symposium on document engineering, pp 173–175
dos Santos JAF, Muchaluat-Saade DC (2010) XTemplate 3.0: adding semantics to hypermedia compositions and providing document structure reuse. In: Proceedings of the 2010 ACM symposium on applied computing, pp 1892–1897
ETSI (2006) Digital Video Broadcasting (DVB); Multimedia Home Platform (MHP) Specification 1.1.1. ETSI TS 102 812 V1.2.2
Gaggi O, Celentano A (2002) A visual authoring environment for multimedia presentations on the World Wide Web. In: International symposium on multimedia software engineering, pp 206–213
Gaggi O, Celentano A (2005) Modeling synchronized hypermedia presentations. Multimed Tools Appl 27(1):53–78
Ierusalimschy R, de Figueiredo LH, Celes W (2006) Lua 5.1 Reference Manual. Roberto Ierusalimschy
ISO/IEC (2005) Coding of audio-visual objects—Part 11: scene description and application engine. ISO/IEC 14496-11:2005
ITU (2009) Nested Context Language (NCL) and Ginga-NCL for IPTV services. ITU-T Recommendation H.761. http://www.itu.int/rec/T-REC-H.761-200904-P
Jansen J, Bulterman DCA (2009) SMIL State: an architecture and implementation for adaptative time-based web applications. Multimed Tools Appl 43(3):203–224
Medvidovic N, Taylor RN (2000) A classification and comparison framework for software architecture description languages. IEEE Trans Softw Eng 26(1):70–93
Muchaluat-Saade DC, Soares LFG (2002) XConnector & XTemplate: improving the expressiveness and reuse in Web Authoring Languages. New Rev Hypermed Multimed 8(1):139–169
Sans V, Laurent D (2006) Navigating with inheritance in hypermedia presentations. In: Proceedings of the 2006 ACM symposium on applied computing, pp 1385–1392
Scherp A, Boll S (2005) Context-driven smart authoring of multimedia content with xSMART. In: Proceedings of the 13th annual ACM international conference on multimedia, pp 802–803
Silva HVO (2005) X-SMIL: Aumentando Reuso e Expressividade em Linguagens de Autoria Hipermídia. Master thesis, Computer Science Department, PUC-Rio, Rio de Janeiro, Brazil (in Portuguese)
Soares LFG, Rodrigues RF (2005) Nested Context Model 3.0 Part 1—NCM Core. Technical report, Computer Science Department, PUC-Rio, Rio de Janeiro, Brazil
Soares LFG, Rodrigues RF, Muchaluat-Saade DC (2000) Modeling, authoring and formatting hypermedia documents in the hyperprop system. ACM Multimedia Systems Journal—ACM Multimedia 8(2):118–134
Soares LFG, Rodrigues RF, Cerqueira R, Barbosa SDJ (2009) Variable handling in time-based XML declarative languages. In: Proceedings of the 2009 ACM symposium on applied computing, pp 1821–1828
Soares LFG, Rodrigues RF, Cerqueira R, Barbosa SDJ (2010) Variable and state handling in NCL. Multimed Tools Appl 50:465–489
Thompson S, King P, Schmitz P (2007) Declarative extensions of XML Languages. In: Proceedings of the 2007 ACM symposium on document engineering, pp 89–91
W3C (1999) XML Path Language (XPath) Version 1.0. W3C Recommendation. http://www.w3.org/TR/xpath
W3C (1999) XSL Transformations (XSLT) Version 1.0. W3C Recommendation. http://www.w3.org/TR/xslt
W3C (2000) Document Object Model (DOM) level 2 core specification. W3C Recommendation DOM-Level-2-Core-20001113
W3C (2001) Semantic Web Activity. http://www.w3.org/2001/sw/
W3C (2008) Synchronized Multimedia Integration Language—SMIL 3.0 specification. W3C Recommendation. http://www.w3c.org/TR/SMIL3
Author information
Authors and Affiliations
Corresponding author
Additional information
This work was partially supported by CNPq, FAPERJ and CAPES.
Rights and permissions
About this article
Cite this article
dos Santos, J.A.F., Muchaluat-Saade, D.C. XTemplate 3.0: spatio-temporal semantics and structure reuse for hypermedia compositions. Multimed Tools Appl 61, 645–673 (2012). https://doi.org/10.1007/s11042-011-0732-2
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-011-0732-2