[Archivesspace_Users_Group] Override staff ead to pdf export XSL in Plugin?

Joshua D. Shaw Joshua.D.Shaw at dartmouth.edu
Thu Nov 4 14:12:29 EDT 2021

Thanks, Steve!

I'm hoping that this might eventually become a plugin for the wider community, so I'm trying to avoid as many manual steps (like moving files around) as possible. I could just add that copy step to the readme, but I was wondering if there's a more elegant approach.


From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Majewski, Steven Dennis (sdm7g) <sdm7g at virginia.edu>
Sent: Thursday, November 4, 2021 2:04 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] Override staff ead to pdf export XSL in Plugin?

Not sure exactly what you mean by “without patching the core code directly” .

You can edit stylesheets/as-ead-pdf.xsl in place without having to go back to source and rebuild distribution, which is usually the case for objects that don’t get packed into the .war files and are extracted into temp directories when run. ( the same as reports directory, which can be modified in place instead of using a plugin. )

( Not sure if that’s what you’re asking, or if that’s what you’re trying to avoid. )

— Steve M.

On Nov 4, 2021, at 1:13 PM, Joshua D. Shaw <Joshua.D.Shaw at dartmouth.edu<mailto:Joshua.D.Shaw at dartmouth.edu>> wrote:

Before I do a deep code dive, has anyone tried or does anyone know if its possible to override the core ead->pdf export stylesheet (https://github.com/archivesspace/archivesspace/blob/v3.1.0/stylesheets/as-ead-pdf.xsl<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Farchivesspace%2Farchivesspace%2Fblob%2Fv3.1.0%2Fstylesheets%2Fas-ead-pdf.xsl&data=04%7C01%7Cjoshua.d.shaw%40dartmouth.edu%7Cc3090f0c1f944640f6f608d99fbd8ae1%7C995b093648d640e5a31ebf689ec9446f%7C0%7C0%7C637716460027867723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=MM2BWOkwPKLLJkFyAaMOPrTKfEM0VfN1qv2Skuk4i8A%3D&reserved=0>) without patching the core code directly?

For the plugin I'm writing, I need to render a svg within an odd note, so I need to fiddle with that section.


Joshua Shaw (he, him)
Library Web & Application Developer
Digital Library Technologies Group
Dartmouth College
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...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20211104/5cfa8872/attachment.html>

More information about the Archivesspace_Users_Group mailing list