Feature. Forester 4.0 › Enhanced XML support › Emitting XML and resolving namespaces › XML namespace declaration [00RK]
Forester treats XML namespace prefixes in a way that respects \alpha -equivalence: in other words, any prefix mentioned must be bound, and it is possible for two different textually identical namespace prefixes to denote different namespaces depending on their scope. This makes it possible to compose code that emits XML without coordinating namespace prefixes, which I have found to be a major impediment to the correct use of XML for non-trivial work.
An XML namespace prefix is bound by a declaration like the following:
\xmlns:html{http://www.w3.org/1999/xhtml}This declaration has the same scoping rules as \def.