| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 | DocBook stylesheets for HTML5 output =============================================This directory contains XSL stylesheetsfor generating HTML5 output from DocBook content.For information on HTML5, see:http://dev.w3.org/html5/spec/Overview.htmlNote that there is no schema available for HTML5, by design.The output of these stylesheets is the XML serialization ofHTML5.  There is no provision for generating the HTMLserialization of HTML5 with these stylesheets.These HTML5 stylesheets are also used by the EPUB3stylesheets included in this distribution.These stylesheets are customizations of theexisting stylesheets in the "xhtml/" directory.Using a customization layer enables the HTML5stylesheets to inherit all the features of theXHTML stylesheets while making the minimum changesfor them to produce valid HTML5.If you are processing DocBook 5 document, you should usethe namespaced version of the stylesheets, with "-ns-"in the directory name.Usage-----------You should be able to apply any of these stylesheet filesto a DocBook document as with any other DocBook stylesheet:xhtml5/docbook.xsl         - Single file output.xhtml5/chunk.xsl           - Chunked output.xhtml5/profile-docbook.xsl - Profiled single file output.xhtml5/profile-chunk.xsl   - Profiled chunk output.xhtml5/chunkfast.xsl       - Chunked output with precomputed chunks.Do not attempt to directly use the following two stylesheet files:xhtml-docbook.xslxhtml-profile-docbook.xslThose are copies of the corresponding files in thexhtml/ directory, modified to remove the doctypedeclarations in the xsl:output elements.  They were alsomodified to import from the original xhtml/ directory.They will produce xhtml output, not HTML5 output.They are imported by the xhtml5 stylesheet files.Testing--------------The HTML5 output of these stylesheets should pass theW3C online validator, available here:http://validator.w3.org/
 |