Files
docling-core/tests/data/doc/hierarchized.dclg.xml
Cesar Berrospi Ramis a59c38c1da chore: rename test folder to tests (#739)
test: rename 'test' folder to 'tests'

To align with other Docling repositories, use 'tests' for test modules.

Signed-off-by: Cesar Berrospi Ramis <ceb@zurich.ibm.com>
2026-09-04 10:49:52 +02:00

76 lines
1.5 KiB
XML

<doclang>
<heading>Title</heading>
<text>Some intro</text>
<heading level="2">Foo</heading>
<text>Foo stuff</text>
<heading level="3">Bar</heading>
<text>Bar stuff</text>
<text>More stuff</text>
<heading level="2">
Rich heading
<italic>without</italic>
other children besides the inline
</heading>
<text>Section content as sibling of the heading.</text>
<heading level="3">Subheading</heading>
<text>Subsection content.</text>
<heading level="2">
Rich heading
<italic>with</italic>
other children besides the inline
</heading>
<text>Section content as child of the heading.</text>
<text>Section content as sibling of the heading.</text>
<heading level="2">Heading</heading>
<text>Bar</text>
<list>
<ldiv/>
List item
<ldiv/>
<text>List item</text>
<list>
<ldiv/>
List item
<ldiv/>
List item
</list>
</list>
<heading level="3">Heading</heading>
<table>
<fcel/>
cell 0,0
<fcel/>
cell 0,1
<nl/>
<fcel/>
cell 1,0
<fcel/>
<text>
<italic>
<content>text in italic </content>
</italic>
<bold>text in bold</bold>
</text>
<nl/>
<fcel/>
cell 2,0
<fcel/>
cell 2,1
<nl/>
<fcel/>
cell 3,0
<fcel/>
cell 3,1
<nl/>
</table>
<heading level="2">Heading</heading>
<field_region>
<text>Some text</text>
<field_item>
<text>Some text</text>
<key>Key</key>
<value>Value</value>
</field_item>
</field_region>
</doclang>