Page 1 of 1

DocBook Stylesheets 2.0.3 for generating HTML5.

Posted: Sat Mar 10, 2012 10:46 pm
by gwagner
I'd like to use the DocBook Stylesheets 2.0.3 for generating HTML5.

Will they be included in the next release of oXygen?

Or can I add them myself?

Re: DocBook Stylesheets 2.0.3 for generating HTML5.

Posted: Mon Mar 12, 2012 12:53 pm
by sorin_ristache
Hello,

The 2.x line of development of the DocBook XSL stylesheets was not included yet in the official distribution of DocBook XSL. We include in Oxygen only the official distribution.

For generating HTML 5 documents you can create a directory xsl2.0.3 inside the ${frameworks}/docbook directory and add some XSLT transformation scenarios to the DocBook 5 document type: go to menu Options -> Preferences -> Document Type Association, select DocBook 5, press the Edit button, select the Transformation tab and add some new scenarios based on the existing ones (for example select the Docbook HTML scenario, press the Duplicate button and set the stylesheet from DocBook XSL 2.0.3 in the XSL URL text box). The new scenarios will be displayed in the dialog box with all predefined Docbook transformation scenarios.


Regards,
Sorin