Serna Document Template Matching Rules

When you open a document, Serna tries to match an appropriate document template, using the matching hints and rules specified in the template itself:

If no templates are matched, Serna provides a fallback default document template, which contains the default stylesheet path and so on.

Document template matching is important because external metadata association also relies on the matched template name.