Allora,
per creare PDF da HTML (stringa) ho usato:

codice:
StringBuffer buffer = getHTMLinBuffer(consulenti, anUser);
DocumentBuilder builder = DocumentBuilderFactory
	.newInstance().newDocumentBuilder();
Document doc = builder.parse(new ByteArrayInputStream(buffer.toString().getBytes("UTF-8")));
ITextRenderer renderer = new ITextRenderer();
renderer.setDocument(doc, null);
String fileName = "listaConsulenti.pdf";
String absolutePath = getServletContext().getRealPath("/");
String tempPath = absolutePath + "temp/";
File file = new File(tempPath, fileName);
file.createNewFile();
OutputStream os = new FileOutputStream(file);
renderer.layout();
renderer.createPDF(os);
os.close();
Ora però un piccolo problemino. Se volessi avere il PDF ruotato di 90°? Usando il org.w3c.dom.Document; non trovo il modo. Se invece uso il com.itextpdf.text.Document c'è il semplice metodo rotate(), ma questo Document non mi permette di fare il parsing di una stringa, ma solo di aggiungere componenti al DOM TREE.

Consigli?