Re: [Htmlparser-developer] HTML Comments/Remarks
Brought to you by:
derrickoswald
From: Somik R. <so...@ya...> - 2002-12-12 00:04:16
|
Hi Sam, HTMLRemarkNode is a special class -it is not a scanner. It is registered by default - so you dont have to do anything - just check if the node object is a remark node. However, last week, I removed the toPlainTextString() implementation as it often a lot of HTML code is commented out, and I thought it might interfere with a simple string representation of a page. If that is not the case and you need to use toPlainTextString(), pls let us know, and we should put that functionality back in. Regards, Somik --- Sam Joseph <ga...@yh...> wrote: > Hi Somik > > Sorry to ask so much this week, but I was wondering > it there some operation for picking up HTML comments > using the HTMLParser (<!-- a comment -->) or are > they automatically ignored? > > I can see from the API that there is HTMLRemarkNode, > but I can't see any similar tag or scanner. Must a > special tag/scanner be created to handle > comments/remarks? > > Thanks in advance. > > CHEERS> SAM > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility > Learn to use your power at OSDN's High Performance > Computing Channel > http://hpc.devchannel.org/ > _______________________________________________ > Htmlparser-developer mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlparser-developer __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |