> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XML Schema Description

> XML schema for ABBYY FineReader Engine recognized text exports (ABBYY_Scheme_XML.xsd) — tags for document structure, attributes, and recognition variants.

An XML file contains the recognized text, with additional information about its structure, attributes and recognition variants described with the help of XML tags. See the table below for the description of possible tags. Some tags may not be present according to the values of the recognition parameters. For example, word or character recognition variants will only be saved if the corresponding properties of the [XMLExportParams](/fine-reader/engine/api-reference/parameter-objects/export-parameters/xmlexportparams) object are set to TRUE.

You can find the XML schema in the ABBYY\_Scheme\_XML.xsd file.

This file is located in the [Headers](/fine-reader/engine/distribution/distribution-macos/distribution-kit-macos) folder for macOS or the Inc folder for [Linux](/fine-reader/engine/distribution/distribution-linux/distribution-kit-linux#inc) and [Windows](/fine-reader/engine/distribution/distribution-windows/distribution-kit#inc) (Start > Programs > ABBYY FineReader Engine 12 > Installation Folders > Include Files Folder).

The picture below shows the example of Picture, Text, and Table blocks in the output XML file.

<img src="https://mintcdn.com/abbyy/B_SRGbkkbQ9YH40E/images/fine-reader/engine/xmlscheme.gif?s=05ae1c35f17bf061ff3ebfb07bfe480e" alt="XMLScheme" width="685" height="561" data-path="images/fine-reader/engine/xmlscheme.gif" />

## Description of document tags

<table><tbody><tr><td><p><strong>Name</strong></p></td><td><p><strong>Type</strong></p></td><td><p><strong>Multiplicity</strong></p></td><td><p><strong>Parent Tag</strong></p></td><td><p><strong>Description</strong></p></td></tr><tr><td><p><a name="document" /><strong>document</strong></p></td><td><p>Complex Type</p><details><summary>Type elements</summary><p><strong>page</strong></p><p><strong>documentData</strong></p></details><details><summary>Type attributes</summary><p><em>version</em> — XML version</p><p><em>producer</em> — the producer of the XML file</p><p><em>pagesCount</em> — (optional) the number of pages in the document</p><p><em>mainLanguage</em> — (optional) the main language of the document</p><p><em>languages</em> — (optional) all languages of the document</p></details></td><td><p>1</p></td><td><p>no</p></td><td><p>Document.</p></td></tr><tr><td><p><a name="page" /><strong>page</strong></p></td><td><p>Complex Type, a sequence of block tags</p><details><summary>Type elements</summary><p><strong>block</strong></p></details><details><summary>Type attributes</summary><p><em>width</em> — the image width in pixels</p><p><em>height</em> — the image height in pixels</p><p><em>resolution </em>— the image resolution in pixels per inch</p><p><em>originalCoords</em> — (optional) if true, all coordinates are relative to the original image before opening; otherwise, they are relative to the opened (deskewed) image</p><p><em>rotation</em> — (optional) the type of rotation applied to original page image before processing. It can be one of the following values: Normal, RotatedClockwise, RotatedUpsideDown, RotatedCounterclockwise</p></details></td><td><p>0...unbounded</p></td><td><p>document</p></td><td><p>Recognized page.</p></td></tr><tr><td><p><a name="block" /><strong>block</strong></p></td><td><p>BlockType</p><details><summary>BlockType elements</summary><p>Availability of this or that element depends on the type of the block (see <em>blockType </em>attribute).</p><p><strong>region </strong>— always available</p><p><strong>text</strong> — available only if blockType attribute is "Text"</p><p><strong>row</strong><em> </em>— available only if blockType attribute is "Table"</p><p><strong>separatorsBox</strong><em> </em>— available only if blockType attribute is "SeparatorsBox"</p><p><strong>separator</strong><em> </em>— available only if blockType attribute is "Separator"</p><p><strong>checkmark</strong><em> </em>— available only if blockType attribute is "Checkmark"</p><p><strong>groupCheckmark</strong><em> </em>— available only if blockType attribute is "GroupCheckmark"</p></details><details><summary>BlockType attributes</summary><p><em>blockType </em>— the type of the block. It can be one of the following values: Text, Table, Picture, Barcode, Separator, SeparatorsBox, Checkmark, GroupCheckmark</p><p><em>blockName — </em>(optional) the name of the block</p><p><em>isHidden</em> — (optional) specifies if the block is hidden (the default value is false)</p><p><em>l</em> — (optional) the coordinate of the left border of the block</p><p><em>t</em> — (optional) the coordinate of the top border of the block</p><p><em>r</em> — (optional) the coordinate of the right border of the block</p><p><em>b</em> — (optional) the coordinate of the bottom border of the block</p></details></td><td><p>0...unbounded</p></td><td><p>page</p></td><td><p>Recognized block.</p></td></tr><tr><td><p><a name="region" /><strong>region</strong></p></td><td><p>Complex Type, a sequence of rect tags</p><details><summary>Type elements</summary><p><strong>rect</strong></p></details><p>Has no type attributes</p></td><td><p>1</p></td><td><p>block</p></td><td><p>Block region, a set of rectangles.</p></td></tr><tr><td><p><a name="rect" /><strong>rect</strong></p></td><td><p>Complex Type</p><details><summary>Type attributes</summary><p><em>l</em> — the coordinate of the left border of the rectangle</p><p><em>t</em> — the coordinate of the top border of the rectangle</p><p><em>r</em> — the coordinate of the right border of the rectangle</p><p><em>b</em> — the coordinate of the bottom border of the rectangle</p></details></td><td><p>1...unbounded</p></td><td><p>region</p></td><td><p>Rectangle of a block region.</p></td></tr><tr><td rowspan="2"><p><a name="text" /><strong>text</strong></p></td><td rowspan="2"><p>TextType</p><details><summary>TextType elements</summary><p><strong>par</strong></p></details><details><summary>TextType attributes</summary><p><em>orientation</em> — (optional) the text orientation. It can be one of the following values: Normal, RotatedClockwise, RotatedUpsidedown, RotatedCounterclockwise (the default value is Normal)</p><p><em>backgroundColor</em> — (optional) the background color of the text (the default value is -1, which means that the color is transparent)</p><p><em>mirrored</em> — (optional) specifies if the text is mirrored (the default value is false)</p><p><em>inverted</em> — (optional) specifies if the text is inverted (the default value is false)</p></details></td><td><p>0...unbounded</p></td><td><p>block</p></td><td><p>Text of a recognized text block (presents as an element of block tag, if blockType attribute is "Text").</p></td></tr><tr><td><p>0...unbounded</p></td><td><p>cell</p></td><td><p>Text of a table cell.</p></td></tr><tr><td><p><a name="par" /><strong>par</strong></p></td><td><p>ParagraphType</p><details><summary>ParagraphType elements</summary><p><strong>line</strong></p></details><details><summary>ParagraphType attributes</summary><p><em>dropCapCharsCount</em> — (optional) the number of drop caps in the paragraph (the default value is 0)</p><p><em>dropCap-l</em> — (optional) the left coordinate of the drop cap rectangle</p><p><em>dropCap-t</em> — (optional) the top coordinate of the drop cap rectangle</p><p><em>dropCap-r</em> — (optional) the right coordinate of the drop cap rectangle</p><p><em>dropCap-b</em> — (optional) the bottom coordinate of the drop cap rectangle</p><p><em>align</em> — (optional) the paragraph aligning. It can be one of the following values: Left, Center, Right, Justified (the default value is Left)</p><p><em>leftIndent</em> — (optional) the left paragraph indent (the default value is 0)</p><p><em>rightIndent</em> — (optional) the right paragraph indent (the default value is 0)</p><p><em>startIndent</em> — (optional) the indent of the first line of the paragraph (default value is 0)</p><p><em>lineSpacing</em> — (optional) the spacing between lines (the default value is 0)</p><p><em>isListItem</em> — (optional) indicates that the paragraph is part of a list (the default value is false)</p><p><em>lstLvl</em> — (optional) the list level</p><p><em>lstNum</em> — (optional) the number of the paragraph in the list</p></details></td><td><p>0...unbounded</p></td><td><p>text</p></td><td><p>Paragraph of a recognized text.</p></td></tr><tr><td><p><a name="line" /><strong>line</strong></p></td><td><p>LineType</p><details><summary>LineType elements</summary><p><strong>formatting</strong></p></details><details><summary>LineType attributes</summary><p><em>baseline</em> — the distance from the base line to the top edge of the page</p><p><em>l</em> — the coordinate of the left border of the surrounding rectangle</p><p><em>t</em> — the coordinate of the top border of the surrounding rectangle</p><p><em>r</em> — the coordinate of the right border of the surrounding rectangle</p><p><em>b</em> — the coordinate of the bottom border of the surrounding rectangle</p></details></td><td><p>0...unbounded</p></td><td><p>par</p></td><td><p>Line of a paragraph.</p></td></tr><tr><td><p><a name="formatting" /><strong>formatting</strong></p></td><td><p>FormattingType</p><details><summary>FormattingType group</summary><p><strong>charParams</strong></p><p>or</p><p><strong>wordRecVariants</strong></p></details><details><summary>FormattingType attributes</summary><p><em>lang</em> — the name of the language</p><p><em>ff</em> — (optional) the name of the font</p><p><em>fs</em> — (optional) the size of the font</p><p><em>bold</em> — (optional) the bold font style (the default value is false)</p><p><em>italic</em> — (optional) the italic font style (the default value is false)</p><p><em>subscript</em> — (optional) the subscript font effect (the default value is false)</p><p><em>superscript</em> — (optional) the superscript font effect (the default value is false)</p><p><em>smallcaps</em> — (optional) the small caps font effect (the default value is false)</p><p><em>underline</em> — (optional) the underline font effect (the default value is false)</p><p><em>strikeout</em> — (optional) the strikeout font effect (the default value is false)</p><p><em>color</em> — (optional) the color of the font (the default value is 0)</p><p><em>scaling</em> — (optional) the scaling of the font (the default value is 1000)</p><p><em>spacing</em> — (optional) the character spacing (the default value is 0)</p></details></td><td><p>0...unbounded</p></td><td><p>line</p></td><td><p>Group of characters with uniform formatting. Attributes of characters are alternated with word's recognition variants. The variants of recognition of the word are written before the word.</p></td></tr><tr><td><p><a name="charparams" /><strong>charParams</strong></p></td><td><p>CharParamsType</p><details><summary>CharParamsType elements</summary><p><strong>charRecVariants</strong></p></details><details><summary>CharParamsType attributes</summary><p><em>l</em> — the coordinate of the left border of the character rectangle</p><p><em>t</em> — the coordinate of the top border of the character rectangle</p><p><em>r</em> — the coordinate of the right border of the character rectangle</p><p><em>b</em> — the coordinate of the bottom border of the character rectangle</p><p><em>suspicious</em> — (optional) this property set to TRUE means that the character was recognized uncertainly (the default value is false)</p><p><em>proofed</em> — (optional) specifies whether spell-checking was performed upon this character (the default value is false)</p><p><em>wordStart</em> — deprecated; (optional) this property set to TRUE marks the leftmost character in a word</p><p><em>wordFirst</em> — (optional) this property set to TRUE marks the first character in a word</p><p><em>wordLeftmost</em> — (optional) this property set to TRUE marks the leftmost character in a word</p><p><em>wordFromDictionary</em> — (optional) specifies whether the word was found in the dictionary</p><p><em>wordNormal</em> — (optional) specifies whether the word was recognized with either a standard or user-defined language, and that it is not a number or an identifier</p><p><em>wordNumeric</em> — (optional) specifies whether the word is a number</p><p><em>wordIdentifier</em> — (optional) specifies whether the word is an identifier (abbreviation, URL, etc.)</p><p><em>wordPenalty</em> — (optional) penalty for discordance of characters in the word</p><p><em>meanStrokeWidth</em> — (optional) the mean width of the stroke in the RLE representation of the word image, expressed in pixels multiplied by 10</p><p><em>charConfidence</em> — (optional) stores the value of character confidence. It is a numerical estimate of the probability that the recognition was correct. However, this number is not guaranteed to be positive, and the only meaningful use of confidence is to compare different recognition variants of the same character</p><p><em>serifProbability</em> — (optional) specifies the probability that the character is written with a Serif font</p><p><em>isTab</em> — (optional) specifies if the character is a tab</p><p><a name="tableadercount" /><em>tabLeaderCount</em> — (optional) specifies symbols quantity in the tab leader. The quantity is calculated at the synthesis stage considering font and tab width. This attribute is used if <em>isTab</em>=TRUE</p></details></td><td><p>0...unbounded</p></td><td><p>formatting</p></td><td><p>Attributes of a single character.</p></td></tr><tr><td><p><a name="charrecvariants" /><strong>charRecVariants</strong></p></td><td><p>Complex Type, a sequence of charRecVariant tags</p><details><summary>Type elements</summary><p><strong>charRecVariant</strong></p></details><p>Has no type attributes</p></td><td><br /></td><td><p>charParams</p></td><td><p>Variants of a character recognition.</p></td></tr><tr><td><p><a name="charrecvariant" /><strong>charRecVariant</strong></p></td><td><p>CharRecognitionVariant</p><details><summary>Type attributes</summary><p><em>charConfidence</em> — (optional) a numerical estimate of the probability that the recognition was correct</p><p><em>serifProbability</em> — (optional) probability that a character is written with a Serif font</p></details></td><td><p>0...unbounded</p></td><td><p>charRecVariants</p></td><td><p>Variant of a character recognition.</p></td></tr><tr><td><p><a name="wordrecvariants" /><strong>wordRecVariants</strong></p></td><td><p>Complex Type, a sequence of wordRecVariant tags</p><details><summary>Type elements</summary><p><strong>wordRecVariant</strong></p></details><p>Has no type attributes</p></td><td><br /></td><td><p>formatting</p></td><td><p>Variants of recognition of the next word.</p></td></tr><tr><td><p><a name="wordrecvariant" /><strong>wordRecVariant</strong></p></td><td><p>WordRecognitionVariant type</p><details><summary>WordRecognitionVariant elements</summary><p><strong>variantText</strong></p></details><details><summary>WordRecognitionVariant attributes</summary><p><em>wordFromDictionary</em> — (optional) specifies whether the word was found in the dictionary</p><p><em>wordNormal</em> — (optional) specifies whether the word was recognized with a standard or user-defined language, and that it is not a number or an identifier</p><p><em>wordNumeric</em> — (optional) specifies whether the word is a number</p><p><em>wordIdentifier</em> — (optional) specifies whether the word is an identifier (abbreviation, URL, etc.)</p><p><em>wordPenalty</em> — (optional) penalty for discordance of characters in the word</p><p><em>meanStrokeWidth</em> — (optional) the mean width of the stroke in the RLE representation of the word image, expressed in pixels multiplied by 10</p></details></td><td><p>0...unbounded</p></td><td><p>wordRecVariants</p></td><td><p>Variant of recognition of the next word.</p></td></tr><tr><td><p><a name="varianttext" /><strong>variantText</strong></p></td><td><p>Complex Type, a sequence of charParams tags</p><details><summary>Type elements</summary><p><strong>charParams</strong></p></details><p>Has no type attributes</p></td><td><p>1</p></td><td><p>wordRecVariant</p></td><td><p>Word.</p></td></tr><tr><td><p><a name="row" /><strong>row</strong></p></td><td><p>TableRowType</p><details><summary>TableRowType elements</summary><p><strong>cell</strong></p></details><p>Has no type attributes</p></td><td><p>0...unbounded</p></td><td><p>block</p></td><td><p>Table row (presents if blockType attribute is Table).</p></td></tr><tr><td><p><a name="cell" /><strong>cell</strong></p></td><td><p>Complex Type, a sequence of TextType tags</p><details><summary>Type elements</summary><p><strong>text</strong></p></details><details><summary>Type attributes</summary><p><em>colSpan</em> — (optional) the column span of the cell (the default value is 1)</p><p><em>rowSpan</em> — (optional) the row span of the cell (the default value is 1)</p><p><em>align</em> — (optional) this property specifies alignment for a tab stop and can be one of the following values: Top, Center, Bottom (the default value is Top)</p><p><em>picture</em> — (optional) specifies if the cell contains only a picture (the default value is false)</p><p><em>leftBorder</em> — (optional) the table cell left border type. It can be one of the following values: Absent, Unknown, White, Black (the default value is Black)</p><p><em>topBorder</em> — (optional) the table cell top border type. It can be one of the following values: Absent, Unknown, White, Black (the default value is Black)</p><p><em>rightBorder</em> — (optional) the table cell right border type. It can be one of the following values: Absent, Unknown, White, Black (the default value is Black)</p><p><em>bottomBorder</em> — (optional) the table cell bottom border type. It can be one of the following values: Absent, Unknown, White, Black (the default value is Black)</p><p><em>width</em> — the width of the cell</p><p><em>height</em> — the height of the cell</p></details></td><td><p>0...unbounded</p></td><td><p>row</p></td><td><p>Table cell (presents if blockType attribute is Table).</p></td></tr><tr><td><p><a name="separatorsbox" /><strong>separatorsBox</strong></p></td><td><p>Complex Type, a sequence of separator tags</p><details><summary>Type elements</summary><p><strong>separator</strong></p></details><p>Has no type attributes</p></td><td><p>0...1</p></td><td><p>block</p></td><td><p>Group of separators, presents if blockType attribute is "SeparatorsBox"</p></td></tr><tr><td rowspan="2"><p><a name="separator" /><strong>separator</strong></p></td><td rowspan="2"><p>SeparatorBlockType type</p><details><summary>SeparatorBlockType elements</summary><p><strong>start</strong></p><p><strong>end</strong></p></details><details><summary>SeparatorBlockType attributes</summary><p><em>thickness</em> — specifies the precise width of the separator in pixels</p><p><em>type</em> — specifies the type of the separator. It can be one of the following values: Unknown, Black, Dotted</p></details></td><td><p>0...1</p></td><td><p>block</p></td><td><p>Single separator, presents if blockType attribute is "Separator".</p></td></tr><tr><td><p>0...unbounded</p></td><td><p>separatorsBox</p></td><td><p>Separator in a group of separators.</p></td></tr><tr><td><p><a name="groupcheckmark" /><strong>groupCheckmark</strong></p></td><td><p>Complex Type, a sequence of checkmark tags</p><details><summary>Type elements</summary><p><strong>checkmark</strong></p></details><p>Has no type attributes</p></td><td><p>0...1</p></td><td><p>block</p></td><td><p>Group of checkmarks, presents if blockType attribute is "GroupCheckmark"</p></td></tr><tr><td rowspan="2"><p><a name="checkmark" /><strong>checkmark</strong></p></td><td rowspan="2"><p>CheckmarkBlockType type</p><details><summary>CheckmarkBlockType attributes</summary><p><em>confidence</em> — specifies the confidence of checkmark recognition</p><p><em>value</em> — specifies the checkmark state. It can be one of the following values: Unknown, Checked, Unchecked, Corrected</p></details></td><td><p>0...1</p></td><td><p>block</p></td><td><p>Single checkmark, present if blockType attribute is "Checkmark".</p></td></tr><tr><td><p>0...unbounded</p></td><td><p>checkmarkGroup</p></td><td><p>Checkmark in a group of checkmarks.</p></td></tr><tr><td><p><a name="barcodeinfo" /><strong>barcodeInfo</strong></p></td><td><p>BarcodeInfoType type</p><details><summary>BarcodeInfoType attributes</summary><p><em>type</em> — specifies the type of the barcode. It can be one of the following values:</p><ul><li>CODE39</li><li>INTERLEAVED25</li><li>EAN13</li><li>CODE128</li><li>EAN8</li><li>PDF417</li><li>CODABAR</li><li>UPCE</li><li>INDUSTRIAL25</li><li>IATA25</li><li>MATRIX25</li><li>CODE93</li><li>POSTNET</li><li>UCC128</li><li>PATCH</li><li>AZTEC</li><li>DATAMATRIX</li><li>QRCODE</li><li>UPCA</li><li>MAXICODE</li><li>CODE32</li><li>FULLASCII</li><li>ROYAL</li><li>KIX</li><li>INTELLIGENT</li><li>AUSTRALIA\_POST</li><li>Unknown</li></ul><p><em>supplement </em>— (optional) specifies the type of supplementary barcode. It can be one of the following values: void, 2dig, 5dig</p></details></td><td><p>0...1</p></td><td><p>block</p></td><td><p>Information about barcode, presents if blockType attribute is "Barcode".</p></td></tr><tr><td><p><a name="start" /><strong>start</strong></p></td><td><p>Point type</p><details><summary>Point attributes</summary><p><em>x</em> — specifies the horizontal coordinate of the start point of separator</p><p><em>y</em> — the vertical coordinate of the start point of separator</p></details></td><td><p>1</p></td><td><p>separator</p></td><td><p>Start point of a separator.</p></td></tr><tr><td><p><a name="end" /><strong>end</strong></p></td><td><p>Point type</p><details><summary>Point attributes</summary><p><em>x</em> — specifies the horizontal coordinate of the end point of separator</p><p><em>y</em> — the vertical coordinate of the end point of separator</p></details></td><td><p>1</p></td><td><p>separator</p></td><td><p>End point of a separator.</p></td></tr><tr><td><p><a name="documentdata" /><strong>documentData</strong></p></td><td><p>Complex Type</p><details><summary>Type elements</summary><p><strong>paragraphStyles</strong></p><p><strong>sections</strong></p></details><p>Has no type attributes</p></td><td><p>0...1</p></td><td><p>document</p></td><td><p>Parameters of paragraph and font styles of the document.</p></td></tr><tr><td><p><a name="paragraphstyles" /><strong>paragraphStyles</strong></p></td><td><p>Complex Type, a sequence of paragraphStyle tags</p><details><summary>Type elements</summary><p><strong>paragraphStyle</strong></p></details><p>Has no type attributes</p></td><td><p>0...1</p></td><td><p>documentData</p></td><td><p>Collection of paragraph formatting styles.</p></td></tr><tr><td><p><a name="paragraphstyle" /><strong>paragraphStyle</strong></p></td><td><p>ParagraphStyleType Type</p><details><summary>ParagraphStyleType elements</summary><p><strong>fontStyle</strong></p></details><details><summary>ParagraphStyleType attributes</summary><p><em>id</em> — the identifier of the paragraph</p><p><em>name</em> — the name of the paragraph style</p><p><em>mainFontStyleId</em> — the main font style of the paragraph</p><p><em>role</em> — the paragraph role. It can be one of the following values:</p><ul><li>text</li><li>tableText</li><li>heading</li><li>tableHeading</li><li>pictureCaption</li><li>tableCaption</li><li>contents — table of contents</li><li>footnote</li><li>endnote</li><li>rt — running title</li><li>garb — garbage</li><li>other</li><li>barcode</li><li>headingNumber</li></ul><p><em>roleLevel</em> — (optional) (the default value is -1, which means that the level is not available for this role)</p><p><em>align</em> — paragraph alignment. It can be one of the following values: Left, Center, Right, Justified, CjkJustified, ThaiJustified</p><p><em>before</em> — (optional) space before the paragraph of this style (the default value is 0)</p><p><em>after</em> — (optional) space after the paragraph of this style (the default value is 0)</p><p><em>startIndent </em>— (optional) indent of the first line of the paragraph</p><p><em>leftIndent </em>— (optional) left indent of the whole paragraph</p><p><em>rightIndent </em>— (optional) right indent of the whole paragraph</p><p><em>lineSpacing </em>— (optional) line spacing</p><p><em>lineSpacingRatio </em>— (optional) line spacing (proportional to the letter height)</p><p><em>fixedLineSpacing </em>— (optional) if true, the line spacing in the paragraph does not vary</p></details></td><td><p>0...unbounded</p></td><td><p>paragraphStyles</p></td><td><p>Formatting style of a paragraph.</p></td></tr><tr><td><p><a name="fontstyle" /><strong>fontStyle</strong></p></td><td><p>FontStyleType Type</p><details><summary>FontStyleType attributes</summary><p><em>id</em> — the identifier of the font style</p><p><em>baseFont</em> — (optional)</p><p><em>italic</em> — (optional) if true, the font is italic</p><p><em>bold</em> — (optional) if true, the font is bold</p><p><em>underline</em> — (optional) if true, the font is underlined</p><p><em>strikeout</em> — (optional) if true, the font is strikeout</p><p><em>smallcaps</em> — (optional) if true, the font is small caps</p><p><em>scaling</em> — (optional) the scaling of the font (the default value is 1000)</p><p><em>spacing</em> — (optional) the character spacing (the default value is 0)</p><p><em>color</em> — (optional) the color of the font (the default value is 0)</p><p><em>backgroundColor</em> — (optional) the background color (the default value is 0)</p><p><em>ff</em> — the name of the font</p><p><em>fs</em> — the size of the font</p></details></td><td><p>0...unbounded</p></td><td><p>paragraphStyle</p></td><td><p>The font style.</p></td></tr><tr><td><p><a name="sections" /><strong>sections</strong></p></td><td><p>Complex Type, a sequence of section tags</p><details><summary>Type elements</summary><p><strong>section</strong></p></details><p>Has no type attributes</p></td><td><p>0...1</p></td><td><p>documentData</p></td><td><p>The collection of document sections.</p></td></tr><tr><td><p><a name="section" /><strong>section</strong></p></td><td><p>SectionType Type</p><details><summary>SectionType elements</summary><p><strong>stream</strong></p></details><p>Has no type attributes</p></td><td><p>0...unbounded</p></td><td><p>sections</p></td><td><p>A document section.</p></td></tr><tr><td><p><a name="stream" /><strong>stream</strong></p></td><td><p>TextStreamType Type</p><details><summary>TextStreamType elements</summary><p><strong>mainText</strong></p><p><strong>elemId</strong></p></details><details><summary>TextStreamType attributes</summary><p><em>role</em> — (optional) the stream role. It can be one of the following values: garb, text, footnote, incut (the default value is text)</p><p><em>vertCjk</em> — (optional) if true, the stream contains vertical CJK text</p><p><em>beginPage</em> — the number of page on which the stream begins</p><p><em>endPage</em> — (optional) the number of page on which the stream ends</p></details></td><td><p>0...unbounded</p></td><td><p>section</p></td><td><p>A sequence of paragraphs and blocks.</p></td></tr><tr><td><p><a name="maintext" /><strong>mainText</strong></p></td><td><p>Complex Type</p><details><summary>Type attributes</summary><p><em>rtl</em> — (optional) if true, the text has right-to-left writing direction</p><p><em>columnCount</em> — the number of columns</p></details></td><td><p>0...1</p></td><td><p>stream</p></td><td><br /></td></tr><tr><td><p><a name="elemid" /><strong>elemId</strong></p></td><td><p>Complex Type</p><details><summary>Type attributes</summary><p><em>id</em> — string ID of the element</p></details></td><td><p>0...unbounded</p></td><td><p>stream</p></td><td><p>The ID of a page element.</p></td></tr></tbody></table>

## Tag hierarchy diagram

<img src="https://mintcdn.com/abbyy/B_SRGbkkbQ9YH40E/images/fine-reader/engine/xmlschemediagram.gif?s=1caa2ea640f3220567c22c1661e785c3" alt="XMLSchemeDiagram" width="678" height="767" data-path="images/fine-reader/engine/xmlschemediagram.gif" />[](/fine-reader/engine/specifications/export-formats/xml-schema-description#elemid)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#maintext)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#stream)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#section)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#sections)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#fontstyle)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#paragraphstyle)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#paragraphstyles)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#documentdata)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#rect)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#rect)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#region)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#region)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#block)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#block)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#end)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#end)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#start)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#start)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#separator)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#separator)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#separatorsbox)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#rect)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#rect)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#region)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#region)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#block)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#block)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#charparams)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#varianttext)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#wordrecvariant)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#wordrecvariants)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#charrecvariant)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#charrecvariants)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#rect)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#region)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#block)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#rect)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#region)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#block)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#text)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#cell)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#charparams)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#formatting)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#line)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#par)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#row)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#text)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#rect)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#rect)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#region)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#region)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#block)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#block)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#page)[](/fine-reader/engine/specifications/export-formats/xml-schema-description#document)

## See also

[XMLExportParams](/fine-reader/engine/api-reference/parameter-objects/export-parameters/xmlexportparams)
