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

Majewski, Steven Dennis (sdm7g) sdm7g at virginia.edu
Thu Nov 4 14:04:23 EDT 2021


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> 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://github.com/archivesspace/archivesspace/blob/v3.1.0/stylesheets/as-ead-pdf.xsl>) 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.
> 
> Thanks!
> Joshua
> 
> ___________________
> Joshua Shaw (he, him)
> Library Web & Application Developer
> Digital Library Technologies Group
> Dartmouth College
> 603.646.0405
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org <mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group <http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20211104/3b5b8473/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3342 bytes
Desc: not available
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20211104/3b5b8473/attachment.bin>


More information about the Archivesspace_Users_Group mailing list