<replace>

The element replace contains the equivalent of the XPath replace() function plus parameters, indicating a replacement operation that should be, or has been, applied to a digital file.

Multiple <replace>s will be assumed to have been implemented in document order.

The conventions of this element and its children accord with the definition of the function and its parameters provided at http://www.w3.org/TR/xpath-functions-30/#func-replace

Formal Definition

~ed-stamp?, 
   (~inclusion | 
      (<comment>* & (@pattern, @replacement, @flags?)))

Defined at: TAN-class-1.rng

Used by: ~alt-repl