You are not logged in Log in Join
You are here: Home » Members » jim » StructuredTextWiki » CreateNewDocumentTypes » wikipage_view

Log in


FrontPage » StructuredTextNG » NGUseCases »


Use Case

Extend (or contract ;) the provided StructuredText processors to provide alternate formatting rules.

For example, some people don't like the use of single-quoted strings to indicate literal text and want to turn off this feature.


New StructuredText rules can be defined in two ways:

  • A new processor can be created from scratch that reads a basic StructuredText document and creates a more specialized documement. One could, concievably use an XSLT processor to perform this transformation, since the basic structured text document object implements the DOM API.
  • The supplied StructuredText.Document processor can be subclassed to create a customiZed processor, as described in CustomizingTheDocumentProcessor.

The new or customized processor is used to produce document objects from basic document objects.