Expand my Community achievements bar.

How to Apply Custom XSL in AEM Guides web editor

Avatar

Level 2

Hi Team, 

 

 We had tried putting both XML file and XSLT file into the same folder and in the source view of particular topic we had referred the XSLT file. It doesn't process the XSLT file in the AEM guides Web editor.

Agila_M_0-1693808572938.jpeg

 

Is there any approach to apply custom XSL in AEM guides Web editor (Author and Preview mode)?

1 Reply

Avatar

Employee

@Agila_M : custom XSLT transformation is not available out of the box. However you can add a new toolbar option in webeditor and call any custom action like running XSLT etc. 

Refer this experience league article that explains the process of adding a new button in toolbar and calling a Javascript method to define controller - this can be the custom script to run XSLT on content.