Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

examples/ — reference DocLang v0.6 documents

Small valid documents (XSD + Schematron) illustrating the main features. They also serve as a regression corpus: packages/validator/test/examples.test.ts verifies that each one validates and produces a stable round-trip.

File Demonstrates
report.dclg.xml head/default_resolution, headings, text + formatting + formula, location block, list, OTSL table, footnote, page_break.
form.dclg.xml field_region/field_heading/field_item/key/value (+ hint, marker/checkbox).
chart.dclg.xml picture class="chart" with caption, src (data URI) and tabular.
threads.dclg.xml logical fragmentation via thread/xref.

Validate from the CLI:

doclang validate examples/report.dclg.xml