XML template files are the main way to create interesting web pages in MillScript. They are written in XML augmented with some custom tags, in their own namespace. XML template files are very much like the more common XHTML template files, they share the same set of custom tags.
There are only three differences between an XML template and an XHTML template:
.xml.tp. e.g.
myXmlTemplate.xml.tp
<arg n="1" xmlns="http://www.millscript.org/namespace/template" />
<xml xmlns:tp="http://www.millscript.org/namespace/template">
<hotels>
<hotel>
<name><tp:arg1>The first argument is the hotel name</tp:arg1></name>
</hotel>
</hotels>
</xml>