aspose file tools*
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
Author

HTML/PDF FOP - Newline Character

Raghav Bairy
Greenhorn

Joined: Jul 25, 2007
Posts: 1
Hi,
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.

Thanks
Raghav
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: HTML/PDF FOP - Newline Character