XML technologies / DITA / DITA Open Toolkit / XHTML and CSS

(Excerpt from “DITA – Der neue Standard für Technische Dokumentation” by Johannes Hentrich)

XHTML output from DITA XML is generated by the XSLT stylesheet dita2xhtml.xsl, located in directory xsl of the DITA Open Toolkit. File dita2xhtml.xsl includes these element-processing XSLT stylesheets:

In Specialization we explained creating XSLT stylesheets for specialized elements. All XHTML stylesheet customization must follow that approach.

Besides XSLT, the DITA Open Toolkit provides two CSS files formatting the generated XHTML in browsers.

If XHTML is generated through an ANT build file, both CSS files are copied into the XHTML output directory.

CSS can be customized in two ways:

  

 

 

 

back to top