Expand my Community achievements bar.

Native PDF Publishing and XSLT

Avatar

Level 2

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.

4 Replies

Avatar

Community Advisor

@frameexpert AFAIK AEM does not natively support XSLT transformations directly before PDF generation.

 

Avatar

Employee

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

 

 

Avatar

Level 2

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.

Avatar

Employee

@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