The mode attribute is defined for some elements
(stx:template, stx:process-*) currently. It seems this
is not necessary as modes don't play a relevant role in
an one-pass language. Moreover, matching constrains via
modes are orthogonal to another mechanism to limit the
number of matching templates - the grouping of templates.
If the common grouping is not enough, the naming of
groups and the adding of the 'group' attribute to
process-xxx instructions could help. This has been
discussed in the mailing list repeatedly with no clear
Log in to post a comment.