a a b c d e f g h i j k l m n o p q r

Repeats via attributes

Sometimes the usual fx-repeat does not do the job as it would interfere with the content model of the repeated content. Examples are table and all kind of lists.

In such situations the data-ref attribute can be used instead.

A usual repeat

A usual repeat uses the fx-repeat element with a template for repeating items.

Simple Table via attributes

All tables below bind to the same nodeset so adding/deleting items in one table will update the others.

To bind data nodes the data-ref attribute is used instead of the usual ref found on the Fore elements.

You still have to wrap the repeated content in a template as with usual repeats.

Repeating td elements in a single row

Table with header via attributes

The data-ref can also be used deeper down in the markup like here on a tbody.

Output an unordered list with repeat attributes

It also works for lists...

Building a dynamic datalist

To actually see the dynamic list delete the bound value from the control and hit space or click arrow.

Table using template expressions

Template Expressions work as expected within repeated content.

Table with header using template expressions

Table with header and nested repeat within a cell