Prince is a batch formatter for converting XML into PDF and PostScript and it has strong support for Cascading Style Sheets (CSS).
Prince prints any XML document without relying on proprietary markup. Unlike many other formatters, Prince can print any XML document. Because Prince does not rely on proprietary markup, you have the freedom to use whatever tags are right for you.
Prince supports DTDs and DTD catalogs that can define entities and default attributes. The support for external XML entities enables you to subdivide large documents for convenient management.
Prince provides a command line interface on Windows and Linux, allowing it to be called easily from batch files and shell scripts or integrated with other programs to form document publishing pipelines.