DocBook Stylesheets 2.0.3 for generating HTML5.

gwagner
Posts: 2
Joined: Tue Jun 08, 2010 7:37 pm

DocBook Stylesheets 2.0.3 for generating HTML5.

Post 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?
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: DocBook Stylesheets 2.0.3 for generating HTML5.

Post 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
Post Reply