Automatically minify output code

Here should go questions about transforming XML with XSLT and FOP.
majao
Posts: 7
Joined: Mon Jul 18, 2022 2:26 pm

Automatically minify output code

Post by majao »

Hi
Is there a convenient way to automatically minify the output code when transforming from XML to HTML? So that the page loads faster?
Many thanks for a hint
M
teo
Posts: 41
Joined: Wed Aug 30, 2017 3:56 pm

Re: Automatically minify output code

Post by teo »

Hi,

There is no option to "minify" the HTML output In the transformation scenario configuration dialog.
However, assuming that the resulting HTML file is saved somewhere in the current project, that file can be selected in the Project view, and then the Minify HTML context action can be invoked.
The same action is also available in the context menu of the editors if the resulting file is loaded in Oxygen.

Regards,
Teo
Teodor Timplaru
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply