Information technology — Processing languages — Document Style Semantics and Specification Language (DSSSL)

La présente Norme internationale est conçue pour spécifier le traitement de documents SGML valides. DSSSL définit la sémantique, la syntaxe, et le modèle de traitement de deux langages pour la spécification du traitement du document: a) Le langage de transformation pour transformer des documents SGML balisés selon une ou plusieurs DTD en d'autres documents SGML balisés selon d'autres DTD. La spécification de ce processus de transformation est entièrement définie par la présente Norme internationale. b) Le langage de style, dans lequel le résultat est obtenu en appliquant un ensemble de caractéristiques de formatage à des portions de données, et dont la spécification est aussi précise que l'exige l'application. Certaines décisions ayant trait au formatage, telles que les fins de lignes et fins de colonnes, sont laissées aux processus de composition et de mise en pages. Le langage de style de DSSSL est conçu pour être utilisé dans des environnements fort variés, dont les

Technologies de l'information — Langages de traitement — Sémantique de présentation de documents et langage de spécifications (DSSSL)

General Information

Status
Published
Publication Date
03-Apr-1996
Current Stage
9093 - International Standard confirmed
Completion Date
27-Apr-2020
Ref Project

Relations

Buy Standard

Standard
ISO/IEC 10179:1996 - Information technology -- Processing languages -- Document Style Semantics and Specification Language (DSSSL)
English language
292 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)

INTERNATIONAL ISO/IEC
STANDARD
First edition
1996-04-01
Information technology - Processing
languages - Document Style Semantics
and Specification Language (DSSSL)
Technologies de I ’information - Langages de traitement - Semantique
de prbentation de documents et langage de specifications (DSSSL)
Reference number
ISO/IEC 10179:1996(E)

---------------------- Page: 1 ----------------------
---
C3 ISO/IEC
ISO/IEC 10179: 1996(E)
Page
Contents
1
1 Scope .
2
2 Conformance .
3
...........................................................................
3 Normative References
4
4 Definitions .
7
.....................................................................
5 Notation and Conventions
7
.............................................................................
5.1 Syntax Productions
8
..........................................................................
5.2 Procedure Prototypes
8
6 DSSSL Overview .
9
....................................................................
6.1 Areas of Standardization
10
.............................................................................
6.2 Conceptual Model
11
............................................................................
6.3 DSSSL Languages
11
......................................................
6.3.1 The Transformation Language
12
...............................
6.3.1.1 Components of the Transformation Process
6.3.1.2 Model for Coded Characters, Characters, and Glyph Identifiers 13
14
.......................................................................
6.3.2 The Style Language
...................................... 15
6.3.2.1 Components of the Formatting Process
15
...........................................................................
6.3.2.2 Grove Building
15
........................................................................
6.3.2.3 Flow Object Tree
16
...................................................................
6.3.2.4 Flow Object Classes
17
...........................................................................................
6.3.2.5 Areas
18
.......................................................
6.3.2.6 Page and Column Geometry
18
..................................................................
6.3.2.7 Expression Language
6.3.2.8 Model for Coded Characters, Characters, and Glyph Identifiers 19
19
..........................................................................
7 DSSSL Specifications
20
........................................................
7.1 DSSSL Document Architecture
24
7.1.1 Features .
24
.........................................................................
7.1.2 SGML Grove Plan
25
......................................................................
7.1.3 Character Repertoire
25
.......................................................................
7.1.4 Standard Characters
26
............................................................................
7.1.5 Other Characters
26
...........................................................................
7.1.6 Baseset Encoding
........................................................... 26
7.1.7 Litera1 Described Character
.................................................................... 27
7.1.8 Sdata Entity Mapping
27
7.1.9 Separator Characters .
27
7.1.10 Name Characters .
27
7.1.11 Character Combination .
27
7.2 Public Identifiers .
27
7.3 Lexical Conventions .
27
7.3.1 Case Sensitivity .
0 ISOAEC 1996
All rights reserved. Unless otherwise specified, no gart of this publication may be reproduced
or utilized in any form or by any means, electronie or mechanical, including photocopying
and microfilm, without Permission in writing from the publisher.
ISO/IEC Copyright Office l Case Postale 56 l CH-121 1 Geneve 20 l Switzerland
Printed in Switzerland
ii

---------------------- Page: 2 ----------------------
0 ISO/IEC
ISOIEC 10179: 1996(E)
28
7.3.2 Identifiers .
............................................. 28
7.3.3 Tokens, Whitespace, and Comments
29
8 Expression Language .
............................................. 30
8.1 Overview of the Expression Language
30
8.2 Basic Concepts .
30
8.2.1 Variables and Regions .
31
8.2.2 True and False .
31
................................................................
8.2.3 Extemal Representations
31
8.2.4 Disjointness of Types .
32
8.3 Expressions .
........................................................... 32
8.3.1 Primitive Expression Types
32
8.3.1.1 Variable Reference .
33
8.3.1.2 Literals .
34
8.3.1.3 Procedure Cal1 .
34
8.3.1.4 Lambda Expression .
36
8.3.1.5 Conditional Expression .
36
.............................................................
8.3.2 Derived Expression Types
36
..........................................................................
8.3.2.1 Cond-expression
37
...........................................................................
8.3.2.2 Case-expression
37
...........................................................................
8.3.2.3 And-expression
38
..............................................................................
8.3.2.4 Or-expression
38
....................................................................
8.3.2.5 Binding expressions
39
....................................................................................
8.3.2.6 Named-let
40
............................................................................
8.3.2.7 Quasiquotation
41
.........................................................................................
8.4 Definitions
43
..........................................................................
8.5 Standard Procedures
43
.........................................................................................
8.5.1 Booleans
43
......................................................................................
8.5.1.1 Negation
44
..............................................................
8.5.1.2 Boolean Type Predicate
44
....................................................................................
8.5.2 Equivalence
45
................................................................................
8.5.3 Pairs and Lists
46
.....................................................................
8.5.3.1 Pair Type Predicate
....................................................... 46
8.5.3.2 Pair Construction Procedure
46
8.5.3.3 car Procedure .
47
8.5.3.4 cdr Procedure .
47
8.5.3.5 c . r Procedures .
.......................................................... 48
8.5.3.6 Empty List Type Predicate
48
8.5.3.7 List Type Predicate .
48
8.5.3.8 List Construction .
48
8.5.3.9 List Length .
49
8.5.3.10 Lists Appendance .
49
8.5.3.11 List Reversal .
49
8.5.3.12 Sublist Extraction .
................................................................................ 49
8.5.3.13 List Access
50
8.5.3.14 List Membership .
50
8.5.3.15 Association Lists .
50
8.5.4 Symbols .
51
8.5.4.1 Symbol Type Predicate .
. . .
111

---------------------- Page: 3 ----------------------
0 ISO/IEC
ISO/IEC 10179:1996(E)
51
.....................................................
8.5.4.2 Symbol to String Conversion
51
.....................................................
8.5.4.3 String to Symbol Conversion
51
.......................................................................................
8.5.5 Keywords
52
............................................................
8.5.5.1 Keyword Type Predicate
52
...................................................
8.5.5.2 Keyword to String Conversion
52
...................................................
8.5.5.3 String to Keyword Conversion
52
...........................................................................
8.5.6 Named Constants
52
................................................................
8.5.7 Quantities and Numbers
52
.........................................................................
8.5.7.1 Numerital Types
53
....................................................................................
8.5.7.2 Exactness
54
.......................................................
8.5.7.3 Implementation Restrittions
55
..................................................
8.5.7.4 Syntax of Numerital Constants
56
............................................................
8.5.7.5 Number Type Predicates
56
...................................................................
8.5.7.6 Exactness Predicates
56
...............................................................
8.5.7.7 Comparison Predicates
57
...................................................
8.5.7.8 Numerital Property Predicates
57
............................................................
8.5.7.9 Maximum and Minimum
57
....................................................................................
8.5.7.10 Addition
58
...........................................................................
8.5.7.11 Multiplication
58
................................................................................
8.5.7.12 Subtraction
58
....................................................................................
8.5.7.13 Division
58
.........................................................................
8.5.7.14 Absolute Value
59
.......................................................
8.5.7.15 Number-theoretic Division
59
.......................................................
8.5.7.16 Real to Integer Conversion
60
.........................................................
8.5.7.17 en and Natura1 Logarithm
60
..........................................................
8.5.7.18 Trigonometrie Functions
60
..............................................
8.5.7.19 Inverse Trigonometrie Functions
61
..............................................................................
8.5.7.20 Square Root
61
..........................................................................
8.5.7.21 Exponentiation
61
...............................................................
8.5.7.22 Exactness Conversion
61
...............................................
8.5.7.23 Quantity to Number Conversion
61
...................................................
8.5.7.24 Number to String Conversion
\
63
...................................................
8.5.7.25 String to Number Conversion
63
8.5.8 Characters .
64
...................................................................
8.5.8.1 Character Properties
64
................................................
8.5.8.2 Language-dependent Operations
67
............................................................
8.5.8.3 Character Type Predicate
67
...............................................
8.5.8.4 Character Comparison Predicates
........................................ 67
8.5.8.5 Case-insensitive Character Predicates
........................................................ 68
8.5.8.6 Character Case Conversion
68
8.5.8.7 Character Proper-Ges .
68
8.5.9 Strings .
69
8.5.9.1 String Type Predicate .
69
8.5.9.2 String Construction .
69
8.5.9.3 String Length .
69
8.5.9.4 String Access .
69
8.5.9.5 String Equivalence .
69
8.5.9.6 String Comparison .
iv

---------------------- Page: 4 ----------------------
0 ISO/IEC
ISO/IEC 10179:1996(E)
70
....................................................................
8.5.9.7 Substring Extraction
70
......................................................................
8.5.9.8 String Appendance
........................................ 70
8.5.9.9 Conversion between Strings and Lists
70
8.5.10 Procedures .
......................................................... 70
8.5.10.1 Procedure Type Predicate
............................................................... 71
8.5.10.2 Procedure Application
................................................. 71
8.5.10.3 Mapping Procedures over Lists
71
..................................................................
8.5.10.4 Extemal Procedures
72
..............................................................................
8.5.11 Date and Time
72
.............................................................................
8.5.12 Error Signaling
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
8.6 Core Expression Language
72
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .~.
8.6.1 Syntax
74
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8.6.2 Procedures
75
..................................................................................................
9 Groves
76
................................................................................
9.1 Nodal Properties
77
9.2 Grove Plans .
78
.....................................................................
9.3 Property Set Definition
78
........................................................................
9.3.1 Common Attributes
78
......................................................................
9.3.1.1 Component Names
79
............................................................
9.3.1.2 Specification Documents
79
..........................................................................................
9.3.2 Modules
80
9.3.3 Data Type Definition .
81
9.3.4 Class Definition .
81
9.3.5 Property Definition .
82
.......................................................
9.3.6 Normalization Rule Definition
83
9.4 Intrinsic Properties .
84
...............................................................................
9.5 Auxiliary Groves
84
9.6 SGML Property Set .
122
..............................................................
9.7 DSSSL SGML Grove Plan
123
..............................................
10 Standard Document Query Language
123
10.1 Primitive Procedures .
123
...................................................................
10.1.1 Application Binding
124
..................................................................................
10.1.2 Node Lists
124
......................................................................
10.1.3 Named Node Lists
125
..........................................................................
10.1.4 Error Reporting
125
............................................
10.1.5 Application Name Transformation
125
..........................................................................
10.1.6 Property Values
126
........................................................
10.1.7 SGML Grove Construction
126
10.2 Derived Procedures .
126
.........................................................................
10.2.1 HyTime Support
130
10.2.2 List Operations .
137
......................................................
10.2.3 Generic Property Operations
143
................................................................
10.2.4 Core Query Language
143
10.2.4.1 Navigation .
143
10.2.4.2 Counting .
144
.....................................................
10.2.4.3 Accessing Attribute Values
145
........................................................
10.2.4.4 Testing Current Location
146
.............................................................
10.2.4.5 Entities and Notations
V

---------------------- Page: 5 ----------------------
0 ISO/IEC
ISO/IEC 10179:1996(E)
............................................................... 147
10.2.4.6 Name Normalization
....................................................... 147
10.2.5 SGML Property Operations
149
..........................................................................
10.3 Auxiliary Parsing
149
.........................................................................
10.3.1 Word Searching
150
.........................................................
10.3.2 Node Regular Expressions
151
..................................................................
10.3.3 Regexp Constructors
152
................................
10.3.4 Regular Expression Searching Procedures
152
................................................................
11 Transformation Language
153
.........................................................................................
11.1 Features
153
..................................................................................
11.2 Associations
154
...................................................................
11.3 Transform-expression
155
...........................................................................
11.3.1 Subgrove-spec
156
................................................................................
11.3.2 Create-spec
158
11.3.3 Result-node-list .
............................................................... 159
11.3.4 Transform-grove-spec
............................................................... 159
11.3.5 SGML Prolog Parsing
........................................................ 159
11.4 SGML Document Generator
................................................................ 160
11.4.1 Verification Mapping
............................................................................ 161
11.4.2 Transliteration
................................................................................ 162
12 Style Language
162
12.1 Features .
.......................................................................... 164
12.2 Flow Object Tree
164
12.3 Areas .
165
12.3.1 Display Areas .
................................................................................ 168
12.3.2 Inline Areas
......................................... 171
12.3.3 Inlined and Displayed Flow Objects
172
12.3.4 Attachment Areas .
.................................................... 173
12.4 Flow Obiect Tree Construction
.................................................................... 173
12.4.1 Constrktion Rules
................................................................. 176
12.4.2 Primary Flow Object
....................................................................................... 176
12.4.3 sosofos
................................................................ 180
12.4.4 Multi-process Feature
180
12.4.5 Styles .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .~. 181
12.4.6 Characteristic Specification
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
12.4.7 Synchronization of Flow Objects
.......................................... 185
12.5 Common Data Types and Procedures
................................................... 185
12.5.1 Layout-driven Generated Text
12.5.1.1 Constructing Indirect Sosofos . 186
12.5.1.2 Layout Numbering . 187
12.5.1.3 Reference Values . 188
12.5.2 Length Specification . 190
12.5.3 Decoration Areas . 190
12.5.4 Spates . 191
12.5.4.1 Display Spates . 191
12.5.4.2 Inline Spates . 191
12.5.5 Glyph Identifiers . 192
12.5.6 Glyph Substitution, Tables . 192
12.5.7 Font Information . 193
vi

---------------------- Page: 6 ----------------------
0 ISO/IEC
ISOIEC 10179:1996(E)
12.5.8 Addresses . 194
12.5.9 Color . 195
12.6 Flow Object Classes .
197
12.6.1 Sequence Flow Object Class .
197
12.6.2 Display-group Flow Object .
197
12.6.3 Simple-Page-sequence Flow Object Class
................................. 199
12.6.4 Page-sequence Flow Object Class
............................................. 201
12.6.4.1 Page-model . 202
12.6.5 Column-set-sequence Flow Object Class
................................... 205
12.6.5.1 Column-set-model .
207
12.6.6 Paragraph Flow Object Class
..................................................... 217
12.6.6.1 Line Spacing
............................................................................ 225
12.6.7 Paragraph-break Flow Object Class
........................................... 225
12.6.8 Line-field Flow Object Class . 225
12.6.9 Sideline Flow Object Class .
226
12.6.10 Anchor Flow Object Class . 227
12.6.11 Character Flow Object Class
.................................................... 228
12.6.11.1 Character Properties . 234
12.6S2 Leader Flow Object Class . 236
12.6.13 Embedded-text Flow Object Class . 237
12.6.14 Rule Flow Object Class . 238
12.6.15 External-graphic Flow Object Class . 242
12.6.16 Included-container-area Flow Object Class . 247
12.6.17 Score Flow Object Class . 251
12.6.18 Box Flow Object Class . 253
12.6.19 Side-by-side Flow Object Class . 258
12.6.20 Side-by-side-item Flow Object Class . 260
12.6.21 Glyph-annotation Flow Object Class . 261
12.6.22 Alignment-Point Flow Object Class . 262
12.6.23 Aligned-column Flow Object Class . 262
12.6.24 Multi-line-inline-note Flow Object Class . 265
12.6.25 Emphasizing-Mark Flow Object Class . 266
12.6.26 Flow Object Classes for Mathematical Formulae . .267
12.6.26.1 Math-sequence Flow Object Class .
267
12.6.26.2 .
Unmath Flow Object Class 268
12.6.26.3 Subscript Flow Object Class . 269
12.6.26.4 Superscript Flow Object Class . 269
12.6.26.5 Script Flow Object Class . 269
12.6.26.6 Mark Flow Object Class . 271
12.6.26.7 Fence Flow Object Class . 272
12.6.26.8 Fraction Flow Object Class . 272
12.6.26.9 Radical Flow Object Class . 273
12.6.26.10 Math-Operator Flow Object Class . 274
12.6.26.11 Grid Flow Object Class . 275
12.6.26.12 Grid-cell Flow Object Class . 276
12.6.27 Flow Object Classes for Tables . 276
12.6.27.1 Table Flow Object Class . 277
12.6.27.2 Table-part Flow Object Class . 280
vii

---------------------- Page: 7 ----------------------
0 ISO/IEC
ISO/IEC 10179:1996(E)
..................................................... 282
12.6.27.3 Table-column flow Object
284
...................................
12.6.27.4 Automatic Table-width Computation
284
...............................................
1
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.