docbook.xhtml.intro.xhtml Maven / Gradle / Ivy
Show all versions of flying-saucer-examples Show documentation
Flying Saucer: DocBook CSS Demo
Flying Saucer XML/CSS2 Renderer
DocBook XML Rendering via Pure CSS
This is a rendering of a portion of the jEdit User's Guide, which is written in
DocBook XML; the User's Guide is released under the Free Documentation License.
The content shown here is stored in XML and is rendered by Flying Saucer using the DocBook-CSS
library by David Holroyd et.al. While there is no 'official' CSS for DocBook (e.g. CSS which
covers the full DocBook specification and which works in major browsers), this should
give you a taste of the pure XML/CSS rendering capabilities of Flying Saucer. We are not, in
this case, converting to XHTML first, although that is another option.
Anti-aliasing is set to high (using Java2D) for this demo. Hyperlinks are disabled, since we're
only including this document in the demo.
There are, unfortunately, still some limitations--hyperlinks are not honored, for example, and
some of the CSS styling (especialy the "call out" boxes) could use some work.