Presentation tags

Chris Bamford <[email protected]> Thu, 30 Jun 2011 09:39:19 +0000
Newsgroups gmane.comp.parsers.htmlparser.user
Message-ID <[email protected]>
Hi there,

I use Aperture to extract text which runs Htmlparser when processing HTML.  
My question relates to the handling of presentation tags such as <u>, <b>, <i> when embedded within words - for example:

   <html><body><u>north</u>ern</body></html>

What I would expect is that I should be delivered the word "northern" - but instead I get two tokens: "north" and "ern", which is clearly wrong in this context.
It seems that Htmlparser is replacing tags with whitespace - why is this? 

Thanks for any help.

- Chris


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2