1、 Reference numberISO/IEC 24752-3:2008(E)ISO/IEC 2008INTERNATIONAL STANDARD ISO/IEC24752-3First edition2008-02-15Information technology User interfaces Universal remote console Part 3: Presentation template Technologies de linformation Interfaces utilisateur Console distance universelle Partie 3: Mod
2、le de prsentation ISO/IEC 24752-3:2008(E) PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Adobes licensing policy, this file may be printed or viewed but shall not be edited unless the typefaces which are embedded are licensed to and installed on the computer performi
3、ng the editing. In downloading this file, parties accept therein the responsibility of not infringing Adobes licensing policy. The ISO Central Secretariat accepts no liability in this area. Adobe is a trademark of Adobe Systems Incorporated. Details of the software products used to create this PDF f
4、ile can be found in the General Info relative to the file; the PDF-creation parameters were optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In the unlikely event that a problem relating to it is found, please inform the Central Secr
5、etariat at the address given below. COPYRIGHT PROTECTED DOCUMENT ISO/IEC 2008 All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in
6、writing from either ISO at the address below or ISOs member body in the country of the requester. ISO copyright office Case postale 56 CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyrightiso.org Web www.iso.org Published in Switzerland ii ISO/IEC 2008 All rights reservedIS
7、O/IEC 24752-3:2008(E) ISO/IEC 2008 All rights reserved iiiContents Page Foreword iv Introduction v 1 Scope 1 2 Conformance1 3 Normative references 2 4 Terms and definitions .2 5 Relation to other standards 3 5.1 Relation to XML3 5.2 MIME type .3 6 Structure of a presentation template.3 6.1 General3
8、6.2 The name attribute.4 6.3 The id attribute.4 6.4 The cohesion attribute 4 6.5 The element 4 6.6 The element 4 6.7 Presentation template properties from DCMI .5 6.8 Grouped abstract interactors .5 7 Groups 5 7.1 General5 7.2 The id attribute.5 7.3 The navindex attribute 6 7.4 The cohesion attribut
9、e 6 8 Interactors 6 8.1 General6 8.2 Interactor attributes.7 8.3 The interactor.8 8.4 The interactor .9 8.5 The interactor9 8.6 The interactor .9 8.7 The interactor .10 8.8 The interactor10 8.9 The interactor 10 8.10 The interactor 10 8.11 The interactor11 Annex A (informative) XML schema definition
10、 for presentation template .12 Annex B (informative) Example user interface socket for a digital thermometer .13 Annex C (informative) Example presentation template for a digital thermometer 15 Annex D (informative) Binding matrix for interactors and socket elements16 Bibliography 18 ISO/IEC 24752-3
11、:2008(E) iv ISO/IEC 2008 All rights reservedForeword ISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the developme
12、nt of International Standards through technical committees established by the respective organization to deal with particular fields of technical activity. ISO and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental,
13、 in liaison with ISO and IEC, also take part in the work. In the field of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2. The main task of the jo
14、int technical committee is to prepare International Standards. Draft International Standards adopted by the joint technical committee are circulated to national bodies for voting. Publication as an International Standard requires approval by at least 75 % of the national bodies casting a vote. Atten
15、tion is drawn to the possibility that some of the elements of this document may be the subject of patent rights. ISO and IEC shall not be held responsible for identifying any or all such patent rights. ISO/IEC 24752-3 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology, S
16、ubcommittee SC 35, User interfaces. ISO/IEC 24752 consists of the following parts, under the general title Information technology User interfaces Universal remote console: Part 1: Framework Part 2: User interface socket description Part 3: Presentation template Part 4: Target description Part 5: Res
17、ource description ISO/IEC 24752-3:2008(E) ISO/IEC 2008 All rights reserved vIntroduction A presentation template (PreT) in the presentation template markup language is a user-oriented representation of a target described in a user interface socket specification. It maps user interface socket element
18、s to interaction (presentation and user input) mechanisms. It provides a structure into which elements of the presentation are embedded. The presentation elements themselves are modality-independent, i.e. capable of adaptation to any delivery context. The main content of a presentation template is a
19、 structured set of abstract interactors. These are user interface elements that describe a choice for the user to make, some input to obtain from the user, or some output to convey to the user. Each interactor is bound to a single socket element. NOTE The PreT markup language is similar to the XForm
20、s form controls. However, significant differences exist. Firstly, PreT markup language does not include the specification of natural language atomic resources such as labels and help texts. These atomic resources are defined externally. Secondly, PreT interactors bind to user interface socket elemen
21、ts, and XForms form controls bind to elements in an XForms data model. As a brief introduction to the presentation template concept, a short example is presented, showing a complete presentation template for a digital thermometer whose user interface socket is included in Annex B. The thermometer is
22、 always on, as it is connected to the mains. It displays the current temperature, maximum and minimum temperatures, and can do this in Fahrenheit or centigrade. It includes a command for resetting the maximum and minimum temperatures. It requires the user to provide confirmation of a reset operation
23、. EXAMPLE http:/myurc.org/iso24752-3/2007 Each of the constants, variables, commands and notify elements within the socket is represented by an interactor within the presentation template, and a grouping structure is provided, grouping the temperature readings together. The structure also provides a
24、 default order for presentation of the elements (the order of appearance within the description) and indicates which elements are relevant when the user is being asked to confirm a reset command (notify state “checkReset” is active). NOTE Resources such as labels, help texts and keywords pertaining
25、to elements of a presentation template are not included within the presentation template itself but provided separately. Resources reference presentation template elements using the presentation templates name (URI) and the element ids. Refer to ISO/IEC 24752-5 for further details. INTERNATIONAL STA
26、NDARD ISO/IEC 24752-3:2008(E) ISO 2008 All rights reserved 1Information technology User interfaces Universal remote console Part 3: Presentation template 1 Scope ISO/IEC 24752 is a multi-part International Standard to facilitate operation of information and electronic products through remote and alt
27、ernative interfaces and intelligent agents. This part of ISO/IEC 24752 defines a language (presentation template markup language) for describing modality-independent user interface specifications, or presentation templates, associated with a user interface socket description as defined by ISO/IEC 24
28、752-2. The purpose of a presentation template is to provide the URC with hints as to how to build a usable and consistent user interface for a target device or service that is described in a user interface socket description as referenced above. The hints are of an abstract nature, and are intended
29、to apply to any delivery context. These hints primarily provide information on structuring, grouping and linearization of the socket elements. Elements within a presentation template can be referenced by atomic resources whose format is given by ISO/IEC 24752-5. Taken together, a presentation templa
30、te, socket description, and appropriate atomic resources can be used to construct a user interface in any modality (e.g. visual, auditory, tactile, multimodal), through which a user can access and control a target. 2 Conformance An extensible markup language (XML) file is a presentation template in
31、conformance with this part of ISO/IEC 24752 if it has the MIME type specified in 5.2, if applicable, and its root element is the element as defined in Clause 6. An XML file does not conform to this part of ISO/IEC 24752 if it uses any element, attribute or value that is not part of this specificatio
32、n. NOTE 1 Target manufacturers who want to add information to a presentation template beyond the elements, attributes and values specified in this part of ISO/IEC 24752 can do so by externally providing (proprietary) resource descriptions that point into the structure of a presentation template. Ref
33、er to ISO/IEC 24752-5 for details. NOTE 2 Future versions of this part of ISO/IEC 24752 might add new elements, attributes and values. They might also drop the policy of strict language conformance in favor of allowing for language extensions. Therefore, URC manufacturers are encouraged to implement
34、 their URCs so that unrecognized markup is ignored without failing. ISO/IEC 24752-3:2008(E) 2 ISO 2008 All rights reserved3 Normative references The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undate
35、d references, the latest edition of the referenced document (including any amendments) applies. ISO/IEC 24752-1, Information technology User interfaces Universal remote console Part 1: Framework ISO/IEC 24752-2, Information technology User interfaces Universal remote console Part 2: User interface s
36、ocket description ISO/IEC 10646, Information technology Universal Multiple-Octet Coded Character Set (UCS) ISO 15836:2003, Information and documentation The Dublin Core metadata element set DCMI Metadata Terms, http:/dublincore.org/documents/dcmi-terms/ IETF RFC 2046, Multipurpose Internet Mail Exte
37、nsions (MIME) Part Two: Media Types, November 1996, http:/www.ietf.org/rfc/rfc2046.txt IETF RFC 3986, Uniform Resource Identifier (URI): Generic Syntax, January 2005, http:/www.ietf.org/rfc/rfc3986.txt W3C Recommendation: Extensible Markup Language (XML) 1.0 (Third Edition), 04 February 2004, http:/
38、www.w3.org/TR/2004/REC-xml-20040204/ W3C Recommendation: Namespaces in XML, World Wide Web Consortium 14 January 1999, http:/www.w3.org/TR/1999/REC-xml-names-19990114/ W3C Recommendation: XML Schema Part 2: Datatypes, W3C Recommendation 02 May 2001, http:/www.w3.org/TR/2001/REC-xmlschema-2-20010502/
39、 4 Terms and definitions For the purposes of this document, the terms and definitions given in ISO/IEC 24752-1 and the following apply. 4.1 interactor abstract or concrete user interface element that describes a choice for the user to make, some input to obtain from the user, or some output to conve
40、y to the user 4.2 abstract interactor interactor that describes the selection, input, or output for a user interaction, without constraining the concrete form of the interaction 4.3 concrete interactor interactor that describes the selection, input, or output for a user interaction, and includes inf
41、ormation on the visual or non-visual realization of that interaction EXAMPLE a list box or a particular speech grammar ISO/IEC 24752-3:2008(E) ISO 2008 All rights reserved 34.4 uniform resource identifier URI name or address that refers to a resource, as defined in IETF RFC 3986 5 Relation to other
42、standards 5.1 Relation to XML This specification defines an XML based language. Markup in XML is case sensitive. Tags and attributes are not localizable, i.e. their names and values are identical for all international languages. As with all XML based languages, white space characters immediately sur
43、rounding tags are non-significant. This specification makes use of the namespaces concept defined in http:/www.w3.org/TR/REC-xml-names/ to enable the import of element and attribute names defined elsewhere. All element and attribute names used in this document with no namespace prefix are defined by
44、 this International Standard and are part of the namespace http:/myurc.org/ns/pret. If not used as default namespace, the namespace identifier pret should be used for it. This specification makes use of the following namespaces, and uses the naming convention namespace:prefix (e.g. xsd:schema) when
45、referring to constructs from foreign namespaces. xmlns:xsd=“http:/www.w3.org/2001/XMLSchema“: XML schema definition is used to describe type information for resources. This specification requires version 1.0 of the W3C XML Schema definition as identified by the URI shown. dc: The Dublin Core Metadat
46、a Element Set V1.1 namespace (http:/purl.org/dc/elements/1.1/), as specified in ISO 15836:2003 dcterms: The DCMI Metadata Terms namespace (http:/purl.org/dc/terms). Other namespaces may be included as required. For an XML Schema definition for the PreT markup language see Annex A. 5.2 MIME type A pr
47、esentation template shall have a MIME type of “application/urc-pret+xml”, if applicable (as specified in IETF RFC 2046). 6 Structure of a presentation template 6.1 General A presentation template is modality-independent, and can be thought of as a set of hints for rendering a socket. Elements in the
48、 description are mapped to elements in a user interface socket. A presentation template is defined as an XML document with the following structure. A presentation template document shall be coded in UCS according to ISO/IEC 10646. EXAMPLE ISO/IEC 24752-3:2008(E) 4 ISO 2008 All rights reservedNOTE Wh
49、en the PreT markup language is used in an XML document, its namespace identifier http:/myurc.org/ns/pret shall be included. See the example in Annex B for how to specify the namespace identifier in an XML document. 6.2 The name attribute The element shall have a name attribute. It specifies the name of the presentation template expressed as a globally unique URI. 6.3 The id attribute The element shall have an id attribute providing an ident