<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks, Steve!</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
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.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
jds<br>
</div>
<div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Majewski, Steven
 Dennis (sdm7g) <sdm7g@virginia.edu><br>
<b>Sent:</b> Thursday, November 4, 2021 2:04 PM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Override staff ead to pdf export XSL in Plugin?</font>
<div> </div>
</div>
<div class="" style="word-wrap:break-word; line-break:after-white-space">
<div class=""><br class="">
</div>
Not sure exactly what you mean by “without patching the core code directly” . 
<div class=""><br class="">
</div>
<div class="">
<div class="">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. ) </div>
<div class=""><br class="">
</div>
<div class="">( Not sure if that’s what you’re asking, or if that’s what you’re trying to avoid. )</div>
<div class=""><br class="">
</div>
<div class="">— Steve M.</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Nov 4, 2021, at 1:13 PM, Joshua D. Shaw <<a href="mailto:Joshua.D.Shaw@dartmouth.edu" class="">Joshua.D.Shaw@dartmouth.edu</a>> wrote:</div>
<br class="x_Apple-interchange-newline">
<div class="">
<div class="" style="font-size:12pt; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif">
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 (<a href="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" originalsrc="https://github.com/archivesspace/archivesspace/blob/v3.1.0/stylesheets/as-ead-pdf.xsl" shash="vF86p2RwjgnC2y55UetzCueKxqd8kEGUlGWqvmrG8R+UktfQEp6NAfRj/nw4GEHL24Qx+Dgkr2jnh803mAE0xanmyxsDvYPFavW4eEdirVyFPsc7LrUKIo9yHcakM5ROK/aBrVNrtTFJatcfCoeAur5ck2ehijFrzyPRH1ElhfI=" id="LPNoLPOWALinkPreview" class="">https://github.com/archivesspace/archivesspace/blob/v3.1.0/stylesheets/as-ead-pdf.xsl</a>)
 without patching the core code directly?<br class="">
</div>
<div class="" style="font-size:12pt; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif">
<br class="">
</div>
<div class="" style="font-size:12pt; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif">
For the plugin I'm writing, I need to render a svg within an odd note, so I need to fiddle with that section.</div>
<div class="" style="font-size:12pt; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif">
<br class="">
</div>
<div class="" style="font-size:12pt; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif">
Thanks!</div>
<div class="" style="font-size:12pt; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif">
Joshua<br class="">
</div>
<div class="" style="font-family:Menlo-Regular; font-size:16px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<br class="">
</div>
<div id="x_Signature" class="">
<div class="">
<div class=""></div>
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
___________________</div>
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
Joshua Shaw (he, him)</div>
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
Library Web & Application Developer<br class="">
</div>
Digital Library Technologies Group<br class="">
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
Dartmouth College<br class="">
</div>
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
603.646.0405<br class="">
</div>
</div>
</div>
</div>
<span class="" style="font-family:Menlo-Regular; font-size:16px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; float:none; display:inline!important">_______________________________________________</span><br class="" style="font-family:Menlo-Regular; font-size:16px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<span class="" style="font-family:Menlo-Regular; font-size:16px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; float:none; display:inline!important">Archivesspace_Users_Group
 mailing list</span><br class="" style="font-family:Menlo-Regular; font-size:16px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" class="" style="font-family:Menlo-Regular; font-size:16px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br class="" style="font-family:Menlo-Regular; font-size:16px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<a href="https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Flyralists.lyrasis.org%2Fmailman%2Flistinfo%2Farchivesspace_users_group&data=04%7C01%7Cjoshua.d.shaw%40dartmouth.edu%7Cc3090f0c1f944640f6f608d99fbd8ae1%7C995b093648d640e5a31ebf689ec9446f%7C0%7C0%7C637716460027877720%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=xxSYZdWl10x3GJMp3WNJy7kY9ofPtkQdjZ64MxBi35c%3D&reserved=0" originalsrc="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" shash="xo6rRRr4uyifKdZgIKN89hM1cgMBZ7BO8kmEascgl97BhCFqNBR2LKtCFzJf9K9Pm6Vch6Bxou7jhq7cEoCniZTPi1oIrmA8mWoFR9oNE54ZU+wtKDDExEmVZ2wa+FEsMzlOIbwwi6Y1hVPgvunTuqpTxrW++fBAWtFhHr+EcMk=" class="" style="font-family:Menlo-Regular; font-size:16px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a></div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</div>
</body>
</html>