Created on: Sept 1, 2018
Author: mholmes. This transformation is designed to convert a MoEML XHTML5
static site document into a PDF. It converts the document to XSL:FO, validates the FO, and
then the calling ant script uses FOP to generate a PDF.
Include the module containing all the layout and styling information.
The output method is XML (for XSL:FO)..
Root template. Sets up everything.
Transforms html into flow
Output goes here.
This processes the metadata in the page header to get the key info.
THE MAP of EARLY MODERN LONDON
This processes the metadata for the hybrid title page.
Responsibilities
Responsibilities
Publication
This transforms html to flow
This template transforms divs into blocks, assigns appropriate @id when div has one,
and appropriate attribute sets otherwise.
This template transforms navs (with ids) into blocks
This template transforms uls list-blocks assigning ids where ids are
available
This template transforms ols list-blocks assigning ids where ids are
available
This template transdorms lis to list-items, assigning ids where ids are
available
•
always
•
•
•
–
–
•
–
–
–
–
•
This template transforms the table element
This template transforms theads to table headers
This template transforms tbody(s) to table bodies
This template transforms table rows to table-rows
This template transforms table cells to table-cells
This transforms a to basic-links
This transforms a to basic-links
This template transforms ps to blocks in lists and inlines otherwise
This template transforms spans to blocks (in lists) and inlines otherwise
This template removes the tooltip text
This template processes corrections into braketed entries
This template transforms strongs to blocks (in lists) and inlines otherwise
This transforms pres to blocks in lists or inlines otherwise
This template transforms qs to blocks in lists and inlines otherwise
This template transforms blockquotes to blocks
This template transforms the code element to blocks in list and inlines
otherwise
This template rewrites the links for graphics to images.
This template transforms figures to blocks in lists and inlines otherwise
This template transforms figcaptions to blocks in lists and inlines otherwise
This template transforms h1 to blocks for lists and inlines otherwise
This template transforms h2 to blocks for lists and inlines otherwise
This template transforms h3 to blocks for lists and inlines otherwise
This template transforms h4 to blocks for lists and inlines otherwise
This template transforms breaks to blocks
This template transforms the hr to leader
Remove the top banner.
Remove see XML
Remove More Info
Remove Blackletter
Remove Blackletter toggle
Remove script elements
Remove send feedback
Remove footer menu
Remove info popup
Remove document mentions and corresponding headings.
Remove person contributions and corresponding headings.
Remove person mentions and corresponding headings.
Remove term tagging list
Remove roles played for organizations
Remove header: Citation
Remove facsimiles figures.
Remove link to agas.css from head.
Remove link to agas_embedded.css from head.
Replace link to lightbox.css with link to nav.css.
This template rewrites a local link to make it an external link directing to the MoEML
website.
This template rewrites a #reference that does not have a matching id in the
document.
This template rewrites signture references that do not have a matching id in the document
This template rewrites the links for graphics to images.
This template removes ¶ links (displayed in born digitals)
This template changes the title "Personography" to Contributors
This template removes the person's abbriviation
This template removes the Roles Played
This template removes the membership organizations
This template removes the "mentioned in the following documents" from Locations
This template removes the "mentioned in the following documents" from Organizations
This template removes the MoEML Team list
This template removes the social media logos (facebook, twitter, as RSS)
Historical Figures
always
Literary Figures
This template places literary and historical persons before contributors (ie after references).
Variant Spellings
This template places the variant spellings before the references.
This template removes variant spellings from the appendix
This template removes historical persons from their original position.
This template removes literary persons from their original position.
This template sorts personography alphabetically
This is the default identity transform.