Change. Forester 2.4 › Breaking changes to XML format [007X]

This release contains several breaking changes to the XML format that can break custom XSLT stylesheets.

  1. Taxa used to be attributes of tree, but they are now child elements of tree/frontmatter. Therefore, what previously was written as
    <tree taxon="lemma">
      <frontmatter>
        <!-- ... -->
      </frontmatter>
      <!-- ... -->
    </tree>
    is now written as follows:
    <tree>
      <frontmatter>
        <taxon>lemma</taxon>
        <!-- ... -->
      </frontmatter>
      <!-- ... -->
    </tree>
  2. Dates are now stored in machine-readable format. For example, what used to be written <date>August 16, 2023</date> is now written as follows:

    <date>
      <year>2023</year>
      <month>8</month>
      <day>16</day>
    </date>

    It is the responsibility of the XSLT stylesheet to format dates appropriately. Thanks to Masanori Ogino for suggesting this change.

  3. All identifiers in the XML format have been regularized to use snake-case; for instance, sourcePath is now source-path and show_heading is now show-heading.