Example of Block Syntaxes

this TBS template is W3C compliant Valid XHTML 1.1

These examples illustrate the different available syntaxes for Merge-Blocks.

Absolute Syntax

The block is defined by a beginning TBS tag and an ending TBS tag.

[blk1;block=begin][blk1.val]
[blk1;block=end]

Relative Syntax

The block is defined relatively to the HTML (or XML) tags that surround the TBS tag. Only a single TBS tag defines the block, instead of a couple of TBS tags.

[blk2.val][blk2;block=tr]

Simplified Syntax

The bloc definition is included inside a TBS field. It's much more simple to write.

[blk3.val;block=tr]

On a text line

Use the symbol "_" to define a block on a simple text line, independently of HTML tags.

  [blk4.val;block=_]

With concatenation

It's possible to define a block on several following HTML tags. For this, you just have to indicate the tags to concatenate by separating them with "+". In the example below, the block is bounded by two rows.

  [blk5.val;block=tr+tr]
[blk5.val]

With encapsulation

It's possible to define a block on an HTML tag of a higher level. For this, you just have to set the encapsulation level using parentheses. In the example below, the block is bounded by the pink row.

[blk6.val;block=((tr))]

Without Block Definition

If the block definition is omitted, then only the first record is merged.

Example: [blk7.val]