Selection Axis 1.0

Public Working Draft 19 October 2011

Copyright ©2011 XBRL International Inc., All Rights Reserved.

This version:
<http://www.xbrl.org/Specification/selection-axis/PWD-2011-10-19/selection-axis-PWD-2011-10-19.html>
Editors:
Herm Fischer, Mark V Systems <fischer@markv.com>
Victor Morilla, Banco de España <victor.morilla@bde.es>
Contributors:
Geoff Shuetrim, Galexy Pty. <geoff@galexy.com>
Masatomo Goto, Fujitsu Ltd. <mg@jp.fujitsu.com>
Roland Hommes, RHOCON <roland@rhocon.nl>
Bartosz Ochocki, BRAG <bartosz.ochocki@br-ag.eu>
Hugh Wallis, Standard Dimensions <hugh@standarddimensions.com>

Status

Circulation of this Public Working Draft is unrestricted. This document is normative. Other documents may supersede this document. Recipients are invited to submit comments to rendering-feedback@xbrl.org, and to submit notification of any relevant patent rights of which they are aware and provide supporting documentation.

Abstract

This document specifies semantics and syntax constraints for selection axes. Selection axes provide an implementation of open axes, as defined in the table specification, based on the use of XPath expressions that select a sequence of data (not necessarily fact items), which is given a name, and usable as a variable in breakdown (nested) axes of the same axis type, and usable in axes expressions of the opposite axis type (when orthogonal to the selection axis coordinate).

Comments

1 Herm Fischer:Maybe there is a better name for the above error code
2 Hugh Wallis:This is an early list - to be updated

Table of Contents

1 Introduction
2 Definitions
3 Coordinate ordering
4 Context Item
5 Selection
6 Headers
7 Syntax

Appendices

A Intellectual property status (non-normative)
B Acknowledgements (non-normative)
C Document history (non-normative)
D Errata corrections in this document

Figure

1 Selection Axis Model

Definition

selection axis

Error code

xbrltsae:nonRenderableObjectMustBeAbstract


1 Introduction

This document specifies semantics and syntax constraints for selection axes. Selection axes provide an implementation of open axes, as defined in the table specification, based on the use of XPath expressions that select a sequence of data (not necessarily fact items), which is given a name, and usable as a variable in breakdown (nested) axes of the same axis type, and usable in axes expressions of the opposite axis type (when orthogonal to the selection axis coordinate).

(In a most general sense, if the predefinedRuleAxes and filterAxes were thought of in the same manner as fact variables for formula variable sets, the selection axes may be thought of as general variables for the table, as a simile of a variable set.)

2 Definitions

The figure below provides a model of the selection axis.

Figure 1: Selection Axis Model

A selection axis is an implementation of open axes expressed in terms of an XPath function that yields a sequence.

Examples of selection axes fulfill these use cases:

3 Coordinate ordering

The XPath selection expression produces a sequence. It can be designed to be in source instance document node order, or in a collating order as required (such as account code or name).

4 Context Item

The context item of a selection may be a fact item, if the inherited axes of the selection axis, together with the coordinates of the opposite direction axisType coordinates, specify a fact item, or otherwise an empty sequence.

5 Selection

A selection yields any node of an instance or atomic data produced by an XPath expression.

Error code xbrltsae:nonRenderableObjectMustBeAbstract MUST be thrown if an axis yielding non-renderable objects, such as xfi-relationship objects, is not abstract.

[Herm Fischer: Maybe there is a better name for the above error code]

If a nonabstract selectionAxis is the last coordinate for an axis, the select expression provides a way of generating renderable data from a otherwise-bound fact for a cell. For example, if the inheriting coordinates identify a fact, then the select expression may produce a footnote (or footnotes sequence), unit, data derived by table lookup.

6 Headers

Same as other axes, labels or messages may be used

7 Syntax

<xtable:selectionAxis> is an element with attributes @name and @select.

@name (on the axis-arc relationship) behaves like a variable name, so that the selection value can be referred to by XPath construct $name.

@coveredAspect: an enumeration type specifying what aspect is to be matched and covered. Enumeration values may be

[Hugh Wallis: This is an early list - to be updated]:

@select is an XPath expression yielding a sequence of nodes (of instance document), atomic values (displayable), or opaque objects (relationships from xfi: relationship functions, but must be abstract).

The following attributes are inherited from openAxis and may be used on a selectionAxis resource element:

Appendix A Intellectual property status (non-normative)

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 paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to XBRL International or XBRL organizations, except as required to translate it into languages other than English. Members of XBRL International agree to grant certain licenses under the XBRL International Intellectual Property Policy (www.xbrl.org/legal).

This document and the information contained herein is provided on an "AS IS" basis and XBRL INTERNATIONAL DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

The attention of users of this document is directed to the possibility that compliance with or adoption of XBRL International specifications may require use of an invention covered by patent rights. XBRL International shall not be responsible for identifying patents for which a license may be required by any XBRL International specification, or for conducting legal inquiries into the legal validity or scope of those patents that are brought to its attention. XBRL International specifications are prospective and advisory only. Prospective users are responsible for protecting themselves against liability for infringement of patents. XBRL International takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Members of XBRL International agree to grant certain licenses under the XBRL International Intellectual Property Policy (www.xbrl.org/legal).

Appendix B Acknowledgements (non-normative)

This document could not have been written without the contributions of many people.

Appendix C Document history (non-normative)

DateAuthorDetails
01 October 2011Herm Fischer

Initial draft

11 October 2011Hugh Wallis

Incorporated some changes proposed by Victor Morilla preparatory to creating DPWD

Appendix D Errata corrections in this document

This appendix contains a list of the errata corrections that have been incorporated into this document. This represents all those errata corrections that have been approved by the XBRL International Rendering Working Group up to and including 19 October 2011.

No errata have been incorporated into this document.