Flying Saucer (library)

Flying Saucer (also called XHTML renderer) is a pure Java library for rendering XML, XHTML, and CSS 2.1 content.

It is intended for embedding web-based user interfaces into Java applications, but cannot be used as a general purpose web browser since it does not support HTML.

It has extended support for print-related things like pagination and page headers and footers.

Flying Saucer was started in 2004 by Joshua Marinacci,[2] who was later hired by Sun Microsystems.

Flying saucer has very good XHTML markup and CSS 2.1 standards compliance, even in complex cases.