DITA 1.3 Feature Article: User Assistance Enhancements in DITA 1.3

Similar documents
DITA 1.2 Whitepaper: Tools and DITA-Awareness

DITA 1.3 Feature Article: Using DITA 1.3 Troubleshooting

DITA 1.2 Feature Article: Using XLIFF to Translate DITA Projects

DITA 1.3 Feature Article: About the DITA 1.3 release management domain

DITA 1.2 Feature Description: Improved glossary and terminology handling

DITA Feature Article Short Descriptions Shouldn't Be a Tall Order: Writing Effective Short Descriptions

SCA JMS Binding v1.1 TestCases Version 1.0

TestCases for the SCA Assembly Model Version 1.1

Test Assertions for the SCA Assembly Model Version 1.1 Specification

ISO/IEC JTC 1/SC 40/WG 1

SAML V2.0 EAP GSS SSO Profile Version 1.0

OASIS - Artifact naming guidelines

SCA JMS Binding Specification v1.1 Test Assertions Version 1.0

Service Component Architecture Client and Implementation Model for C++ Test Cases Version 1.1

Key Management Interoperability Protocol Crypto Profile Version 1.0

saml requesting attributes v1.1 wd01 Working Draft January 2016 Standards Track Draft Copyright OASIS Open All Rights Reserved.

Test Assertions for the SCA Web Service Binding Version 1.1 Specification

TestCases for the SCA Web Service Binding Specification Version 1.1

TestCases for the SCA Web Service Binding Specification Version 1.1

OpenOffice Specification Sample

Identity in the Cloud Outsourcing Profile Version 1.0

KMIP Opaque Managed Object Store Profile Version 1.0

SDLC INTELLECTUAL PROPERTY POLICY

SAML V2.0 Profile for Token Correlation

This document is a preview generated by EVS

Using the AMQP Anonymous Terminus for Message Routing Version 1.0

SAML v2.0 Protocol Extension for Requesting Attributes per Request Version 1.0

SCA-J POJO Component Implementation v1.1 TestCases Version 1.0

Level of Assurance Authentication Context Profiles for SAML 2.0

SAML v2.0 Protocol Extension for Requesting Attributes per Request Version 1.0

OASIS Specification Document Template Usage

TestCases for the SCA POJO Component Implementation Specification Version 1.1

XDI Requirements and Use Cases

Test Assertions for the SCA Policy Framework 1.1 Specification

TOSCA Test Assertions Version 1.0

Conceptual Overview of WS-Calendar CD01

KMIP Storage Array with Self-Encrypting Drives Profile Version 1.0

SAML v2.0 Protocol Extension for Requesting Attributes per Request Version 1.0

KMIP Opaque Managed Object Store Profile Version 1.0

Open Command and Control (OpenC2) Language Specification. Version 0.0.2

An OASIS White Paper. Open by Design. The Advantages of the OpenDocument Format (ODF) ##### D R A F T ##### By the OASIS ODF Adoption TC For OASIS

{Describe the status and stability of the specification here.}

Network Working Group. Category: Informational April A Uniform Resource Name (URN) Namespace for the Open Geospatial Consortium (OGC)

IETF TRUST. Legal Provisions Relating to IETF Documents. Approved November 6, Effective Date: November 10, 2008

Test Assertions for the SCA_J Common Annotations and APIs Version 1.1 Specification

Deployment Profile Template Version 1.0 for WS-Reliability 1.1

SAML V2.0 Profile for Mandator Credentials

XACML v3.0 XML Digital Signature Profile Version 1.0

Identity in the Cloud PaaS Profile Version 1.0

Identity in the Cloud PaaS Profile Version 1.0

Basic Profile 1.0. Promoting Web Services Interoperability Across Platforms, Applications and Programming Languages

Network Working Group. Obsoletes: draft-ietf-dhc-new-opt-msg-00.txt June 2000 Expires December 2000

KMIP Symmetric Key Lifecycle Profile Version 1.0

OpenFlow Trademark Policy

Request for Comments: 3401 Updates: 2276 October 2002 Obsoletes: 2915, 2168 Category: Informational

ECMAScript Test Suite

IETF TRUST. Legal Provisions Relating to IETF Documents. February 12, Effective Date: February 15, 2009

EMPLOYER CONTRIBUTION AGREEMENT

Network Working Group. Category: Standards Track <draft-aboba-radius-iana-03.txt> 30 March 2003 Updates: RFC IANA Considerations for RADIUS


OSLC Change Management Version 3.0. Part 2: Vocabulary

SWOP Specifications for Web Offset Publications Edition 10.0 Errata

PPS (Production Planning and Scheduling) Part 3: Profile Specifications, Version 1.0

PPS (Production Planning and Scheduling) Part 1: Core Elements, Version 1.0

SSTC Response to Security Analysis of the SAML Single Sign-on Browser/Artifact Profile

SFF specifications are available at SFF-TA Specification for

SSC-WG4 Certification Process

Wireless Innovation Forum Contribution

XACML Profile for Requests for Multiple Resources

Reference Release Definition for Parlay/OSA(Open Service Access) In OMA Service Environment (PIOSE)

OIX DDP. Open-IX Document Development Process draft July 2017

ECMA-404. The JSON Data Interchange Syntax. 2 nd Edition / December Reference number ECMA-123:2009

Network Working Group. November 1999

Let s Exploit DITA: How to automate an App Catalog

Conexxus Standards Documentation Guide

Testbed-12 Testbed-12 GeoPackage Mobile Apps Integration Engineering Report

XACML v3.0 Hierarchical Resource Profile Version 1.0

Recommendations for LXI systems containing devices supporting different versions of IEEE 1588

Request for Comments: 4633 Category: Experimental August 2006

TestCases for the SCA_J Common Annotations and APIs Version 1.1 Specification

The Benefits of CSS. Less work: Change look of the whole site with one edit

The OpenVX Buffer Aliasing Extension

National Computerization Agency Category: Informational July 2004

Speaker Notes. IBM Software Group Rational software. Exporting records from ClearQuest

One Identity Starling Two-Factor Authentication. Administration Guide

Intel RealSense Depth Module D400 Series Software Calibration Tool

Test Assertions Part 1 - Test Assertions Model Version 1.0

Development SFF-TA-1007 Rev SFF specifications are available at SFF-TA-1007.

Cloud Application Management for Platforms (CAMP) Test Assertions Version 1.1

One Identity Starling Two-Factor Authentication

SOA-EERP Business Service Level Agreement Version 1.0

Specification for TRAN Layer Services

Public Draft Release Version 1.0

Intel RealSense D400 Series Calibration Tools and API Release Notes

* Network Working Group. Expires: January 6, 2005 August A URN namespace for the Open Geospatial Consortium (OGC)

Ecma International Policy on Submission, Inclusion and Licensing of Software

Category: Informational November 2000

UBL NDR 2.0 Checklist

Position Paper: Facets for Content Components

ECMA-403. NFCIP-2 Test Methods. 1 st Edition / June Reference number ECMA-123:2009

Transcription:

An OASIS DITA Adoption Technical Committee Publication DITA 1.3 Feature Article: User Assistance Enhancements in DITA 1.3 Author: Chris Goolsby On behalf of the DITA Adoption Technical Committee Date: 1 August 2016 This is a Non-Standards Track Work Product and is not subject to the patent provisions of the OASIS IPR Policy.

OASIS White Paper OASIS (Organization for the Advancement of Structured Information Standards) is a not-for-profit, international consortium that drives the development, convergence, and adoption of e-business standards. Members themselves set the OASIS technical agenda, using a lightweight, open process expressly designed to promote industry consensus and unite disparate efforts. The consortium produces open standards for Web services, security, e-business, and standardization efforts in the public sector and for application-specific markets. OASIS was founded in 1993. More information can be found on the OASIS website at http://www.oasis-open.org. The OASIS DITA Adoption Technical Committee members collaborate to provide expertise and resources to educate the marketplace on the value of the DITA OASIS standard. By raising awareness of the benefits offered by DITA, the DITA Adoption Technical Committee expects the demand for, and availability of, DITA conforming products and services to increase, resulting in a greater choice of tools and platforms and an expanded DITA community of users, suppliers, and consultants. DISCLAIMER: All examples presented in this article were produced using one or more tools chosen at the author's discretion and in no way reflect endorsement of the tools by the OASIS DITA Adoption Technical Committee. This white paper was produced and approved by the OASIS DITA Adoption Technical Committee as a Committee Draft. It has not been reviewed and/or approved by the OASIS membership at-large. Copyright 2016 OASIS. All rights reserved. All capitalized terms in the following text have the meanings assigned to them in the OASIS Intellectual Property Rights Policy (the "OASIS IPR Policy"). The full Policy may be found at the OASIS website. This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published, and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this section are included on all such copies and derivative works. However, this document itself may not be modified in any way, including by removing the copyright notice or references to OASIS, except as needed for the purpose of developing any document or deliverable produced by an OASIS Technical Committee (in which case the rules applicable to copyrights, as set forth in the OASIS IPR Policy, must be followed) or as required to translate it into languages other than English. The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns. This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Document History Revision Date Author Summary First Draft 18 June 2016 Goolsby Initial draft Final Draft 1 August 2016 Goolsby Final draft 2 Last revision 1 August 2016

Table of Contents User Assistance Enhancements in DITA 1.3. 4 Introduction4 Enhanced > Metadata for Maps and Topics 4 Target Display Information6 Conclusion.8 DITA 1.3 Feature Article: User Assistance Enhancements in DITA 1.3 3

OASIS White Paper User Assistance Enhancements in DITA 1.3 Introduction DITA 1.3 provides enhanced support for context-sensitive help and other types of user assistance (UA). Previously, the only support for help was in the > element in a topic s <prolog> or a map s <bookmeta> and <topicmeta> elements. Attributes on > enabled you to provide a help ID and the name of an application associated with that ID. While you could have any number of > elements, this support did not cover many other aspects of contextsensitive help systems. For example, there was also no way to resolve conflicts between > information defined in a map <topicref> element and > information defined in a topic <prolog>. The 1.3 release corrects this and enables you to provide much more help-related information directly in your DITA source. The following UA enhancements are available in the 1.3 release: Enhanced > metadata for maps and topics New > attributes enable you to specify any number of help targets in the same DITA source. A help target is a topic or other content to be displayed when help is called from a particular place in the user interface. You can identify the target based on a context ID, a string, or both at the same time. You can also specify how to resolve any conflicts between the metadata in a map and a topic. Target display information The new <ux-window> element for use in maps enables you to provide very specific information about how to display the window containing the help target. This information is referenced from the new > @ux-windowref attribute. While these enhancements provide additional support for traditional tri-pane help systems, they also give you great flexibility to support and manage new types of help systems being developed both now and in the future. For example, you can now support the following use cases: One set of DITA source supports multiple help applications. Each application might have its own way to handle and process help metadata, but you can support them all in your source. One set of DITA source supports multiple product contexts. Again, each context can have its own help metadata defined in the source. One set of DITA source supports multiple display environments. For each display environment, you can provide clear instructions on how to position your help window and what features should be available. Whether tri-pane help, embedded user assistance, wiki help, or whatever new help systems the industry spawns, you can provide the needed display information right in your source. Note that support for these UA enhancements is dependent on your DITA processor. Check to see whether your processor has been updated to support the new markup before using it. Enhanced > Metadata for Maps and Topics With the DITA 1.3 UA enhancements, you can easily support multiple help applications and platforms. The new mapping metadata supports the many different ways that an application might call a help topic. It also enables you to resolve any conflicts between the metadata in a topic and its map. This flexibility enables you to provide the right guidance whether your help is called from an iphone, an Android phone, a desktop program, or any other device or application. The > element has the following new attributes: @appid Relates the topic to the specified ID value. 4 Last revision 1 August 2016

Note that the @id attribute has been deprecated in 1.3. You should use this new attribute instead. @ux-context-string Relates the topic to the specified context-string. @ux-source-priority Specifies how to resolve conflicts between UA callbacks defined in a map or in a topic. You can use the following values with this attribute: topic-and-map Use the IDs from both the topic and the topic reference. topic-only Use the IDs from the topic and ignore any IDs in the topic reference. map-only Use the IDs from the topic reference and ignore any IDs in the topic. map-takes-priority Use the IDs from the topic reference if present, otherwise use the IDs from the topic. topic-takes-priority Use the IDs from the topic if present, otherwise use the IDs from the topic reference. You can now specify callback help IDs using either the @@appid or @ux-context-string attributes. If a context-sensitive help system uses name-value pairs to define the ID, you can use both attributes to define the ID. These new attributes also support the various ways that context-sensitive help systems map topics to user interface elements. A system could use one of the following mapping relationships: one-to-one Where a user interface element is associated with a specific topic one-to-many Where a user interface element is associated with a number of topics many-to-one Where many user interface elements are associated with the same topic The mapping is often implemented using a key, which could be an ID or a name-value pair. For example, a menu item might have a help ID of 236, and the associated UA topic has a matching ID of 236. In a many-to-one relationship, each user interface element might have a different ID but still resolve to the same topic. You accomplish this type of mapping through an alias, enabling one topic to have many IDs. In a single-source environment, a topic might be used in different context-sensitive help systems for different products. For example, a topic explaining a Print dialog box might be used in several help systems. This raises the possibility of mapping conflicts, such as when the dialog box help ID in one application is 876 but in a different application the dialog box ID is 395. In this case, 876 might be the ID for a completely different user interface element. The @ux-source-priority attribute provides a way to avoid these potential conflicts by enabling you to specify which ID should be used when conflicting IDs are specified in both the map and the topic. For Example The following example shows how you can use these new attributes in a DITA map: <map> <topicref href="dialog-1.dita"> <topicmeta> appname="ios7a" <b>appid="iphone"</b> <b>ux-content-string="callback_4437"</b> <b>ux-source-priority="map-takes-priority"</b>/> appname="kitkat" <b>appid="droid"</b> <b>ux-content-string="id#4500"</b> <b>ux-source-priority="map-takes-priority"</b>/> </topicmeta> </topicref> </map> In this case, the > metadata supports two outputs: one for Apple and one for Android. You can add any number of additional targets for the referenced topic. DITA 1.3 Feature Article: User Assistance Enhancements in DITA 1.3 5

OASIS White Paper The topic might also have > metadata defined in the <prolog> element: <topic> <prolog> appname="kitkat" <b>appid="droid"</b> <b>ux-content-string="id#4501"</b>/> </prolog> </topic> Note that the @ux-context-string value defined in the topic is different from the one defined in the map. However, since the map metadata has ux-source-priority="map-takes-priority", the help system can easily resolve this conflict in favor of the map s metadata. Target Display Information In addition to supporting help topic mapping from multiple help systems and platforms, the DITA 1.3 UA enhancements enable you to provide display information for the help windows on those systems and platforms. You can now put different target display information in your DITA source for every help platform you support. The display metadata is directly associated with the mapping metadata providing a full set of help metadata for each platform. DITA maps now contain the new <ux-window> element to provide help window metadata. The <ux-window> element is contained in the <topicmeta> element. You can include any number of <ux-window> elements in the map enabling you to define window information for any number of help targets. The <ux-window> metadata is referenced from a > element. The > has a new attribute @uxwindowref that provides the association to the matching <ux-window> element. The <ux-window> element has the following attributes: @name Identifies the <ux-window> element. Use this attribute to provide a unique identifying name for this set of help window information. The value you provide in this attribute is the one used in the > element s @ux-windowref attribute to associate this metadata with a specific >. This attribute is required. @top Provides the top position of the target help window. This position is relative either to the calling window or the entire display, determined by the value of the @@relative attribute. The value of the @top attribute is a real number with an optional unit of measure from the following set: pc picas pt points px pixels in inches cm centimeters mm millimeters em ems The default value is pixels. @left Provides the left position of the target help window. This position is also relative either to the calling window or the entire display and uses the same units of measure as the @top attribute. @height Provides the height of the target help window. 6 Last revision 1 August 2016

This attribute uses the same units of measure as the @top attribute. @width Provides the width of the target help window. This attribute uses the same units of measure as the @top attribute. @on-top Determines whether the help window should appear on top of all other windows on the display. Allowed values are yes, no, and -dita-use-conref-target. The default is no. @relative Determines whether the help window position is relative to the calling window or the entire target display. The default is no indicating that the help window position is relative to the entire display. Set this attribute to yes to indicate the help window position is relative to the calling window. You can also set the value to -dita-use-conreftarget. @full-screen Determines whether the help window is initially displayed full screen. Allowed values are yes, no, and -dita-use-conref-target. The default is no. @features Provides a list of other features for the help window. This attribute does not have a set list of values. Instead, you can use this attribute to provide any number of other help feature names and values that are supported by your help system. For example, you could indicate whether the help window should display a menu bar or provide some sort of status information for the window. Whatever other help window metadata is needed for your help system can be provided in this attribute. Each feature name and value must not contain any blank spaces. Each feature must be separated by a comma or other delimiter character. Note that the target display metadata is similar to that in the JavaScript window.open method s specs parameter. You can consult this parameter for potential help window features to use in the @features attribute. For Example The following example builds on the example from the mapping metadata topic by providing target display metadata for the > elements in the DITA map: <map> <b><ux-window name="apple" top="10" left="20" height="400" width="500" relative="yes" full-screen="no" features="toolbar=no,menubar=yes,status=yes"/> <ux-window name="android" top="15" left="15" height="500" width="600" relative="yes" full-screen="no" features="toolbar=yes,menubar=no,status=no"/></b> <topicref href="dialog-1.dita"> <topicmeta> appname="ios7a" appid="iphone" ux-content-string="callback_4437" ux-source-priority="map-takes-priority" <b>ux-windowref="apple"</b>/> appname="kitkat" appid="droid" DITA 1.3 Feature Article: User Assistance Enhancements in DITA 1.3 7

OASIS White Paper ux-content-string="id#4500" ux-source-priority="map-takes-priority" <b>ux-windowref="android"</b>/> </topicmeta> </topicref> </map> Note that both of the > elements now have associated <ux-window> elements providing the target window information for these help callbacks. Conclusion DITA now enables you to include any user assistance metadata you need directly in your document source. You no longer need to rely on external Help Authoring Tools (HATs) to provide this support. DITA also now enables you to reuse your source for any number of help systems and ensures that the right callback and help window display information is available for whatever type of platform you need to support. 8 Last revision 1 August 2016