[Archivesspace_Users_Group] In Search Of - XSLT to transform EAD export from ArchivesSpace into an HTML document
Majewski, Steven Dennis (sdm7g)
sdm7g at eservices.virginia.edu
Tue Nov 1 12:04:17 EDT 2016
 There was a recent pull request that changes the default for :include_unpublished for print_to_pdf :
 Look in archivesspace/stylesheets/ directory. You can modify those files.
ArchivesSpace includes three stylesheets for you to transform exported
into human-friendly formats. The stylesheets included are as follows:
* `as-eac-cpf-html.xsl`: Generates HTML from EAC-CPF records
* `as-ead-html.xsl`: Generates HTML from EAD records
* `as-ead-pdf.xsl`: Generates XSL:FO output from EAD for transformation into PDF
These stylesheets have been tested and are known to work with
[Saxon](http://saxonica.com/download/download_page.xml) 22.214.171.124 and higher.
The `as-helper-functions.xsl` stylesheet is required by the other three
stylesheets listed above.
 We use XTF for serving EAD XML, but we (and I believe most sites using XTF) have customized the standard XTF stylesheets (which themselves are derived from the EAD 2002 cookbook stylesheets). I don’t believe the standard stylesheets follow @audience attributes to choose to display or not display content. ( I’ve added support but for only one case, not universally. )
— Steve Majewski / UVA Alderman Library
On Nov 1, 2016, at 10:42 AM, Kari R Smith <smithkr at mit.edu<mailto:smithkr at mit.edu>> wrote:
I’ve checked on the ArchivesSpace wiki but there’s nothing posted in Community contributed stylesheets. Would you contact me if you’ve created a solution for exporting EAD from ArchivesSpace and then locally transforming it using Oxygen or some similar tool for creating a formatted Finding Aid?
We’re having difficulty since we cannot suppress data from ArchivesSpace – so the EAD to PDF finding aids contain data that we don’t want publically available.
How have others dealt with this?
Kari R. Smith
Digital Archivist, Institute Archives and Special Collections
Massachusetts Institute of Technology Libraries
617.253.5690 smithkr at mit.edu<http://mit.edu/> http://libraries.mit.edu/archives/
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Archivesspace_Users_Group