]> git.stg.codes - stg.git/blob - doc/xslt/roundtrip/specifications.xml
Fix resource leak in file_store
[stg.git] / doc / xslt / roundtrip / specifications.xml
1 <?xml version="1.0"?>
2 <article xmlns="http://docbook.org/ns/docbook">
3   <info>
4     <title>Round-Tripping Specifications</title>
5     <author>
6       <firstname>Bob</firstname>
7       <surname>Stayton</surname>
8       <affiliation>
9         <orgname>Sagehill Enterprises</orgname>
10       </affiliation>
11     </author>
12     <author>
13       <firstname>Steve</firstname>
14       <surname>Ball</surname>
15       <affiliation>
16         <orgname>Explain</orgname>
17       </affiliation>
18     </author>
19     <revhistory>
20       <revision>
21         <revnumber>1.8</revnumber>
22         <date>2008-05-22</date>
23         <authorinitials>SRB</authorinitials>
24         <revremark>Updated for current implementation.</revremark>
25       </revision>
26       <revision>
27         <revnumber>1.7</revnumber>
28         <date>2008-02-22</date>
29         <authorinitials>SRB</authorinitials>
30         <revremark>Added edition.</revremark>
31       </revision>
32       <revision>
33         <revnumber>1.6</revnumber>
34         <date>2007-10-19</date>
35         <authorinitials>SRB</authorinitials>
36         <revremark>Added keyword.</revremark>
37       </revision>
38       <revision>
39         <revnumber>1.5</revnumber>
40         <date>2007-01-05</date>
41         <authorinitials>SRB</authorinitials>
42         <revremark>Reduce emphasis on WordML, add support for OpenOffice.</revremark>
43       </revision>
44       <revision>
45         <revnumber>1.4</revnumber>
46         <date>2005-11-11</date>
47         <authorinitials>SRB</authorinitials>
48         <revremark>Added bibliography.</revremark>
49       </revision>
50       <revision>
51         <revnumber>1.3</revnumber>
52         <date>2005-10-31</date>
53         <authorinitials>SRB</authorinitials>
54         <revremark>Added mediaobjectco, imageobjectco, programlistingco, areaspec, area, calloutlist.</revremark>
55       </revision>
56       <revision>
57         <revnumber>1.2</revnumber>
58         <date>2005-10-13</date>
59         <authorinitials>SRB</authorinitials>
60         <revremark>Version prior to using revhistory.</revremark>
61       </revision>
62     </revhistory>
63   </info>
64   <abstract>
65     <para>This document specifies how DocBook elements are mapped to paragraph and character styles in a word processor.  The specifications are used to write conversions between DocBook XML and word processor XML formats, such as Microsoft's WordProcessingML (WordML), OpenOffice's OpenDocument and Apple's Pages.</para>
66   </abstract>
67   <section>
68     <title>Introduction</title>
69     <para>Microsoft Word 2003 introduced WordProcessingML (WordML), an XML vocabulary for Word documents.  Since then, other popular word processors have become available that use XML as their data representation, namely Apple's Pages and OpenOffice.  By converting Word (or OpenOffice or Pages) to XML, it becomes possible to convert a word processing document to DocBook and vice versa using XSL transformations. Such conversions then enable the following.</para>
70     <itemizedlist>
71       <listitem>
72         <para>DocBook content creators write in their familiar wordprocessing application, rather than learning a new XML editing application.</para>
73       </listitem>
74       <listitem>
75         <para>DocBook XML documents can be styled for output using the typesetting features of the word processor.</para>
76       </listitem>
77     </itemizedlist>
78     <para>Word processors have a simple, flat data model; documents consist of paragraphs (and tables) and paragraphs contain text and character spans.  All word processors allow styles to be associated with paragraphs and spans.</para>
79     <para>This specification describes how DocBook elements map to a set of paragraph and character styles. It defines a specific set of style names for which a Word style template can be created. The style names are also used in XSLT template match patterns for conversion.  Although originally targetted to MS Word, the system has subsequently been extended to use other word processors, notably Apple's Pages and Open Office.</para>
80   </section>
81   <section>
82     <title>Project goals</title>
83     <para>The goal of this project is to enable a word processor, such as, but not limited to, Microsoft Word, to be used with DocBook files.  The specific goals include:</para>
84     <itemizedlist>
85       <listitem>
86         <para>Enable authoring of basic DocBook documents in the word processor.</para>
87       </listitem>
88       <listitem>
89         <para>Enable importing of basic DocBook XML documents into the word processor.</para>
90       </listitem>
91     </itemizedlist>
92     <para>To meet these goals, the project provides a toolkit that can be immediately put to use.  The kit includes:</para>
93     <itemizedlist>
94       <listitem>
95         <para>Templates for Microsoft Word, Apple Pages and Open Office with formatting styles attached to the style names.</para>
96       </listitem>
97       <listitem>
98         <para>XSLT stylesheets that convert a word processing document that is authored with the corresponding template into a DocBook XML file.</para>
99       </listitem>
100       <listitem>
101         <para>XSLT stylesheets that convert a DocBook document into a word processing document that can be opened in a word processor.</para>
102       </listitem>
103     </itemizedlist>
104     <section>
105       <title>Why basic DocBook?</title>
106       <para>This project will never be able to support all DocBook elements and structure. Take, for example, the <tag>address</tag> element. This element can be used both as a block element for metadata. It can also be used as a phrase level element in a block parent, such as the <tag>affiliation</tag> element. To make matters worse, it can itself contain phrase level markup, such as <tag>personname</tag>. No word processor allows character styles to be nested.</para>
107       <para>The project will initially focus on a basic set of commonly used DocBook elements in order to create a useful editing environment that utilises a word processor with DocBook. </para>
108       <para>One problem facing this conversion project is the sheer number of DocBook elements, over 400 in DocBook 5.0. To support DocBook structural models, several of the elements require more than one paragraph or character style. This would lead to very long and unwieldy list of styles in the word processor interface. That would make authoring less efficient and discourage users.</para>
109       <para>Accordingly, this project assumes that authors who need the full set of DocBook elements and structures will use an XML authoring tool that better supports them. This project is focused on authors who wish to write basic DocBook documents using a word processor. Because Microsoft Word is so widespread, it is hoped that this project will help a lot of new DocBook users get started with familiar tools.  They can then graduate to more advanced tools as their needs develop.</para>
110     </section>
111   </section>
112   <section>
113     <title>Project Non-Goals</title>
114     <para>The following goals <emphasis>are not</emphasis> in the scope of this project:</para>
115     <itemizedlist>
116       <listitem>
117         <para>Support of versions of Word that do not feature reading/writing WordML (XML).  That is, all versions prior to Word 11 (Office 2003).</para>
118       </listitem>
119       <listitem>
120         <para>Support of arbitrarily defined styles.  This system may expect certain styles to be defined in a particular fashion (in particular, those defining the title of components and divisions).</para>
121       </listitem>
122     </itemizedlist>
123   </section>
124   <section>
125     <title>Mapping elements to styles</title>
126     <para>Although WordML, OpenDocument and DocBook are all XML, there several challenges when trying to convert between them.</para>
127     <para>The basic problem in mapping paragraph/character styles to DocBook elements is that word processor documents support far less structure than DocBook.  DocBook permits nesting of elements within other elements, providing multiple levels of context for each element.</para>
128     <para>Word's only structural feature is the outlining mode. In Word outlining, certain paragraph styles are assigned outline levels.  When a user applies those styles, they effectively create logical structure in the Word document.  Unfortunately, Word itself attempts to automatically determine which paragraphs are headings, rendering this method is unreliable.</para>
129     <para>Instead of relying on Word's built-in outlining mode, this system uses only the names of paragraph styles to determine document structure.  Certain heuristics are applied to build the DocBook element structure from the (relatively flat) word processing structure.  Titles and other features are used to mark the beginning of a structure and all paragraphs following that are included in that structure until the beginning of the next structure is found. That is, the beginning of one structure marks the end of the previous structure.</para>
130     <para>Problems may arise when a structure should end, but there is no word processor feature that marks the endpoint. To mark the end of a feature an empty paragraph is used.</para>
131     <para>Nesting of block elements is another commonly used feature of DocBook.  It is not possible to use Word's outline mode for blocks if it is being used for components and sections.  So in this specification, nesting of block elements is indicated by adding a number suffix to a style. So a paragraph with style <literal>orderedlist2</literal> is considered to be contained within a preceding paragraph with style <literal>orderedlist1</literal> or <literal>itemizedlist1</literal>. Where appropriate in the word processor, paragraph indent levels are used to visually indicate nesting of blocks.</para>
132     <para>Nesting of inline DocBook elements is particularly difficult to support because word processors do not nest character styles. That means a nested inline would require a separate character style to indicate the parent-child relationship. Given the large number of combinations possible, a prohibitively large number of character styles would have to be created. In this project, nesting of character styles is not supported. Nested inlines being imported from DocBook will be converted to a sequence of single-name character styles, where possible, or rejected.</para>
133     <para>In many cases, DocBook structure can be derived from the flat sequence of paragraphs based on sibling relationships. For example, when a paragraph styled as <literal>para</literal> is followed by a paragraph styled as <literal>itemizedlist1</literal>, the conversion to DocBook will output a <tag>para</tag> element and then start an <tag>itemizedlist</tag> element, with the second paragraph as its first <tag>listitem</tag>. All <literal>itemizedlist1</literal> paragraphs that follow without interruption are inserted into the same <tag>itemizedlist</tag> element.</para>
134     <para>Some combinations of elements cannot be supported (at least not with the techniques as described in this document).  An example is <tag>informalexample</tag> and its permitted content; there is no title to mark the beginning of the element and no marker for the end of the element, also there are too many parent-child combinations to reasonably define style names.</para>
135     <para>The design principles used in this project for selecting paragraph/character style names are as follows:</para>
136     <itemizedlist>
137       <listitem>
138         <para>Where Word (or OpenOffice or Pages), by default, has a style or feature that corresponds directly to a DocBook element then that style or feature will be used (and documented in this document).  For example, the <literal>Normal</literal> paragraph style maps to a DocBook <tag>para</tag> element, and a Word table (<tag>w:tbl</tag>) maps to a DocBook <tag>table</tag><footnote><para>In some cases Word may posess a feature, but it doesn't function in an acceptable manner.  For example, lists.  In these cases the feature is to be avoided, and a workaround provided.</para></footnote>.</para>
139       </listitem>
140       <listitem>
141         <para>Paragraph and character style names will match DocBook element names as much as possible. This will enable authors to learn DocBook element names and help debug problems with conversion.</para>
142       </listitem>
143       <listitem>
144         <para>A style may indicate a parent-child relationship, but the paragraph for such an element may only occur after a paragraph that denotes the beginning of the parent structure.  In this case the element name is used as the style name.  For example, a <tag>personblurb</tag> paragraph may only occur after an <tag>author</tag>, <tag>editor</tag> or <tag>othercontrib</tag> paragraph.  If a paragraph occurs without the appropriate preceding paragraph, then an error is signalled.</para>
145       </listitem>
146       <listitem>
147         <para>Some styles may also indicate a parent-child relationship, but either the parent structure is ambiguous or the paragraph starts the parent structure.  For example, <literal>chapter-title</literal> indicates that the paragraph is a <tag>title</tag> element whose DocBook parent is a <tag>chapter</tag> element.</para>
148       </listitem>
149       <listitem>
150         <para>Some style names are simplified to make them easier to use in the word processor. For example, a paragraph in an orderedlist requires three elements in DocBook: <tag>orderedlist</tag>, <tag>listitem</tag>, and <tag>para</tag>. The paragraph style name in Word is shortened from <literal>orderedlist-listitem-para</literal> to just <literal>orderedlist1</literal> (for a first level list). In the case of lists (see below), the list level is appended, which is why this example becomes <literal>orderedlist1</literal>.</para>
151       </listitem>
152       <listitem>
153         <para>Style names with a number suffix indicate a nesting level, as described above.</para>
154       </listitem>
155       <listitem>
156         <para>Style names with <literal>continue</literal> indicate that the paragraph is part of the preceding element. For example, a <literal>para</literal> paragraph is used for a single paragraph <tag>para</tag> element. This causes any preceding list to be closed. If a list item in the preceding list is to contain more than one paragraph, then the subsequent paragraphs in the word processor documentmust use the <literal>para-continue</literal> style.</para>
157       </listitem>
158       <listitem>
159         <para>Character styles map to elements that are children of the element for the paragraph, hence there is no need to encode parent-child relationships.  For example, a <literal>surname</literal> character style in an <literal>author</literal> paragraph becomes a <tag>surname</tag> child element of the <tag>author</tag> element.</para>
160       </listitem>
161       <listitem>
162         <para>Empty paragraph and character styles are ignored. This can be useful to end structures.</para>
163       </listitem>
164       <listitem>
165         <para>The first paragraph style in the word processor document is used to define the root element of the DocBook document. For example, if the document starts with <literal>book-title</literal>, then the DocBook document will have <tag>book</tag> element as its root element.  All the rest of the document content will be contained in that root element.</para>
166       </listitem>
167     </itemizedlist>
168     <para>Sequential structures are coalesced into a single parent element.  For example, a sequence of <literal>itemizedlist1</literal> paragraphs becomes a single <tag>itemizedlist</tag> element with several <tag>listitem</tag> element children.</para>
169     <table>
170       <title>DocBook to Paragraph/Character Styles</title>
171       <tgroup cols="3">
172         <colspec colnum="1" colname="col1" colwidth="2*"/>
173         <colspec colnum="2" colname="col2" colwidth="2*"/>
174         <colspec colnum="3" colname="col3" colwidth="2*"/>
175         <thead>
176           <row>
177             <entry>
178               <para colname="col1">DocBook element</para>
179             </entry>
180             <entry>
181               <para colname="col2">Style(s)</para>
182             </entry>
183             <entry>
184               <para colname="col3">Comments</para>
185             </entry>
186           </row>
187         </thead>
188         <tbody>
189           <row>
190             <entry namest="col1" nameend="col3">
191               <para>
192                 <emphasis role="bold">Components and sections</emphasis>
193               </para>
194             </entry>
195           </row>
196           <row>
197             <entry>
198               <para colname="col1">book/info/title</para>
199             </entry>
200             <entry colname="col2">
201               <para>book-title</para>
202             </entry>
203             <entry colname="col3">
204               <para/>
205             </entry>
206           </row>
207           <row>
208             <entry colname="col1">
209               <para>book/info/subtitle</para>
210             </entry>
211             <entry colname="col2">
212               <para>book-subtitle</para>
213             </entry>
214             <entry colname="col3">
215               <para/>
216             </entry>
217           </row>
218           <row>
219             <entry colname="col1">
220               <para>book/info/titleabbrev</para>
221             </entry>
222             <entry colname="col2">
223               <para>book-titleabbrev</para>
224             </entry>
225             <entry colname="col3">
226               <para/>
227             </entry>
228           </row>
229           <row>
230             <entry colname="col1">
231               <para>chapter/info/title</para>
232             </entry>
233             <entry colname="col2">
234               <para>chapter-title</para>
235             </entry>
236             <entry colname="col3">
237               <para>Assigned Word outline level 1.</para>
238             </entry>
239           </row>
240           <row>
241             <entry colname="col1">
242               <para>chapter/info/subtitle</para>
243             </entry>
244             <entry colname="col2">
245               <para>chapter-subtitle</para>
246             </entry>
247             <entry colname="col3">
248               <para/>
249             </entry>
250           </row>
251           <row>
252             <entry colname="col1">
253               <para>chapter/info/titleabbrev</para>
254             </entry>
255             <entry colname="col2">
256               <para>chapter-titleabbrev</para>
257             </entry>
258             <entry>
259               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
260             </entry>
261           </row>
262           <row>
263             <entry colname="col1">
264               <para>appendix/info/title</para>
265             </entry>
266             <entry colname="col2">
267               <para>appendix-title</para>
268             </entry>
269             <entry colname="col3">
270               <para>Assigned Word outline level 1.</para>
271             </entry>
272           </row>
273           <row>
274             <entry colname="col1">
275               <para>preface/info/title</para>
276             </entry>
277             <entry colname="col2">
278               <para>preface-title</para>
279             </entry>
280             <entry colname="col3">
281               <para>Assigned Word outline level 1.</para>
282             </entry>
283           </row>
284           <row>
285             <entry colname="col1">
286               <para>article/info/title</para>
287             </entry>
288             <entry colname="col2">
289               <para>article-title</para>
290             </entry>
291             <entry colname="col3">
292               <para>Assigned Word outline level 1.</para>
293             </entry>
294           </row>
295           <row>
296             <entry colname="col1">
297               <para>article/info/subtitle</para>
298             </entry>
299             <entry colname="col2">
300               <para>article-subtitle</para>
301             </entry>
302             <entry colname="col3">
303               <para/>
304             </entry>
305           </row>
306           <row>
307             <entry colname="col1">
308               <db:para xmlns:db="http://docbook.org/ns/docbook">article/info/titleabbrev</db:para>
309             </entry>
310             <entry colname="col2">
311               <db:para xmlns:db="http://docbook.org/ns/docbook">article-titleabbrev</db:para>
312             </entry>
313             <entry colname="col3">
314               <para/>
315             </entry>
316           </row>
317           <row>
318             <entry colname="col1">
319               <db:para xmlns:db="http://docbook.org/ns/docbook">bibliography/info/title</db:para>
320             </entry>
321             <entry colname="col2">
322               <db:para xmlns:db="http://docbook.org/ns/docbook">bibliography-title</db:para>
323             </entry>
324             <entry colname="col3">
325               <db:para xmlns:db="http://docbook.org/ns/docbook">Assigned Word outline level 1.</db:para>
326             </entry>
327           </row>
328           <row>
329             <entry colname="col1">
330               <db:para xmlns:db="http://docbook.org/ns/docbook">bibliography/bibliodiv/info/title</db:para>
331             </entry>
332             <entry colname="col2">
333               <db:para xmlns:db="http://docbook.org/ns/docbook">bibliodiv-title</db:para>
334             </entry>
335             <entry>
336               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
337             </entry>
338           </row>
339           <row>
340             <entry colname="col1">
341               <db:para xmlns:db="http://docbook.org/ns/docbook">biblioentry/title</db:para>
342             </entry>
343             <entry colname="col2">
344               <db:para xmlns:db="http://docbook.org/ns/docbook">biblioentry-title</db:para>
345             </entry>
346             <entry colname="col3">
347               <db:para xmlns:db="http://docbook.org/ns/docbook">Metadata elements after the biblioentry-title paragraph become part of the <sgmltag>biblioentry</sgmltag>.</db:para>
348             </entry>
349           </row>
350           <row>
351             <entry colname="col1">
352               <db:para xmlns:db="http://docbook.org/ns/docbook">glossary/info/title</db:para>
353             </entry>
354             <entry colname="col2">
355               <db:para xmlns:db="http://docbook.org/ns/docbook">glossary-title</db:para>
356             </entry>
357             <entry colname="col3">
358               <db:para xmlns:db="http://docbook.org/ns/docbook">Assigned Word outline level 1.</db:para>
359             </entry>
360           </row>
361           <row>
362             <entry colname="col1">
363               <db:para xmlns:db="http://docbook.org/ns/docbook">index/info/title</db:para>
364             </entry>
365             <entry colname="col2">
366               <db:para xmlns:db="http://docbook.org/ns/docbook">index-title</db:para>
367             </entry>
368             <entry colname="col3">
369               <db:para xmlns:db="http://docbook.org/ns/docbook">Assigned Word outline level 1.</db:para>
370             </entry>
371           </row>
372           <row>
373             <entry colname="col1">
374               <db:para xmlns:db="http://docbook.org/ns/docbook">part/info/title</db:para>
375             </entry>
376             <entry colname="col2">
377               <db:para xmlns:db="http://docbook.org/ns/docbook">part-title</db:para>
378             </entry>
379             <entry>
380               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
381             </entry>
382           </row>
383           <row>
384             <entry colname="col1">
385               <db:para xmlns:db="http://docbook.org/ns/docbook">section</db:para>
386             </entry>
387             <entry colname="col2">
388               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
389             </entry>
390             <entry colname="col3">
391               <db:para xmlns:db="http://docbook.org/ns/docbook">Unnumbered <tag>section</tag> elements are translated into their equivalent numbered paragraph style. Sections 6 levels and deeper are reported as an error.</db:para>
392             </entry>
393           </row>
394           <row>
395             <entry colname="col1">
396               <db:para xmlns:db="http://docbook.org/ns/docbook">sect1/info/title</db:para>
397             </entry>
398             <entry colname="col2">
399               <db:para xmlns:db="http://docbook.org/ns/docbook">sect1-title</db:para>
400             </entry>
401             <entry colname="col3">
402               <db:para xmlns:db="http://docbook.org/ns/docbook">Assigned Word outline level 2.</db:para>
403             </entry>
404           </row>
405           <row>
406             <entry colname="col1">
407               <db:para xmlns:db="http://docbook.org/ns/docbook">sect1/info/subtitle</db:para>
408             </entry>
409             <entry colname="col2">
410               <db:para xmlns:db="http://docbook.org/ns/docbook">sect1-subtitle</db:para>
411             </entry>
412             <entry>
413               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
414             </entry>
415           </row>
416           <row>
417             <entry colname="col1">
418               <db:para xmlns:db="http://docbook.org/ns/docbook">sect2/info/title</db:para>
419             </entry>
420             <entry colname="col2">
421               <db:para xmlns:db="http://docbook.org/ns/docbook">sect2-title</db:para>
422             </entry>
423             <entry colname="col3">
424               <db:para xmlns:db="http://docbook.org/ns/docbook">Assigned Word outline level 3.</db:para>
425             </entry>
426           </row>
427           <row>
428             <entry colname="col1">
429               <db:para xmlns:db="http://docbook.org/ns/docbook">sect2/info/subtitle</db:para>
430             </entry>
431             <entry colname="col2">
432               <db:para xmlns:db="http://docbook.org/ns/docbook">sect2-subtitle</db:para>
433             </entry>
434             <entry>
435               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
436             </entry>
437           </row>
438           <row>
439             <entry colname="col1">
440               <db:para xmlns:db="http://docbook.org/ns/docbook">sect3/info/title</db:para>
441             </entry>
442             <entry colname="col2">
443               <db:para xmlns:db="http://docbook.org/ns/docbook">sect3-title</db:para>
444             </entry>
445             <entry colname="col3">
446               <db:para xmlns:db="http://docbook.org/ns/docbook">Assigned Word outline level 4.</db:para>
447             </entry>
448           </row>
449           <row>
450             <entry colname="col1">
451               <db:para xmlns:db="http://docbook.org/ns/docbook">sect3/info/subtitle</db:para>
452             </entry>
453             <entry colname="col2">
454               <db:para xmlns:db="http://docbook.org/ns/docbook">sect3-subtitle</db:para>
455             </entry>
456             <entry>
457               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
458             </entry>
459           </row>
460           <row>
461             <entry colname="col1">
462               <db:para xmlns:db="http://docbook.org/ns/docbook">sect4/info/title</db:para>
463             </entry>
464             <entry colname="col2">
465               <db:para xmlns:db="http://docbook.org/ns/docbook">sect4-title</db:para>
466             </entry>
467             <entry colname="col3">
468               <db:para xmlns:db="http://docbook.org/ns/docbook">Assigned Word outline level 5.</db:para>
469             </entry>
470           </row>
471           <row>
472             <entry colname="col1">
473               <db:para xmlns:db="http://docbook.org/ns/docbook">sect4/info/subtitle</db:para>
474             </entry>
475             <entry colname="col2">
476               <db:para xmlns:db="http://docbook.org/ns/docbook">sect4-subtitle</db:para>
477             </entry>
478             <entry>
479               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
480             </entry>
481           </row>
482           <row>
483             <entry colname="col1">
484               <db:para xmlns:db="http://docbook.org/ns/docbook">sect5/info/title</db:para>
485             </entry>
486             <entry colname="col2">
487               <db:para xmlns:db="http://docbook.org/ns/docbook">sect5-title</db:para>
488             </entry>
489             <entry colname="col3">
490               <db:para xmlns:db="http://docbook.org/ns/docbook">Assigned Word outline level 6.</db:para>
491             </entry>
492           </row>
493           <row>
494             <entry colname="col1">
495               <db:para xmlns:db="http://docbook.org/ns/docbook">sect5/info/subtitle</db:para>
496             </entry>
497             <entry colname="col2">
498               <db:para xmlns:db="http://docbook.org/ns/docbook">sect5-subtitle</db:para>
499             </entry>
500             <entry>
501               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
502             </entry>
503           </row>
504           <row>
505             <entry colname="col1">
506               <db:para xmlns:db="http://docbook.org/ns/docbook">simplesect/info/title</db:para>
507             </entry>
508             <entry colname="col2">
509               <db:para xmlns:db="http://docbook.org/ns/docbook">simplesect-title</db:para>
510             </entry>
511             <entry>
512               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
513             </entry>
514           </row>
515           <row>
516             <entry colname="col1">
517               <db:para xmlns:db="http://docbook.org/ns/docbook">simplesect/info/subtitle</db:para>
518             </entry>
519             <entry colname="col2">
520               <db:para xmlns:db="http://docbook.org/ns/docbook">simplesect-subtitle</db:para>
521             </entry>
522             <entry>
523               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
524             </entry>
525           </row>
526           <row>
527             <entry colname="col1">
528               <db:para xmlns:db="http://docbook.org/ns/docbook">bridgehead</db:para>
529             </entry>
530             <entry colname="col2">
531               <db:para xmlns:db="http://docbook.org/ns/docbook">bridgehead</db:para>
532             </entry>
533             <entry>
534               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
535             </entry>
536           </row>
537           <row>
538             <entry namest="col1" nameend="col3">
539               <db:para xmlns:db="http://docbook.org/ns/docbook">
540                 <emphasis role="bold">Metadata elements</emphasis>
541               </db:para>
542             </entry>
543           </row>
544           <row>
545             <entry colname="col1">
546               <db:para xmlns:db="http://docbook.org/ns/docbook">abstract/title</db:para>
547             </entry>
548             <entry colname="col2">
549               <db:para xmlns:db="http://docbook.org/ns/docbook">abstract-title</db:para>
550             </entry>
551             <entry colname="col3"><para/>.</entry>
552           </row>
553           <row>
554             <entry colname="col1">
555               <db:para xmlns:db="http://docbook.org/ns/docbook">abstract/para</db:para>
556             </entry>
557             <entry colname="col2">
558               <db:para xmlns:db="http://docbook.org/ns/docbook">abstract</db:para>
559             </entry>
560             <entry colname="col3">
561               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
562             </entry>
563           </row>
564           <row>
565             <entry colname="col1">
566               <db:para xmlns:db="http://docbook.org/ns/docbook">affiliation</db:para>
567             </entry>
568             <entry colname="col2">
569               <db:para xmlns:db="http://docbook.org/ns/docbook">affiliation</db:para>
570             </entry>
571             <entry>
572               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
573             </entry>
574           </row>
575           <row>
576             <entry colname="col1">
577               <db:para xmlns:db="http://docbook.org/ns/docbook">address</db:para>
578             </entry>
579             <entry colname="col2">
580               <db:para xmlns:db="http://docbook.org/ns/docbook">address</db:para>
581             </entry>
582             <entry>
583               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
584             </entry>
585           </row>
586           <row>
587             <entry colname="col1">
588               <db:para xmlns:db="http://docbook.org/ns/docbook">author</db:para>
589             </entry>
590             <entry colname="col2">
591               <db:para xmlns:db="http://docbook.org/ns/docbook">author</db:para>
592             </entry>
593             <entry>
594               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
595             </entry>
596           </row>
597           <row>
598             <entry colname="col1">
599               <db:para xmlns:db="http://docbook.org/ns/docbook">date</db:para>
600             </entry>
601             <entry colname="col2">
602               <db:para xmlns:db="http://docbook.org/ns/docbook">date</db:para>
603             </entry>
604             <entry>
605               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
606             </entry>
607           </row>
608           <row>
609             <entry colname="col1">
610               <db:para xmlns:db="http://docbook.org/ns/docbook">edition</db:para>
611             </entry>
612             <entry colname="col2">
613               <db:para xmlns:db="http://docbook.org/ns/docbook">edition</db:para>
614             </entry>
615             <entry>
616               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
617             </entry>
618           </row>
619           <row>
620             <entry colname="col1">
621               <db:para xmlns:db="http://docbook.org/ns/docbook">legalnotice</db:para>
622             </entry>
623             <entry colname="col2">
624               <db:para xmlns:db="http://docbook.org/ns/docbook">legalnotice</db:para>
625             </entry>
626             <entry>
627               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
628             </entry>
629           </row>
630           <row>
631             <entry colname="col1">
632               <db:para xmlns:db="http://docbook.org/ns/docbook">pubdate</db:para>
633             </entry>
634             <entry colname="col2">
635               <db:para xmlns:db="http://docbook.org/ns/docbook">pubdate</db:para>
636             </entry>
637             <entry>
638               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
639             </entry>
640           </row>
641           <row>
642             <entry colname="col1">
643               <db:para xmlns:db="http://docbook.org/ns/docbook">publisher/pubishername</db:para>
644             </entry>
645             <entry colname="col2">
646               <db:para xmlns:db="http://docbook.org/ns/docbook">publisher</db:para>
647             </entry>
648             <entry>
649               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
650             </entry>
651           </row>
652           <row>
653             <entry colname="col1">
654               <db:para xmlns:db="http://docbook.org/ns/docbook">publisher/address</db:para>
655             </entry>
656             <entry colname="col2">
657               <db:para xmlns:db="http://docbook.org/ns/docbook">publisher-address</db:para>
658             </entry>
659             <entry>
660               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
661             </entry>
662           </row>
663           <row>
664             <entry colname="col1">
665               <db:para xmlns:db="http://docbook.org/ns/docbook">revhistory/revision</db:para>
666             </entry>
667             <entry colname="col2">
668               <db:para xmlns:db="http://docbook.org/ns/docbook">revision</db:para>
669             </entry>
670             <entry>
671               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
672             </entry>
673           </row>
674           <row>
675             <entry namest="col1" nameend="col3">
676               <db:para xmlns:db="http://docbook.org/ns/docbook">
677                 <emphasis role="bold">Block-level elements</emphasis>
678               </db:para>
679             </entry>
680           </row>
681           <row>
682             <entry colname="col1">
683               <db:para xmlns:db="http://docbook.org/ns/docbook">para</db:para>
684             </entry>
685             <entry colname="col2">
686               <db:para xmlns:db="http://docbook.org/ns/docbook">para, Normal</db:para>
687             </entry>
688             <entry colname="col3">
689               <db:para xmlns:db="http://docbook.org/ns/docbook">Any Word paragraph with style <literal>Normal</literal> will also be converted to a <tag>para</tag> element.</db:para>
690             </entry>
691           </row>
692           <row>
693             <entry colname="col1">
694               <db:para xmlns:db="http://docbook.org/ns/docbook">formalpara/title</db:para>
695             </entry>
696             <entry colname="col2">
697               <db:para xmlns:db="http://docbook.org/ns/docbook">formalpara-title</db:para>
698             </entry>
699             <entry>
700               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
701             </entry>
702           </row>
703           <row>
704             <entry colname="col1">
705               <db:para xmlns:db="http://docbook.org/ns/docbook">formalpara/para</db:para>
706             </entry>
707             <entry colname="col2">
708               <db:para xmlns:db="http://docbook.org/ns/docbook">formalpara</db:para>
709             </entry>
710             <entry>
711               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
712             </entry>
713           </row>
714           <row>
715             <entry colname="col1">
716               <db:para xmlns:db="http://docbook.org/ns/docbook">simpara</db:para>
717             </entry>
718             <entry colname="col2">
719               <db:para xmlns:db="http://docbook.org/ns/docbook">simpara</db:para>
720             </entry>
721             <entry>
722               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
723             </entry>
724           </row>
725           <row>
726             <entry colname="col1">
727               <db:para xmlns:db="http://docbook.org/ns/docbook">note/title</db:para>
728             </entry>
729             <entry colname="col2">
730               <db:para xmlns:db="http://docbook.org/ns/docbook">note-title</db:para>
731             </entry>
732             <entry>
733               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
734             </entry>
735           </row>
736           <row>
737             <entry colname="col1">
738               <db:para xmlns:db="http://docbook.org/ns/docbook">note/para</db:para>
739             </entry>
740             <entry colname="col2">
741               <db:para xmlns:db="http://docbook.org/ns/docbook">note</db:para>
742             </entry>
743             <entry colname="col3">
744               <db:para xmlns:db="http://docbook.org/ns/docbook">Consecutive paragraphs with style <literal>note</literal> after the first note are to be treated as part of the same <tag>note</tag> element.  That is, consecutive notes are coalesced. The note may or may not have a title.</db:para>
745             </entry>
746           </row>
747           <row>
748             <entry colname="col1">
749               <db:para xmlns:db="http://docbook.org/ns/docbook">caution/title</db:para>
750             </entry>
751             <entry colname="col2">
752               <db:para xmlns:db="http://docbook.org/ns/docbook">caution-title</db:para>
753             </entry>
754             <entry>
755               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
756             </entry>
757           </row>
758           <row>
759             <entry colname="col1">
760               <db:para xmlns:db="http://docbook.org/ns/docbook">caution/para</db:para>
761             </entry>
762             <entry colname="col2">
763               <db:para xmlns:db="http://docbook.org/ns/docbook">caution</db:para>
764             </entry>
765             <entry colname="col3">
766               <db:para xmlns:db="http://docbook.org/ns/docbook">Consecutive cautions are coalesced.</db:para>
767             </entry>
768           </row>
769           <row>
770             <entry colname="col1">
771               <db:para xmlns:db="http://docbook.org/ns/docbook">warning/title</db:para>
772             </entry>
773             <entry colname="col2">
774               <db:para xmlns:db="http://docbook.org/ns/docbook">warning-title</db:para>
775             </entry>
776             <entry>
777               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
778             </entry>
779           </row>
780           <row>
781             <entry colname="col1">
782               <db:para xmlns:db="http://docbook.org/ns/docbook">warning/para</db:para>
783             </entry>
784             <entry colname="col2">
785               <db:para xmlns:db="http://docbook.org/ns/docbook">warning</db:para>
786             </entry>
787             <entry colname="col3">
788               <db:para xmlns:db="http://docbook.org/ns/docbook">Consecutive warnings are coalesced.</db:para>
789             </entry>
790           </row>
791           <row>
792             <entry colname="col1">
793               <db:para xmlns:db="http://docbook.org/ns/docbook">important/title</db:para>
794             </entry>
795             <entry colname="col2">
796               <db:para xmlns:db="http://docbook.org/ns/docbook">important-title</db:para>
797             </entry>
798             <entry>
799               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
800             </entry>
801           </row>
802           <row>
803             <entry colname="col1">
804               <db:para xmlns:db="http://docbook.org/ns/docbook">important/para</db:para>
805             </entry>
806             <entry colname="col2">
807               <db:para xmlns:db="http://docbook.org/ns/docbook">important</db:para>
808             </entry>
809             <entry colname="col3">
810               <db:para xmlns:db="http://docbook.org/ns/docbook">Consecutive importants are coalesced.</db:para>
811             </entry>
812           </row>
813           <row>
814             <entry colname="col1">
815               <db:para xmlns:db="http://docbook.org/ns/docbook">tip/title</db:para>
816             </entry>
817             <entry colname="col2">
818               <db:para xmlns:db="http://docbook.org/ns/docbook">tip-title</db:para>
819             </entry>
820             <entry>
821               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
822             </entry>
823           </row>
824           <row>
825             <entry colname="col1">
826               <db:para xmlns:db="http://docbook.org/ns/docbook">tip/para</db:para>
827             </entry>
828             <entry colname="col2">
829               <db:para xmlns:db="http://docbook.org/ns/docbook">tip</db:para>
830             </entry>
831             <entry colname="col3">
832               <db:para xmlns:db="http://docbook.org/ns/docbook">Consecutive tips are coalesced.</db:para>
833             </entry>
834           </row>
835           <row>
836             <entry colname="col1">
837               <db:para xmlns:db="http://docbook.org/ns/docbook">itemizedlist/listitem/para</db:para>
838             </entry>
839             <entry colname="col2">
840               <db:para xmlns:db="http://docbook.org/ns/docbook">
841                 <literallayout class="monospaced">itemizedlist1
842 itemizedlist2
843 itemizedlist3
844 itemizedlist4</literallayout>
845               </db:para>
846             </entry>
847             <entry colname="col3">
848               <db:para xmlns:db="http://docbook.org/ns/docbook">A number suffix indicates a nesting level within other lists.</db:para>
849             </entry>
850           </row>
851           <row>
852             <entry colname="col1">
853               <db:para xmlns:db="http://docbook.org/ns/docbook">orderedlist/listitem/para</db:para>
854             </entry>
855             <entry colname="col2">
856               <db:para xmlns:db="http://docbook.org/ns/docbook">
857                 <literallayout class="monospaced">orderedlist1
858 orderedlist2
859 orderedlist3
860 orderedlist4</literallayout>
861               </db:para>
862             </entry>
863             <entry>
864               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
865             </entry>
866           </row>
867           <row>
868             <entry colname="col1">
869               <db:para xmlns:db="http://docbook.org/ns/docbook">listitem/para[position() != 1]</db:para>
870             </entry>
871             <entry colname="col2">
872               <db:para xmlns:db="http://docbook.org/ns/docbook">para-continue</db:para>
873             </entry>
874             <entry colname="col3">
875               <db:para xmlns:db="http://docbook.org/ns/docbook">This paragraph is included in the immediately preceding listitem.</db:para>
876             </entry>
877           </row>
878           <row>
879             <entry colname="col1">
880               <db:para xmlns:db="http://docbook.org/ns/docbook">example/title</db:para>
881             </entry>
882             <entry colname="col2">
883               <db:para xmlns:db="http://docbook.org/ns/docbook">example-title</db:para>
884             </entry>
885             <entry colname="col3">
886               <para>All content following the title is included in the <tag>example</tag> element. The end of the example content is marked by a <literal>caption</literal> paragraph or an empty paragraph if there is no caption.</para>
887             </entry>
888           </row>
889           <row>
890             <entry colname="col1">
891               <db:para xmlns:db="http://docbook.org/ns/docbook">figure/title</db:para>
892             </entry>
893             <entry colname="col2">
894               <db:para xmlns:db="http://docbook.org/ns/docbook">figure-title</db:para>
895             </entry>
896             <entry colname="col3">
897               <para>All content following the title is included in the <tag>figure</tag> element. Metadata must immediately follow the title. The end of the figure content is marked by a <literal>caption</literal> paragraph or an empty paragraph if there is no caption.</para>
898             </entry>
899           </row>
900           <row>
901             <entry colname="col1">
902               <db:para xmlns:db="http://docbook.org/ns/docbook">informalfigure/mediaobject/imageobject/imagedata/@fileref</db:para>
903             </entry>
904             <entry colname="col2">
905               <db:para xmlns:db="http://docbook.org/ns/docbook">informalfigure-imagedata, caption</db:para>
906             </entry>
907             <entry colname="col3">
908               <para>The content of the <literal>imageobject-imagedata</literal> paragraph is taken as the URI for the image. Metadata may immediately follow the paragraph.</para>
909             </entry>
910           </row>
911           <row>
912             <entry colname="col1">
913               <db:para xmlns:db="http://docbook.org/ns/docbook">mediaobject/imageobject/imagedata/@fileref</db:para>
914             </entry>
915             <entry colname="col2">
916               <db:para xmlns:db="http://docbook.org/ns/docbook">imageobject-imagedata, caption</db:para>
917             </entry>
918             <entry colname="col3">
919               <para>The content of the <literal>imageobject-imagedata</literal> paragraph is taken as the URI for the image.  May be followed by a <literal>caption</literal> style paragraph. Metadata may immediately follow the paragraph, before the caption, if any.</para>
920             </entry>
921           </row>
922           <row>
923             <entry colname="col1">
924               <db:para xmlns:db="http://docbook.org/ns/docbook">table</db:para>
925             </entry>
926             <entry colname="col2">
927               <db:para xmlns:db="http://docbook.org/ns/docbook">Word table, caption</db:para>
928             </entry>
929             <entry>
930               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
931             </entry>
932           </row>
933           <row>
934             <entry colname="col1">
935               <db:para xmlns:db="http://docbook.org/ns/docbook">table/title</db:para>
936             </entry>
937             <entry colname="col2">
938               <db:para xmlns:db="http://docbook.org/ns/docbook">table-title, caption</db:para>
939             </entry>
940             <entry colname="col3">
941               <para>Metadata may immediately follow the paragraph.</para>
942             </entry>
943           </row>
944           <row>
945             <entry colname="col1">
946               <db:para xmlns:db="http://docbook.org/ns/docbook">informaltable</db:para>
947             </entry>
948             <entry colname="col2">
949               <db:para xmlns:db="http://docbook.org/ns/docbook">Word table</db:para>
950             </entry>
951             <entry colname="col3">
952               <para>A table with no title imediately preceding it.</para>
953             </entry>
954           </row>
955           <row>
956             <entry colname="col1">
957               <db:para xmlns:db="http://docbook.org/ns/docbook">caption</db:para>
958             </entry>
959             <entry colname="col2">
960               <db:para xmlns:db="http://docbook.org/ns/docbook">caption</db:para>
961             </entry>
962             <entry>
963               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
964             </entry>
965           </row>
966           <row>
967             <entry colname="col1">
968               <db:para xmlns:db="http://docbook.org/ns/docbook">literallayout</db:para>
969             </entry>
970             <entry colname="col2">
971               <db:para xmlns:db="http://docbook.org/ns/docbook">literallayout</db:para>
972             </entry>
973             <entry colname="col3">
974               <db:para xmlns:db="http://docbook.org/ns/docbook">Inside a <literal>literallayout</literal> paragraph in Word, lines should be separated by line break (Shift-Enter) rather than paragraph break (Enter).</db:para>
975             </entry>
976           </row>
977           <row>
978             <entry colname="col1">
979               <db:para xmlns:db="http://docbook.org/ns/docbook">programlisting</db:para>
980             </entry>
981             <entry colname="col2">
982               <db:para xmlns:db="http://docbook.org/ns/docbook">programlisting</db:para>
983             </entry>
984             <entry colname="col3">
985               <db:para xmlns:db="http://docbook.org/ns/docbook">Inside a <literal>programlisting</literal> paragraph in Word, lines should be separated by line break (Shift-Enter) rather than paragraph break (Enter). Tabs are not supported.</db:para>
986             </entry>
987           </row>
988           <row>
989             <entry colname="col1">
990               <db:para xmlns:db="http://docbook.org/ns/docbook">blockquote/title</db:para>
991             </entry>
992             <entry colname="col2">
993               <db:para xmlns:db="http://docbook.org/ns/docbook">blockquote-title</db:para>
994             </entry>
995             <entry colname="col3">
996               <db:para xmlns:db="http://docbook.org/ns/docbook">Must immediately precede a <literal>blockquote</literal> paragraph in Word.</db:para>
997             </entry>
998           </row>
999           <row>
1000             <entry colname="col1">
1001               <db:para xmlns:db="http://docbook.org/ns/docbook">blockquote/para</db:para>
1002             </entry>
1003             <entry colname="col2">
1004               <db:para xmlns:db="http://docbook.org/ns/docbook">blockquote</db:para>
1005             </entry>
1006             <entry>
1007               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
1008             </entry>
1009           </row>
1010           <row>
1011             <entry colname="col1">
1012               <db:para xmlns:db="http://docbook.org/ns/docbook">blockquote/attribution</db:para>
1013             </entry>
1014             <entry colname="col2">
1015               <db:para xmlns:db="http://docbook.org/ns/docbook">blockquote-attribution</db:para>
1016             </entry>
1017             <entry colname="col3">
1018               <db:para xmlns:db="http://docbook.org/ns/docbook">Must immediately follow a <literal>blockquote</literal> paragraph in Word.</db:para>
1019             </entry>
1020           </row>
1021           <row>
1022             <entry colname="col1">
1023               <db:para xmlns:db="http://docbook.org/ns/docbook">bibliomisc</db:para>
1024             </entry>
1025             <entry colname="col2">
1026               <db:para xmlns:db="http://docbook.org/ns/docbook">bibliomisc</db:para>
1027             </entry>
1028             <entry>
1029               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
1030             </entry>
1031           </row>
1032           <row>
1033             <entry namest="col1" nameend="col3">
1034               <db:para xmlns:db="http://docbook.org/ns/docbook">
1035                 <emphasis role="bold">Non-DocBook elements</emphasis>
1036               </db:para>
1037             </entry>
1038           </row>
1039           <row>
1040             <entry colname="col1">
1041               <db:para xmlns:db="http://docbook.org/ns/docbook">xi:include</db:para>
1042             </entry>
1043             <entry colname="col2">
1044               <db:para xmlns:db="http://docbook.org/ns/docbook">xinclude</db:para>
1045             </entry>
1046             <entry colname="col3">
1047               <db:para xmlns:db="http://docbook.org/ns/docbook">The content of the paragraph becomes the value of the <tag>href</tag> attribute.</db:para>
1048             </entry>
1049           </row>
1050           <row>
1051             <entry namest="col1" nameend="col3">
1052               <db:para xmlns:db="http://docbook.org/ns/docbook">
1053                 <emphasis role="bold">Inline elements</emphasis>
1054               </db:para>
1055             </entry>
1056           </row>
1057           <row>
1058             <entry colname="col1">
1059               <db:para xmlns:db="http://docbook.org/ns/docbook">emphasis</db:para>
1060             </entry>
1061             <entry colname="col2">
1062               <db:para xmlns:db="http://docbook.org/ns/docbook">emphasis</db:para>
1063             </entry>
1064             <entry>
1065               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
1066             </entry>
1067           </row>
1068           <row>
1069             <entry colname="col1">
1070               <db:para xmlns:db="http://docbook.org/ns/docbook">emphasis/@role="bold"</db:para>
1071             </entry>
1072             <entry colname="col2">
1073               <db:para xmlns:db="http://docbook.org/ns/docbook">emphasis-bold</db:para>
1074             </entry>
1075             <entry>
1076               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
1077             </entry>
1078           </row>
1079           <row>
1080             <entry colname="col1">
1081               <db:para xmlns:db="http://docbook.org/ns/docbook">emphasis/@role="underline"</db:para>
1082             </entry>
1083             <entry colname="col2">
1084               <db:para xmlns:db="http://docbook.org/ns/docbook">emphasis-underline</db:para>
1085             </entry>
1086             <entry>
1087               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
1088             </entry>
1089           </row>
1090           <row>
1091             <entry colname="col1">
1092               <db:para xmlns:db="http://docbook.org/ns/docbook">footnote</db:para>
1093             </entry>
1094             <entry colname="col2">
1095               <db:para xmlns:db="http://docbook.org/ns/docbook">Word footnote</db:para>
1096             </entry>
1097             <entry>
1098               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
1099             </entry>
1100           </row>
1101           <row>
1102             <entry colname="col1">
1103               <db:para xmlns:db="http://docbook.org/ns/docbook">link</db:para>
1104             </entry>
1105             <entry colname="col2">
1106               <db:para xmlns:db="http://docbook.org/ns/docbook">link</db:para>
1107             </entry>
1108             <entry colname="col3">
1109               <db:para xmlns:db="http://docbook.org/ns/docbook">In Word, hyperlink properties identify the DocBook linkend.</db:para>
1110             </entry>
1111           </row>
1112           <row>
1113             <entry colname="col1">
1114               <db:para xmlns:db="http://docbook.org/ns/docbook">releaseinfo</db:para>
1115             </entry>
1116             <entry colname="col2">
1117               <db:para xmlns:db="http://docbook.org/ns/docbook">releaseinfo</db:para>
1118             </entry>
1119             <entry>
1120               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
1121             </entry>
1122           </row>
1123           <row>
1124             <entry colname="col1">
1125               <db:para xmlns:db="http://docbook.org/ns/docbook">surname</db:para>
1126             </entry>
1127             <entry colname="col2">
1128               <db:para xmlns:db="http://docbook.org/ns/docbook">surname</db:para>
1129             </entry>
1130             <entry colname="col3">
1131               <db:para xmlns:db="http://docbook.org/ns/docbook">Character style.  Must occur in an appropriate parent paragraph, such as <tag>author</tag> or <tag>editor</tag>.</db:para>
1132             </entry>
1133           </row>
1134           <row>
1135             <entry colname="col1">
1136               <db:para xmlns:db="http://docbook.org/ns/docbook">firstname</db:para>
1137             </entry>
1138             <entry colname="col2">
1139               <db:para xmlns:db="http://docbook.org/ns/docbook">firstname</db:para>
1140             </entry>
1141             <entry colname="col3">
1142               <db:para xmlns:db="http://docbook.org/ns/docbook">Character style.  Must occur in an appropriate parent paragraph, such as <tag>author</tag> or <tag>editor</tag>.</db:para>
1143             </entry>
1144           </row>
1145           <row>
1146             <entry colname="col1">
1147               <db:para xmlns:db="http://docbook.org/ns/docbook">orgname</db:para>
1148             </entry>
1149             <entry colname="col2">
1150               <db:para xmlns:db="http://docbook.org/ns/docbook">orgname</db:para>
1151             </entry>
1152             <entry>
1153               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
1154             </entry>
1155           </row>
1156           <row>
1157             <entry colname="col1">
1158               <db:para xmlns:db="http://docbook.org/ns/docbook">keyword</db:para>
1159             </entry>
1160             <entry colname="col2">
1161               <db:para xmlns:db="http://docbook.org/ns/docbook">keywordset/keyword</db:para>
1162             </entry>
1163             <entry colname="col3">
1164               <db:para xmlns:db="http://docbook.org/ns/docbook">Paragraph style.  Consecutive <tag>keyword</tag> elements are merged into a single <tag>keywordset</tag> parent element.  Words (phrases) within a paragraph separated by commas become individual <tag>keyword</tag> elements.</db:para>
1165             </entry>
1166           </row>
1167           <row>
1168             <entry colname="col1">
1169               <db:para xmlns:db="http://docbook.org/ns/docbook">citetitle</db:para>
1170             </entry>
1171             <entry colname="col2">
1172               <db:para xmlns:db="http://docbook.org/ns/docbook">citetitle</db:para>
1173             </entry>
1174             <entry>
1175               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
1176             </entry>
1177           </row>
1178           <row>
1179             <entry colname="col1">
1180               <db:para xmlns:db="http://docbook.org/ns/docbook">city</db:para>
1181             </entry>
1182             <entry colname="col2">
1183               <db:para xmlns:db="http://docbook.org/ns/docbook">city</db:para>
1184             </entry>
1185             <entry>
1186               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
1187             </entry>
1188           </row>
1189           <row>
1190             <entry colname="col1">
1191               <db:para xmlns:db="http://docbook.org/ns/docbook">contrib</db:para>
1192             </entry>
1193             <entry colname="col2">
1194               <db:para xmlns:db="http://docbook.org/ns/docbook">contrib</db:para>
1195             </entry>
1196             <entry>
1197               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
1198             </entry>
1199           </row>
1200           <row>
1201             <entry colname="col1">
1202               <db:para xmlns:db="http://docbook.org/ns/docbook">country</db:para>
1203             </entry>
1204             <entry colname="col2">
1205               <db:para xmlns:db="http://docbook.org/ns/docbook">country</db:para>
1206             </entry>
1207             <entry>
1208               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
1209             </entry>
1210           </row>
1211           <row>
1212             <entry colname="col1">
1213               <db:para xmlns:db="http://docbook.org/ns/docbook">email</db:para>
1214             </entry>
1215             <entry colname="col2">
1216               <db:para xmlns:db="http://docbook.org/ns/docbook">email</db:para>
1217             </entry>
1218             <entry>
1219               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
1220             </entry>
1221           </row>
1222           <row>
1223             <entry colname="col1">
1224               <db:para xmlns:db="http://docbook.org/ns/docbook">fax</db:para>
1225             </entry>
1226             <entry colname="col2">
1227               <db:para xmlns:db="http://docbook.org/ns/docbook">fax</db:para>
1228             </entry>
1229             <entry>
1230               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
1231             </entry>
1232           </row>
1233           <row>
1234             <entry colname="col1">
1235               <db:para xmlns:db="http://docbook.org/ns/docbook">honorific</db:para>
1236             </entry>
1237             <entry colname="col2">
1238               <db:para xmlns:db="http://docbook.org/ns/docbook">honorific</db:para>
1239             </entry>
1240             <entry>
1241               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
1242             </entry>
1243           </row>
1244           <row>
1245             <entry colname="col1">
1246               <db:para xmlns:db="http://docbook.org/ns/docbook">jobtitle</db:para>
1247             </entry>
1248             <entry colname="col2">
1249               <db:para xmlns:db="http://docbook.org/ns/docbook">jobtitle</db:para>
1250             </entry>
1251             <entry>
1252               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
1253             </entry>
1254           </row>
1255           <row>
1256             <entry colname="col1">
1257               <db:para xmlns:db="http://docbook.org/ns/docbook">lineage</db:para>
1258             </entry>
1259             <entry colname="col2">
1260               <db:para xmlns:db="http://docbook.org/ns/docbook">lineage</db:para>
1261             </entry>
1262             <entry>
1263               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
1264             </entry>
1265           </row>
1266           <row>
1267             <entry colname="col1">
1268               <db:para xmlns:db="http://docbook.org/ns/docbook">orgdiv</db:para>
1269             </entry>
1270             <entry colname="col2">
1271               <db:para xmlns:db="http://docbook.org/ns/docbook">orgdiv</db:para>
1272             </entry>
1273             <entry>
1274               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
1275             </entry>
1276           </row>
1277           <row>
1278             <entry colname="col1">
1279               <db:para xmlns:db="http://docbook.org/ns/docbook">otheraddr</db:para>
1280             </entry>
1281             <entry colname="col2">
1282               <db:para xmlns:db="http://docbook.org/ns/docbook">otheraddr</db:para>
1283             </entry>
1284             <entry>
1285               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
1286             </entry>
1287           </row>
1288           <row>
1289             <entry colname="col1">
1290               <db:para xmlns:db="http://docbook.org/ns/docbook">othername</db:para>
1291             </entry>
1292             <entry colname="col2">
1293               <db:para xmlns:db="http://docbook.org/ns/docbook">othername</db:para>
1294             </entry>
1295             <entry>
1296               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
1297             </entry>
1298           </row>
1299           <row>
1300             <entry colname="col1">
1301               <db:para xmlns:db="http://docbook.org/ns/docbook">phone</db:para>
1302             </entry>
1303             <entry colname="col2">
1304               <db:para xmlns:db="http://docbook.org/ns/docbook">phone</db:para>
1305             </entry>
1306             <entry>
1307               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
1308             </entry>
1309           </row>
1310           <row>
1311             <entry colname="col1">
1312               <db:para xmlns:db="http://docbook.org/ns/docbook">pob</db:para>
1313             </entry>
1314             <entry colname="col2">
1315               <db:para xmlns:db="http://docbook.org/ns/docbook">pob</db:para>
1316             </entry>
1317             <entry>
1318               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
1319             </entry>
1320           </row>
1321           <row>
1322             <entry colname="col1">
1323               <db:para xmlns:db="http://docbook.org/ns/docbook">postcode</db:para>
1324             </entry>
1325             <entry colname="col2">
1326               <db:para xmlns:db="http://docbook.org/ns/docbook">postcode</db:para>
1327             </entry>
1328             <entry>
1329               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
1330             </entry>
1331           </row>
1332           <row>
1333             <entry colname="col1">
1334               <db:para xmlns:db="http://docbook.org/ns/docbook">shortaffil</db:para>
1335             </entry>
1336             <entry colname="col2">
1337               <db:para xmlns:db="http://docbook.org/ns/docbook">shortaffil</db:para>
1338             </entry>
1339             <entry>
1340               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
1341             </entry>
1342           </row>
1343           <row>
1344             <entry colname="col1">
1345               <db:para xmlns:db="http://docbook.org/ns/docbook">state</db:para>
1346             </entry>
1347             <entry colname="col2">
1348               <db:para xmlns:db="http://docbook.org/ns/docbook">state</db:para>
1349             </entry>
1350             <entry>
1351               <db:para xmlns:db="http://docbook.org/ns/docbook"/>
1352             </entry>
1353           </row>
1354         </tbody>
1355       </tgroup>
1356     </table>
1357     <table>
1358       <title>Proposed Additions - not yet implemented</title>
1359       <tgroup cols="3">
1360         <colspec colnum="1" colname="col1" colwidth="2*"/>
1361         <colspec colnum="2" colname="col2" colwidth="2*"/>
1362         <colspec colnum="3" colname="col3" colwidth="2*"/>
1363         <thead>
1364           <row>
1365             <entry colname="col1">
1366               <para>DocBook element</para>
1367             </entry>
1368             <entry colname="col2">
1369               <para>Style(s)</para>
1370             </entry>
1371             <entry colname="col3">
1372               <para>Comments</para>
1373             </entry>
1374           </row>
1375         </thead>
1376         <tbody>
1377           <row>
1378             <entry colname="col1">
1379               <db:para xmlns:db="http://docbook.org/ns/docbook">variablelist/varlistentry/term</db:para>
1380             </entry>
1381             <entry colname="col2">
1382               <db:para xmlns:db="http://docbook.org/ns/docbook">
1383                 <literallayout class="monospaced">variablelist1-term
1384 variablelist2-term
1385 variablelist3-term
1386 variablelist4-term</literallayout>
1387               </db:para>
1388             </entry>
1389             <entry colname="col3">
1390               <db:para xmlns:db="http://docbook.org/ns/docbook">A <sgmltag class="element">variablelist</sgmltag> in Word should be a sequence of alternating paragraphs styled as <literal>variablelistN-term</literal> and <literal>variablelistN</literal>.</db:para>
1391             </entry>
1392           </row>
1393           <row>
1394             <entry colname="col1">
1395               <db:para xmlns:db="http://docbook.org/ns/docbook">variablelist/varlistentry/listitem/para</db:para>
1396             </entry>
1397             <entry colname="col2">
1398               <db:para xmlns:db="http://docbook.org/ns/docbook">
1399                 <literallayout class="monospaced">variablelist1
1400 variablelist2
1401 variablelist3
1402 variablelist4</literallayout>
1403               </db:para>
1404             </entry>
1405             <entry colname="col3">
1406               <para>Consecutive paragraphs are coalesced.</para>
1407             </entry>
1408           </row>
1409         </tbody>
1410       </tgroup>
1411     </table>
1412     <section>
1413       <title>Attributes</title>
1414       <para>Attributes are a feature of DocBook XML that have no direct counterpart in Word.</para>
1415       <para>XML attributes are encoded in Word comments (annotations).  Some dummy text (just a space, using a character style that includes the hidden property) anchors the comment.  Within the comment text, character types are used to indicate attribute names and values (these must be paired).  This approach keeps the attributes separate to the main body and allows multiple attributes to be encoded.</para>
1416       <para>A disadvantage to this approach is that a paragraph may be related to more than one element, but the attributes are associated with only one element (by default the parent).  For example, a section may have an attribute as well as the title child element, but only a single paragraph (with paragraph style <literal>sect1-title</literal>) represents both elements.  Any attribute defined in a comment would be associated with the <tag>sect1</tag> element.</para>
1417       <para>Pages does not have annotations, so the character styles <literal>attribute-name</literal> and <literal>attribute-value</literal> are used.</para>
1418     </section>
1419   </section>
1420 </article>