I am exploring native PDF publishing with AEM. Is there a way to modify the content using XSLT before the PDF is created? Or before the intermediate HTML is created? Thank you.
Views
Replies
Total Likes
@frameexpert AFAIK AEM does not natively support XSLT transformations directly before PDF generation.
It is possible to modify content using JavaScript functionality on intermediate HTML before PDF publishing. Native PDF doesn't have XSLT transformation.
Some examples of using JS in Native PDF:
Add Enterprise Branding to the First Page of a PDF
Use JavaScript to work with content or style
Let us know your use case to assist you better.
-Pulkit Nagpal
Views
Replies
Total Likes
I don't have any specific use cases yet. My client is currently using an AEM to FrameMaker workflow and we are investigating using native PDF publishing from AEM.
Views
Replies
Total Likes
@frameexpert
Additionally, Starting from AEM Guides release 4.6 / 2410, the DITA OT preprocess step in NativePDF allows for adding or overriding XSLT-processing steps in the pre-processing pipeline using the Custom DITA OT plugin.
Ref:
https://www.dita-ot.org/3.7/topics/plugin-overridestyle