A regex string applied to the document type declaration of a document (root element and PUBID) when the user chooses the document in the Open Document Dialog. If the regex matches, Serna automatically offers to open the document with this template. See template-priority below.
A regex string applied to the xsi:noNamespaceSchemaLocation attribute value when the user chooses the document in the Open Document Dialog. If the regex matches, Serna automatically offers to open the document with this template. See template-priority below.
A regex string applied to the root element of a document when the user chooses the document in the Open Document Dialog. If the regex matches, Serna automatically offers to open the document with this template. See template-priority below.
A regex string that is applied to the file name of a document (including suffix) when the user chooses the document in the Open Document Dialog. If the regex matches, Serna automatically offers to open the document with this template. See template-priority below.
An integer number designating the template matching priority. If a document matches several templates, a template is chosen according to the following formula: priority = (dtd-guess-string + rootelem-guess-string + filename-guess-string)*100 + template-priority.
If set to true, then this document template will be hidden in the New Document Dialog. If all templates for a category are hidden, the category icon will be hidden as well.
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.