Skip to main content

Using XSL-FO to create printable documents

Portable database reporting using XML revisited

Return to article


Code to write the header of a document that uses FO

System.out.println("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
System.out.println("<report xmlns:fo=\"http://www.w3.org/1999/XSL/Format\">");

Return to article