Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » How to extract plain text from HTML
How to extract plain text from HTML [message #1727650] Thu, 24 March 2016 19:07
Norm Merrill is currently offline Norm MerrillFriend
Messages: 9
Registered: September 2014
Junior Member
Basic Problem:
I have a field in my report for notes. The database field is CLOB and it includes the text along with all of the HTML tags. I currently use dynamic text and display the HTML but as users format the text with larger font size, color, bold, breaks, etc...this takes up too much space. I would like the report to only show just the plain text as the report does not need to show special formatting.

Example:
<p><font face="sans-serif" size="3">This is a general note for PO :PONUM from :USER.</font></p><p><font face="sans-serif" size="3">Note below:<br />This is a note. <br /><br /></font></p><div><font face="sans-serif" size="3"></............

I would like to extract just "This is a note."

Any suggestions on how to achieve this?

Thanks in advance.

Norm
Previous Topic:report parameter with MongoDB data source
Next Topic:Birt 3.72 Report Engine Rotate Text with Birt Controls Lib
Goto Forum:
  


Current Time: Fri Apr 19 22:51:46 GMT 2024

Powered by FUDForum. Page generated in 0.03435 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top