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.
- Taxa used to be attributes of
tree, but they are now child elements oftree/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> 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.
- All identifiers in the XML format have been regularized to use snake-case; for instance,
sourcePathis nowsource-pathandshow_headingis nowshow-heading.