title: How to output rich text (html) field content when outputting to PDF using Apache FOP
body: <p>I am trying to generate a PDF file using an xAgent and Apache FOP as suggested by Stephen Wissel here: <a href="http://www.wissel.net/blog/d6plinks/SHWL-8TNLTV" rel="nofollow">http://www.wissel.net/blog/d6plinks/SHWL-8TNLTV</a>. Most of the process is working fine, the xAgent is called, creates the XML from my document and passes it through the transform to output a PDF. I am just stuck on how to handle the rich text fields. The fields contain user-generated content (created in an xPage) and so contain HTML fragments. Has anyone come up with a good way to output rich text fields along with other content to a PDF?</p>
  
  <p>Rich</p>