- some other tag,
- or whitespace.
- outputs the HTML start tags,
- processes any templates that apply to children of the root,
- and then outputs the HTML end tags.
Order
Templates are independent of one another, so it does not generally matter where they occur in a file.Order does make a difference when two templates can apply to the same node. In that case, the one that is defined last is the one that is found and processed.