PDAM text, ISO/IEC TR 9573-11:2004
2007-03-19




Information processing — SGML support facilities — Part 11: Structure descriptions and style specifications for standards document interchange


AMENDMENT 1: XML authoring structure and style specification






Contents

Foreword
Introduction
Annex H Authoring structure and style specification (informative)
H.1 General
H.2 Structure in RELAX NG (ISO/IEC 19757-2)
H.3 XSLT specification for preview by HTML browser
H.4 XSL-FO specifiation
H.5 Structure conversion for publication using 9573-11 2nd.ed



Foreword

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 development 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, 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 joint 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.

Attention 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.

Amendment 1 to ISO/IEC TR 9573-11:2004 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology, Subcommittee SC 34, Document description and processing languages. The draft amendments have been posted on SourceForge: http://tr9573amd.cvs.sourceforge.net/tr9573amd/xml/?sortby=author.



Introduction

This Amendment adds the Annex H that specifies a simplified structure description and style specification for draft standards document interchange.



Information processing — SGML support facilities — Part 11: Structure descriptions and style specifications for standards document interchange

AMENDMENT 1: Authoring structure and style specification

Add the following Annex H after Annex G:


Annex H
(informative)
Authoring structure and style specification



H.1 Introduction

ISO/IEC TR 9573-11 2nd edition "Structure descriptions and style specifications for standards document interchange" was published in 2004-04, responding to the user requirements for the interchange of standards documents in an XML environment.

The 2nd edition was developed JTC1/SC34/WG1 coordinating with ITSIG (Information Technology Strategies Implementation Group) XML project, and being based on the SGML "ITSIG exchange DTD". It includes both the SGML and the XML DTDs for standards documents in a publication stage and style specifications described by DSSSL and XSL conforming to ISO/IEC directives.

The structure of standards documents in a publication stage consists of a number of elements precisely defined by ISO/IEC directives. All the elements are not used for description of standards documents in drafting or authoring stage such as WD, CD and etc. For example, attribute gtext is not required in the drafting or authoring stage.

A simplified structure can be used for describing standards documents in drafting or authoring stage. Those standards documents are requested to interchange as well. The simplified structure, therefore, should also be standardized.

This amendment 1 to ISO/IEC TR 9573-11:2004 (2nd edition) specifies the simplified structure of standards documents in drafting or authoring stage and the style specification for rendering the structure.


H.2 Structure in RELAX NG(ISO/IEC 19757-2)

The structure of standards documents in drafting or authoring stage is defined by the following schema file: stdex.rnc described by the compact syntax of ISO/IEC 19757-2.

See the attached file stdex.rnc.

H.2.1 Tags

Major tags of the structure correspond to the tags in ISO/IEC TR 9573-11:2004 as shown in Table H1. Elements that require particular rendering, such as formula, dformula, mathart, inf and fence, are dealt with in artwork. The structure of this Annex include an additional element tabular for aligning some elements in a line.

Table H1 — Major tags in Annex H in comparison with tags in ISO/IEC TR 9573-11:2004
Tags in ISO/IEC TR 9573-11:2004Tags in Annex H
standarddocument
profilehead (metedata)
tpage
toc
lpage
forewordforeword
introintroduction
body
scopescope
refsnormative-references
defsterms-and-definitions, term-and-definitions, termdef
warning (clause)
conformance
httitle
warningwarn (block element)
notenote
xmpexample
fnfootnote
h1, h2, h3, h4, h5, h6, p2, p3, p4, p5, p6clause
pp
ul, ol, li, lp, dl, dlentry, dt, ddul, ol, li, notation-list, notation-item
rl, rlentry, bl, blentryreferenced-document
annexi, annexnannex
annexblbibliography
xrefxref, Xref, this, This
hpcode, b, i, u, var, symbol
superscript, subscriptsup, sub
table, tabtitle, tgroup, colspec, thead, tbody, tfoot, row, entry, tabnotetable (floating element)
figure, figbody, figtitle, fignotefigure (floating element)
tabular, tabtitle, tgroup, colspec, thead, tbody, tfoot, row, entry, tabnote
artworkartwork
formula, dformula, mathart, inf, fence
part-list, part
d-block

H.2.2 Structure

H2.2.1 Nesting of components

It is not permissible to nest all components within all other components. Following two tables show whether it is permissible to nest the component given in lightface in the first column inside the component given in bold in the column heading.

In the tables, "!c" means "it is permissible to nest if the component is not a child".

H2.2.1.1 block components

plistlist itemnotation- listnotation-itemnotation- definitionexamplenotewarnpretablefigure
p!c!cyes!c!cyesyesyesyesnoyesyes
listyes!cyes!c!c!c!c!c!cnoyesyes
list item!cyes!c!c!c!c !c!c!cno!c!c
notation- list!c!cyes!c!c!c !c!c!cnoyesyes
notation- item!c!c!cyes!c!c !c!c!cno!c!c
notation- definition!c!c!c!cyes!c!c!c!cno!c!c
exampleyes!cyes!c!c!cno!c!cnoyesyes
note!c!cyes!c!cyes!cno!cnoyesyes
warn!c!cyes!c!c!c !c!cnonoyesyes
preyes!cyes!c!c!c !c!c!cnoyesyes
tableyes!cyes!c!c!c!c!c!cnonoyes
figureyes!cyes!c!c!c!c!c!cnonoyes

H2.2.1.2 inline components

firsttermstrongcodevarsubs upbiurefartworkfootnotetabular
firsttermnoyesyesyesyesyesyesyesyesnonoyes!c
strongyesnoyesyesyesye syesyesyesnonoyes !c
codeyesyesnoyesyesyesyesyesyesnonoyes!c
varyesyesyesnoyesyesyesyesyesnonoyes!c
subyesyesyesyesyesyesyesyesyesnonoyes!c
supyesyesyesyesyesyesyesyesyesnonoyes!c
byesyesyesyesyesyesnoyesyesnonoyes!c
iyesyesyesyesyesyesyesnoyesnonoyes!c
uyesyesyesyesyesyesyesyesnononoyes!c
refyesyesyesyesnonoyesyesyesnonoyes!c
artworkyesyesyesyesyes yesyesyesyesnonoyes!c
footnoteyesyesyesyesno noyesyesyesnonono !c
tabularyesyesyesyesnon oyesyesyesnonoyes !c

H2.2.2 Element types

H2.2.2.1 Top-level structure

H2.2.2.1.1 Standard Document (<document>)

a) Description

This is the root element in a standard document.

b) Content model

H2.2.2.1.2 Document profile

See H2.2.2.7

H2.2.2.1.3 Foreword (<foreword>)

a) Description

This element type is used to identify the special clause entitled "Foreword" in English.

b) Content model

c) Attribute

The optional attribute "id" specifies the identifier of this element.

d) Usage guidelines

This is a mandatory element.

H2.2.2.1.4 Introduction (<introduction>)

a) Description

This element type is used to identify the special clause entitled "Introduction" in English.

b) Content model

c) Attribute

The optional attribute "id" specifies the identifier of this element.

d) Usage guidelines

This is an optional element.

H2.2.2.1.5 Warning (<warning>)

a) Description

This element type is used to identify the special clause entitled "Warning" in English.

b) Content model

The content model is identical to that for the element type <introduction> (see H2.2.2.1.4).

c) Usage guidelines

This is an optional element.

H2.2.2.1.6 Scope (<scope>)

a) Description

This element type is used to identify the special clause entitled "Scope" in English.

b) Content model

The content model is identical to that for the element type <introduction> (see H2.2.2.1.4).

c) Usage guidelines

This is a mandatory element, i.e. a standard shall contain a scope.

H2.2.2.1.7 Conformance (<conf>)

a) Description

This element type is used to identify the special clause entitled "Conformance" in English.

b) Content model

c) Attribute

The optional attribute "id" specifies the identifier of this element.

d) Usage guidelines

This element type is optional. Where present, it shall be the clause immediately following the "Scope" clause.

H2.2.2.1.8 Normative references (<normative-references>)

a) Description

This element type is used to identify the special clause which contains the normative references used in the standard, and which is entitled "Normative references" in English.

b) Content model

c) Attribute

The optional attribute "id" specifies the identifier of this element.

d) Usage guidelines

This element type is optional. Where present, it shall be the clause immediately following the "Conformance" clause.

H2.2.2.1.9 Referenced document (<referenced-document>)

a) Description

This element type is used to identify a referenced document. It is just a container.

b) Content model

c) Attribute

The optional attribute "id" specifies the identifier of this element.

H2.2.2.1.10 Terms and definitions (<terms-and-definitions>)

a) Description

This element type is used to identify the special clause which contains the terms and definitions used in the standard, and which is entitled "Terms and definitions" in English.

b) Content model

c) Attribute

The optional attribute "id" specifies the identifier of this element.

d) Usage guidelines

This element type is optional. Where present, it shall be the clause immediately following the "Normative references".

H2.2.2.1.11 Subdivisions of a document

See H2.2.2.2

H2.2.2.1.12 Annex (<annex>)

a) Description

This element type is used to identify an annex.

b) Content model

c) Attribute

The optional attribute "id" specifies the identifier of this element. If the attribute "normative" is true, the annex is normative. Otherwise, it is informative.

d) Usage guidelines

This is an optional and repeatable element, i.e. a standard may contain one or more annexes.

H2.2.2.1.13 Bibliography (<bibliography>)

a) Description

This element type is used to identify the bibliography.

b) Content model

c) Attribute

The optional attribute "id" specifies the identifier of this element.

d) Usage guidelines

This is an optional element.

H2.2.2.1.14 Index (<index>)

a) Description

This element type is used as a placeholder for the index generated by the publishing system.

b) Content model

c) Attribute

The optional attribute "id" specifies the identifier of this element. If the indexes are informative, the optional attribute "status" is assigned to 'informative'.

d) Usage guidelines

This is an optional and repeatable element, i.e. a standard may contain one or more indexes.

H2.2.2.2 Nested subdivisions of a document

H2.2.2.2.1 Nested clause (<clause>)

a) Description

This element type is used to identify nested clauses of the standard. If the element has a child element <title>, it names titled clause. Otherwise, it names untitled clause.

b) Content model of a titled clause

c) Content model of a untitled clause

d) Attribute

The optional attribute "id" specifies the identifier of this element.

e) Usage guidelines

Titled clause can have both type (titled and untitled) of a clause as its child. Untitled clause cannot have a titled clause as its child.

H2.2.2.2.2 Title of clause (<title>)

a) Description

This element type is used to identify title strings of a titled clause.

b) Content model

H2.2.2.3 Displayed components

H2.2.2.3.1 Paragraph (<p>)

a) Description

This element type is used to identify a displayed component (which is a block of text) and to identify a container for this text block and other displayed components.

b) Content model

H2.2.2.3.2 Ordered list (<ol>)

a) Description

This element type is used to identify an ordered list.

b) Content model

c) Attribute

The optional attribute "id" specifies the identifier of this element.

H2.2.2.3.3 Unordered list (<ul>)

a) Description

This element type is used to identify an unordered list.

b) Content model

H2.2.2.3.4 List item (<li>)

a) Description

This element type is used to identify the individual items within ordered and unordered lists.

b) Content model

H2.2.2.3.5 Notation list (<notation-list>)

a) Description

This element type is used to identify a notation list. Each entry in a notation list comprises a notation (e.g. a variable, a symbol, etc.) and its corresponding definition.

b) Content model

H2.2.2.3.6 Notation item (<notation-item>)

a) Description

This element type is used to identify an entry in a notation list. It is just a container.

b) Content model

c) Usage guidelines

This element may appear only in the notation list.

H2.2.2.3.7 Notation (<notation>)

a) Description

This element type is used to identify a notation inside a notation list entry.

b) Content model

The content model is identical to that for the element type <title> included in a titled clause (see H2.2.2.2.2).

H2.2.2.3.8 Notation definition (<notation-definition>)

a) Description

This element type is used to identify a definition corresponding to a notation in a notation list entry.

b) Content model

H2.2.2.3.9 Example integrated in the text (<example>)

a) Description

This element type is used to identify examples integrated in the text.

b) Content model

H2.2.2.3.10 Notes integrated in the text (<note>)

a) Description

This element type is used to identify notes integrated in the text.

b) Content model

The content model is identical to that for the element type <example> (see H2.2.2.3.9).

c) Usage guidelines

The note shall be the last "child" in the subdivision.

H2.2.2.3.11 Warning, caution and remark integrated in the text (<warn>)

a) Description

This element type is used to identify the display components "Warning", "Caution" and "Remark" to draw readers' attention to a particular text. The reasons may be different, e.g. need for precaution, security issue, etc.; they are distinguished by the attribute "format".

b) Content model

c) Attribute

The optional attribute "id" specifies the identifier of this element. The attribute "format" can take the values "genwarn", "warning", "caution" and "remark".

d) Usage guidelines

Warnings, cautions and remarks are always attached to some piece of a document, e.g. a subdivision (if they are outside a displayed component), or a paragraph.

H2.2.2.3.12 Pre-formatted text (<pre>)

a) Description

This element type is used to identify a displayed component with "pre- formatted text" such as a computer source, listing, etc.

b) Content model

c) Usage guidelines

It is recommended to use entities to insert spaces and line breaks inside a text to achieve the desired formatting.

H2.2.2.3.13 Float components

Tables and figures are float components described in H2.2.2.4.

H2.2.2.3.14 Displayed block (<block>)

a) Description

This element type is used to identify an list item.

b) Content model

H2.2.2.4 Float components

H2.2.2.4.1 Table (<table>)

a) Description

This element type is used to identify a referential table.

b) Content model

c) Attribute

The optional attribute "id" specifies the identifier of this element.

H2.2.2.4.2 Figure (<figure>)

a) Description

This element type is used to identify a referential figure.

b) Content model

The content model is identical to that for the element type <table> (see H2.2.2.4.1).

H2.2.2.5 Inline components

H2.2.2.5.1 First term (<firstterm>)

a) Description

This element type is used to identify a first term.

b) Content model

c) Usage guidelines

This element may appear in running text.

H2.2.2.5.2 Highlighted text (<strong>, <code>, <var>, <sub>, <sup>, <b>, <i>, <u>)

a) Description

These element types are used to identify phrases which are highlighted by means of different typographical presentations.

<strong> identifies strong text; <code> identifies text set using a propotional font; <var> identifies text as a variable; <sub> identifies subscript text; <sup> identifies superscript text; <b> identifies bold text; <i> identifies italic text; <u> identifies underlined text;

b) Content model

The content model is identical to that for the element type <firstterm> (see H2.2.2.5.1).

H2.2.2.5.3 This (<This>, <this>)

a) Description

This element type is used to identify a reference string to the standard itsself.

b) Content model

H2.2.2.5.4 Internal cross-references (<Xref>, <xref>)

a) Description

This element type is used to generate internal cross-references (i.e. those to other elements of the same document) such as "see Table A.1". Owing to the fact that linguistically there are many different ways of making an internal cross-reference and that the terms used are language dependent (e.g. "see Table A.1", "see Tables A.1 and A.2", "voir Tableau A.1" and "voir Tableaux A.1 et A.2") the reference number was selected as the common denominator.

b) Content model

c) Attribute

The attribute "refid" contains the identifier of the element to be referenced.

H2.2.2.5.5 Artwork graphics (<artwork>)

a) Description

This element type is used to insert an external graphics file into the document. The external file is described as an external entity with a public identifier.

b) Content model

c) Attribute

The optional attribute "id" specifies the identifier of this element. The attribute "entity" specifies the external entity.

d) Usage guidelines

Graphics may also be employed to represent an unusual character in running text and as a figure without a title.

H2.2.2.5.6 Footnote to the text(<footnote>)

a) Description

This element type is used to identify a footnote to the text. It is permitted only in running text because it produces a footnote reference (i.e. a marker or identifier) which must be attached to something. A footnote to the text is an informative (as opposed to a normative) component of a standard.

b) Content model

c) Attribute

The optional attribute "id" specifies the identifier of this element.

H2.2.2.6 Table formatted component

H2.2.2.6.1 Tabular (<tabular>)

a) Description

It was decided to keep tables as simple as possible, and to implement the CALS tables defined in MIL-M-28001B (26 June 1993).

b) Content model

H2.2.2.6.2 Elements group of tabular (<tgroup>)

a) Description

This element type is used to identify a group of tabular elements. It is just a container.

b) Content model

H2.2.2.6.3 Column specification (<colspec>)

a) Description

This element type is used to identify a column specification of tabular.

b) Content model

H2.2.2.6.4 Span specification (<spanspec>)

a) Description

This element type is used to identify a span specification of tabular.

b) Content model

H2.2.2.6.5 Tabular head (<thead>)

a) Description

This element type is used to identify a heading row of tabular.

b) Content model

H2.2.2.6.6 Tabular foot (<tfoot>)

a) Description

This element type is used to identify a footing row of tabular.

b) Content model

same as thead

H2.2.2.6.7 Body of tabular (<tbody>)

a) Description

This element type is used to identify a body part of tabular.

b) Content model

H2.2.2.6.8 Row of tabular (<row>)

a) Description

This element type is used to identify a row of tabular.

b) Content model

H2.2.2.6.9 Entry of tabular (<entry>)

a) Description

This element type is used to identify a entry of tabular.

b) Content model

H2.2.2.7 Document profile

H2.2.2.7.1 Document heading (<head>)

a) Description

This is the document profile contains the metadata of the standard.

b) Content model

H2.2.2.7.2 Title data (<title>)

a) Description

This element contains title data written by a specified language.

b) Content model

3) Attribute

The attribute "langcode" specifies the language('E'nglish or 'F'rench).


H.3 XSLT specification for preview by HTML browser

XML texts with the structure defined in H.2 can be previewed by an HTML browser, using the conversion defined by the following XSLT specifications. The XSLT specifications consist of the five files: stdex.xsl, stdex_front.xsl, stdex_toc.xsl, stdex_back.xsl and stdex.css.

See the attached files: stdex.xsl, stdex_front.xsl, stdex_toc.xsl, stdex_back.xsl and stdex.css.


H.4 XSL-FO specifiation

XML texts with the structure defined in H.2 can be rendered by an XSL formatter, using the following XSL-FO specifications. The XSL-FO specifications consist of the eight files: stdex_fo.xsl, stdex_fo_front.xsl, stdex_fo_toc.xsl, stdex_fo_back.xsl, layoutmaster.xsl, library.xsl, language.xsl and attributeset.xsl.

See the attached files: stdex_fo.xsl, stdex_fo_front.xsl, stdex_fo_toc.xsl, stdex_fo_back.xsl, layoutmaster.xsl, library.xsl, language.xsl and attributeset.xsl,


H.5 Structure conversion for publication using 9573-11 2nd.ed

TBD