wood burning stoves 2.0
The moose likes Other Open Source Projects and the fly likes HTML/PDF FOP - Newline Character Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "HTML/PDF FOP - Newline Character" Watch "HTML/PDF FOP - Newline Character" New topic

HTML/PDF FOP - Newline Character

Raghav Bairy

Joined: Jul 25, 2007
Posts: 1
We are generating HTML and PDF files through FOP. The data is in the database (MS SQL) in the form of XML and an XSL is applied to create a HTML and PDF (Using FOP)

Now if a new line is present in the database, the new line character is present in the database as character (10). When an XSL is applied over this XML, the new line character doesn't appear on the HTML.

We need to interpret the new line character in the database and display it on the HTML and PDF as a new line character. Any suggestions on this will be helpful.

I agree. Here's the link: http://aspose.com/file-tools
subject: HTML/PDF FOP - Newline Character
It's not a secret anymore!