swirl
Guide to OmniMark 9   OmniMark home
docs home 
IndexConceptsSyntaxLibraries
 
Prerequisite Concepts     Related Topics  

Formatting parsed data

When parsing SGML or XML data, the parsed data can be formatted in one of two approaches. The first approach is to capture the parsed data in an OmniMark string and then use regular OmniMark programming techniques to format the data. The other is to give instructions to OmniMark on how the data should be formatted. The latter approach is often faster and cleaner.

OmniMark can be instructed on how to format data using format items and placing the appropriate format modifiers on the format commands %c, %v, and %q.

Formatting data content

Unless intercepted in a data-content rule, the parser outputs data content to the current output scope. You can apply format modifiers to the parse continuation operator, %c, to change how the data content is formatted.

Prerequisite Concepts
 
  Related Topics
 
 

Top [ INDEX ] [ CONCEPTS ] [ SYNTAX ] [ LIBRARIES ]

Abridged OmniMark 9.1.0 Documentation Generated: November 11, 2010 at 3:52:02 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2010.