@flags

The attribute flags indicates the level of error that should be flagged to any algorithm that uses the parent element . Similar to Schematron's @role, but under a different name, to avoid confusion with TAN @roles.

The attribute flags specifies flags to be applied in an XPath function that uses regular expressions.

s = dot-all mode; m = multi-line mode; i = case-insensitive mode; x = remove whitespace characters from regular expression; q = no metacharacters

For more see http://www.w3.org/TR/xpath-functions-30/#flags

Formal Definition

string (pattern warning|error|info|fatal)string (pattern [smixq]+)

Defined at: TAN-core.rng

Used by: ~condition-pattern, ~func-replace, ~change-log, ~defn-tok-def

Example 8.25. @flags

   <head>
      .........
      <change when="2014-10-28" who="park">Created new TAN-TEI file.</change>
      <change when="2017-10-21" who="park" flags="error">The unnecessary top-level div, poem, has been removed.</change>
      <change who="xslt1" when="2017-11-02T22:05:03.898-04:00">TAN file updated to 2018 schemas.</change>
   </head>


[Note]Note

Taken from ring-o-roses.eng.1957