Is there a way to suppress CSS element?

Posts: 18
Joined: Thu Aug 27, 2009 5:09 pm

Is there a way to suppress CSS element?

Post by scotmarvin » Tue May 13, 2014 11:48 pm

I'm trying to generate a clean, simplified HTML output. I need to suppress any <link> element to a CSS. Ideally, I'd like to suppress any metadata too.

Is there anyway to do this? There doesn't seem to be.



Posts: 7579
Joined: Fri Jul 09, 2004 5:18 pm

Re: Is there a way to suppress CSS element?

Post by Radu » Thu May 15, 2014 11:45 am

Hi Scott,

Oxygen uses the DITA Open Toolkit open source engine to generate various output formats from DITA content.
There is no special setting for this, you will need to modify the XSLT stylesheets used to produce the XHTML output.

This XSLT stylesheet:


is responsible for generating the meta tags in the XHTML output.

The link to the common CSS document is generated in the XSL:


So you could either modify these stylesheets or create your custom post-processing step to purify the resulted XHTML documents.

You should also consider registering on the Yahoo DITA Users List because it is a very good place where to ask output customization questions:

Radu Coravu
<oXygen/> XML Editor

Post Reply