try {
OutputStream out = response.getOutputStream();
// create the xml document
VolunteerDetailsFundraisingXmlReport report =
new VolunteerDetailsFundraisingXmlReport(getSessionBean1().getVolunteer());
Document doc = report.getXmlDocument();
// convert the result
Document fo = XmlFormatter.convertDocument2Fo(doc, stylesheet);
// generate the pdf
XmlFormatter.convertFo2Pdf(fo, out);