OmniMark “groups” to group your element rules

Last modified: 25/10/2012

No Comments

OmniMark groups is a nice feature to group your elements.
You can compare it with the “mode” feature in XSLT.
More

Rating 3.00 out of 5
[?]

Using OmniMark records

Last modified: 06/06/2012

No Comments

OmniMark records is a nice feature to hold some data of a certain type together.
Suppose we have a type person with firstname, lastname, birth and hobbies.
More

Rating 3.00 out of 5
[?]

Uptranslate and context translate with OmniMark

Last modified: 26/01/2012

No Comments

This post will explain some of the unique conversion features of OmniMark, which is uptranslate and context translate (See the conversion scheme to have an overview of the different types of conversion).

An uptranslate makes it possible to create XML (or SGML) starting from structured data. And this structured data doesn’t have to be XML. While creating this XML it is sent to the parser.

A context translate goes even a step further, it’s a combination of an uptranslate followed by a downtranslate.

More

Rating 3.00 out of 5
[?]

Solving the streaming paradigm with OmniMark referents

Last modified: 14/10/2010

2 Comments

Unlike XSLT processors, OmniMark uses a streaming model to process XML/SGML.

A streaming model has advantages but it also has disadvantages. The XML flows from top to bottom. You can’t randomly access the XML tree in memory.

So how can you process an XML node in the beginning of a document if it depends on a node that hasn’t streamed yet or maybe never will come?

More

Rating 3.00 out of 5
[?]

Discarding content with the OmniMark suppress operator

Last modified: 14/10/2010

No Comments

Until now I only demonstrated examples where XML content is processed without suppressing the content.

More

Rating 3.00 out of 5
[?]

OmniMark “find” rules

Last modified: 14/10/2010

No Comments

In this small tutorial I will explain how find rules work in OmniMark.

Find rules are possible in an uptranslate and crosstranslate conversion. See my post: The OmniMark conversion scheme for the different conversion schemes.

More

Rating 3.00 out of 5
[?]

A simple OmniMark downtranslate example

Last modified: 30/01/2012

No Comments

In one of my previous posts about the OmniMark conversion scheme I explained the different translate types at high level.

I will now demonstrate a simple OmniMark downtranslate example. In this example an XML document is converted to (X)HTML.

More

Rating 3.00 out of 5
[?]

OmniMark versus XSLT conversion scheme

Last modified: 06/12/2010

3 Comments

The XSLT conversion scheme

XSLT conversion scheme

More

Rating 2.00 out of 5
[?]

The OmniMark “hello world” program

Last modified: 14/10/2010

No Comments

This is the famous “hello world” program for OmniMark.

OmniMark source code
  1. process
  2.   output 'hello world'
The console output
  1. hello world

Easy isn’t it?

More

Rating 3.00 out of 5
[?]