TextDOM SDK examples

TextDOM package contains several examples which help to understand TextDOM technology and start working with it. Here is a list of them with brief explanations:

TextReader


This example shows how to parse text document using some known schema. Result of parsing can be saved back to a file and saved as a 'debug' output to check hierarchy tree structure.

DocumentValidator


This example creates tiny xml document from scratch and validates it against xml document schema. Demonstrates text document creation and validation techniques.

SchemaParser


This example shows how to parse and compile schemas and get all errors and warnings information. This tool could be useful in your own schemas troubleshooting.

SchemaSet


Provides an example how work with high-level TextSchemaSet class, load documents (by extension and by mime type) using this class and handle possible errors.

See also: