DT-XML - Main elements

Content element

Description
Child elements
Attributes
No. of occurrences
Top level element
<content
version = unsignedInt >
 
Content: (meta, paragraphs)
</content>
meta
paragraphs
version (version of the DT-XML)
Once

Example

<content version="5">
  <meta>
    <paragraph styles>
      ...
    </paragrahp styles>
    <character styles>
      ...
    </character styles>
    <sizeInfos>
      ...
    </sizeInfos>
  </meta>
  <paragraphs>
    ...
  </paragraphs>
</content>

Meta element

Description
Parent element
Child elements
No. of occurrences
Definition of layout information
<meta>
Content:
(paragraphStyles,characterStyles*,
sizeInfo
 
</meta>
content
paragraphStyles
characterStyles
sizeInfos
Once

Paragraphs element

Description
Parent element
Child element
Attributes
No. of occurrences
List of paragraphs
<paragraphs>
culture = string >
Content: (para+)
</paragraphs>
content
para
culture (source language name (RFC 1766)
Once

Example:

<paragraphs culture="de-DE">
   <para sizeInfoId="rect" styleId="f1">
    Franz jagt im Taxi durch Bayern.</para>
   <para sizeInfoId="square" styleId="f1">
    Franz jagt im Taxi durch Bayern.</para>
</paragraphs>

ParagraphStyles element

Description
Parent element
Child element
No. of occurrences
Collection of paragraph styles (styleInfo)
<paragraphStyles>
Content: (style+)
</paragraphStyles>
meta
style
Once

CharacterStyles element

Description
Parent element
Child element
No. of occurrences
Collection of paragraph styles (styleInfo)
<characterStyles>
Content: (style+)
</characterStyles>
meta
style
None or once

SizeInfos element

Description
Parent element
Child element
No. of occurrences
Collection of displays description.
<sizeInfos>
Content: (sizeInfo+)
</sizeInfos>
meta
sizeinfo
Once