1、American National StandardDeveloped byfor Information Technology Protocol to Facilitate Operation ofInformation and Electronic Productsthrough Remote and AlternativeInterfaces and Intelligent Agents Presentation TemplateANSI INCITS 391-2005ANSIINCITS391-2005Copyright American National Standards Inst
2、itute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-AN
3、SIINCITS 391-2005American National Standardfor Information Technology Protocol to Facilitate Operation ofInformation and Electronic Productsthrough Remote and AlternativeInterfaces and Intelligent Agents Presentation TemplateSecretariatInformation Technology Industry CouncilApproved August 12, 2005A
4、merican National Standards Institute, Inc.Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-Approval of an American National Standard requires review by ANSI that therequirements f
5、or due process, consensus, and other criteria for approval havebeen met by the standards developer.Consensus is established when, in the judgement of the ANSI Board ofStandards Review, substantial agreement has been reached by directly andmaterially affected interests. Substantial agreement means mu
6、ch more thana simple majority, but not necessarily unanimity. Consensus requires that allviews and objections be considered, and that a concerted effort be madetowards their resolution.The use of American National Standards is completely voluntary; theirexistence does not in any respect preclude any
7、one, whether he has approvedthe standards or not, from manufacturing, marketing, purchasing, or usingproducts, processes, or procedures not conforming to the standards.The American National Standards Institute does not develop standards andwill in no circumstances give an interpretation of any Ameri
8、can NationalStandard. Moreover, no person shall have the right or authority to issue aninterpretation of an American National Standard in the name of the AmericanNational Standards Institute. Requests for interpretations should beaddressed to the secretariat or sponsor whose name appears on the titl
9、epage of this standard.CAUTION NOTICE: This American National Standard may be revised orwithdrawn at any time. The procedures of the American National StandardsInstitute require that action be taken periodically to reaffirm, revise, orwithdraw this standard. Purchasers of American National Standards
10、 mayreceive current information on all standards by calling or writing the AmericanNational Standards Institute.American National StandardPublished byAmerican National Standards Institute, Inc.25 West 43rd Street, New York, NY 10036Copyright 2005 by Information Technology Industry Council (ITI)All r
11、ights reserved.No part of this publication may be reproduced in anyform, in an electronic retrieval system or otherwise,without prior written permission of ITI, 1250 Eye Street NW, Washington, DC 20005. Printed in the United States of AmericaCAUTION: The developers of this standard have requested th
12、at holders of patents that may berequired for the implementation of the standard disclose such patents to the publisher. However,neither the developers nor the publisher have undertaken a patent search in order to identifywhich, if any, patents may apply to this standard. As of the date of publicati
13、on of this standardand following calls for the identification of patents that may be required for the implementation ofthe standard, no such claims have been made. No further patent search is conducted by the de-veloper or publisher in respect to any standard it processes. No representation is made
14、or impliedthat licenses are not required to avoid infringement in the use of this standard.Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-Copyright American National Standards I
15、nstitute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-ContentsPageForeword . iii1 Scope. 12 Conformance . 13 Normative References . 24 Terms, Definitions and Abbreviated Terms 25 Relation to XML . 36 Overview 37 Structure o
16、f a Presentation Template 47.1 General 47.2 The name attribute. 57.3 The id attribute. 57.4 The cohesion attribute . 57.5 The element. 57.6 The element 57.7 Grouped Abstract Interactors. 58 Groups . 68.1 General 68.2 The id attribute. 68.3 The navindex attribute . 68.4 The cohesion attribute . 69 In
17、teractors 79.1 General 79.2 Interactor Attributes 79.2.1 The id attribute. 79.2.2 The ref attribute 79.2.3 The navindex attribute . 89.2.4 The incremental attribute . 89.2.5 Labels, Help Texts, Keywords, and Access Keys Provided as Resources. 99.3 The Interactor 99.4 The Interactor 99.5 The Interact
18、or 99.6 The Interactor 99.7 The Interactor 10i9.8 The Interactor 109.9 The Interactor . 11Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-Page9.10 The Interactor . 119.11 The Int
19、eractor . 1110 Resources for Presentation Templates . 1211 Core Presentation Template 12AnnexesA XML Schema Definition for PreT . 13B Example User Interface Socket for a Digital Thermometer . 17C Binding Matrix for Interactors and Socket Elements 18D Bibliography . 19iiCopyright American National St
20、andards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-Foreword (This foreword is not part of American National Standard ANSI INCITS 391-2005.)This American National Standard is one in a series on the operation of i
21、nformationand electronic products through remote and alternative interfaces and intelligentagents. The goal of this standard is to define a language for describing modality-inde-pendent user interface specifications, or Presentation Templates.This document contains four annexes. All annexes are info
22、rmative and are not con-sidered part of the standard. Requests for interpretation, suggestions for improvement or addenda, or defect re-ports are welcome. They should be sent to the InterNational Committee for Informa-tion Technology Standards (INCITS), ITI, 1250 Eye Street, NW, Suite 200,Washington
23、, DC 20005.This standard was processed and approved for submittal to ANSI by INCITS. Com-mittee approval of this standard does not necessarily imply that all committee mem-bers voted for its approval. At the time it approved this standard, INCITS had thefollowing members:Karen Higginbottom, ChairJen
24、nifer Garner, SecretaryOrganization Represented Name of RepresentativeAIM Global Dan Mullen Charles Biss (Alt.)American National Standards Institute . Lisa Rajchel Apple Computer, Inc. David Michael Electronic Industries Alliance Edward Mikoski, Jr. Henry Cuschieri (Alt.)EMC Corporation Gary Robinso
25、n Farance, Inc. Frank Farance Hewlett-Packard Company. Karen Higginbottom Steve Mills (Alt.)Scott Jameson (Alt.)IBM Corporation Ronald F. Silletti Institute for Certification of Computer Professionals. Kenneth M. Zemrowski Thomas Kurihara (Alt.)IEEE . Judith Gorman Richard Holleman (Alt.)Robert Prit
26、chard (Alt.)Intel Norbert Mikula Dave Thewlis (Alt.)Philip Wennblom (Alt.)Lexmark International . Don Wright Dwight Lewis (Alt.)Paul Menard (Alt.)Microsoft Corporation . Isabelle Valet-Harper Don Stanwyck (Alt.)Mike Ksar (Alt.)National Institute of Standards or are based on Socket elements who have
27、a subelement with attribute closed=“false“. The Interactor may bind to any of the following Socket elements, provided options are specified for them, and they have secret=“false“: Variable has subelement; or its type is derived by enumeration of string values Variable of type xsd:decimal or xsd:doub
28、le (or type derived from any of these) Variable of type xsd:duration (or type derived from xsd:duration) Variable of type xsd:dateTime, xsd:time, xsd:date, xsd:gYearMonth, xsd:gYear, xsd:gMonthDay, xsd:gDay or xsd:gMonth (or any type derived from one of these types) In the PreT Markup Language, list
29、s of numbers shall be static (not dynamic). 9.7 The Interactor The Interactor allows the user to make multiple selections from multiple choices. EXAMPLE The Interactor shall have a set of options from which the user can select. The set of options may be closed or open. See 9.6 for details how to spe
30、cify closed and open option sets in the Socket. The Interactor may bind to any of the following Socket elements, provided options are specified for them, and they have secret=“false“: Variable is of a type that is derived by list from one of the following types or any derivation from them: xsd:strin
31、g, xsd:duration, xsd:dateTime, xsd:time, xsd:date, xsd:gYearMonth, xsd:gYear, xsd:gMonthDay, xsd:gDay or xsd:gMonth 9.8 The Interactor The Interactor allows selection from a sequential range of values. EXAMPLE The Interactor shall bind to a Socket variable that has a range of values defined in the S
32、ocket Description. Ranges are defined in the Socket Description by deriving types by restriction. The Interactor shall bind to a variable whose type has a totally ordered value space, i.e., its fundamental facet ordered=“total“. See ANSI INCITS 390-2005 for details. The Interactor may bind to any of
33、 the following Socket elements, provided a range is specified for them, and they have secret=“false“: Variable whose type is derived from xsd:decimal or xsd:double Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permi
34、tted without license from IHS-,-,-ANSI INCITS 391-2005 11 Variable whose type is derived from xsd:duration Variable whose type is derived from xsd:dateTime, xsd:time, xsd:date, xsd:gYearMonth, xsd:gYear, xsd:gMonthDay, xsd:gDay or xsd:gMonth 9.9 The Interactor The Interactor allows for user-triggere
35、d actions. EXAMPLE The Interactor shall bind to a Socket command. 9.10 The Interactor The Interactor displays a value that cannot be edited by the user. EXAMPLE The Interactor shall be bound to one of the following Socket elements: Any static the value of the static is displayed Any variable the val
36、ue of the variable is displayed Any command the status of the command is displayed 9.11 The Interactor A modal dialog is an interaction that suspends normal operation of the user interface until the dialog has been handled. It is used to present information, warnings and errors generated by a Target
37、. The Interactor shall bind to a Socket element. A Interactor is represented by the following markup: EXAMPLE 1 A may contain other Interactors. These are Interactors that are necessary or helpful to the user in handling the notification. By default, all Interactors are readable by a user when a not
38、ify state is active. However, only a subset of the Interactors may be relevant during a notify state. Inclusion of an Interactor within a provides a hint that this Interactor is important in handling this notification. For example, a television may notify a user that their chosen channel is currentl
39、y unavailable and offer the option of changing to the nearest available channel or staying on the current channel. Information on the current channel would be helpful in making this decision. The Presentation Template for the television would indicate this by specifying the as shown: EXAMPLE 2 trigg
40、er id=“chooseCurrent“ ref=“http:/ Note that the same variable “channel“ in the Socket will be bound to an or Interactor elsewhere in the Presentation Template, allowing the user to directly control the current channel. The interactors within a may be grouped using the element. Copyright American Nat
41、ional Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-ANSI INCITS 391-2005 12 10 Resources for Presentation Templates This clause is informative. Resources such as labels, help texts and keywords pertaining
42、 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 ANSI INCITS 393-2005 for further details. 11 Core Pre
43、sentation Template A Core Presentation Template is a special kind of Presentation Template for a particular Socket. The Core Presentation Template shall include an Interactor (as defined in Clause 9) for every , , and element in the Socket (as specified in the Socket Description), with the exception
44、 of and elements intended for internal use only (i.e., variables that do not appear in the Targets built-in user interface and are not required by the user in order to operate the Target). This includes Socket timeout variables/statics and notify timeout variables/statics. The Core Presentation Temp
45、late shall not include Interactors that bind to any other Socket. Refer to ANSI INCITS 390-2005 for details of Socket elements. Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-AN
46、SI INCITS 391-2005 13Annex A (informative) XML Schema Definition for PreT Presentation Template Mark-up Language - Version 2005 International Committee for Information Technology Standards (INCITS) This is the XML schema for the Presentation Template Mark- up Language - Used in the URC standard. See
47、 http:/www.incits.org/tc_home/v2.htm. English 2004-01-28 2004-01-28 Copyright 2004 INCITS Defines an enumeration of cohesion levels for Interactor grouping. Base type for all Interactor types. Provides attributes common to all interactors. Interactor: Enables free-form data entry Copyright American
48、National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-ANSI INCITS 391-2005 14 Interactor: Displays a value that cannot be edited by the user Interactor: Allows the user to make multiple selections from a set of choices Interactor: Allows the user to make a single selection from a set of choices Interactor: Allows selection from a sequential range of values Interactor: Enables free-form data entry in a multiline format Interactor: For entering information that is considered sens