New HTML-tweak step
XSLT html-tweak.xsl provides for ad-hoc modification of HTML @class and @style; it can add or remove specific class names or CSS properties as given on these two attributes in the HTML.
Once configured, this filter can make changes (or rather, copies with modifications) like the following:
- Wherever @class has
FreeForm
, remove it - Wherever @style has
font-family
(any value), remove it - Wherever @style has
font-family: Arial Unicode MS
, remove it and addfont-family: sans-serif
instead - Wherever @style has
text-indent: 36pt
, removetext-indent
and addIndented
to @class
One of the interesting things about this stylesheet is that it might work best as a meta-XSLT, i.e. XSLT autogenerated via XSLT from a specification (of desired matches with their additions/removals). Then it wouldn't require XSLT skills to customize it.