Skip to main content
frameexpert
Level 2
Dec 5, 2024 4:32 PM UTC

Native PDF Publishing and XSLT

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.

8 replies

gkalyan
Adobe Champion, Community Advisor, UG Leader
Adobe Champion, Community Advisor, UG Leader
Dec 6, 2024 12:24 AM UTC

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

 

Translate
punagpal
Adobe Employee
Adobe Employee
Dec 6, 2024 8:57 AM UTC

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

 

 

Translate
frameexpert
Level 2
Dec 6, 2024 1:44 PM UTC

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.

Translate
kautuk_sahni
Level 9
Jan 27, 2025 1:25 PM UTC

@frameexpert Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!

Translate
Kautuk Sahni
kautuk_sahni
Level 9
Jul 2, 2025 8:34 AM UTC

@frameexpert Just checking in — were you able to resolve your issue?
We’d love to hear how things worked out. If the suggestions above helped, marking a response as correct can guide others with similar questions. And if you found another solution, feel free to share it — your insights could really benefit the community. Thanks again for being part of the conversation!

Translate
Kautuk Sahni
frameexpert
Level 2
Jul 2, 2025 12:18 PM UTC

@kautuk_sahni Thank you for following up. I don't have a specific use case yet, but understand the concept.

Translate