RE: [Htmlparser-developer] Label Tag
Brought to you by:
derrickoswald
From: <dha...@or...> - 2003-04-29 08:44:28
|
Hi, I am parsing a tag as below: <label><span>Jane <b> Doe </b> Smith</span></label> How can I obtain the text : "<span>Jane <b> Doe </b> Smith</span>" Thanx in advance. Regards, Dhaval -----Original Message----- From: somik [mailto:so...@ya...] Sent: Monday, April 28, 2003 9:38 PM To: htmlparser-developer Cc: somik Subject: RE: [Htmlparser-developer] Label Tag > However since LabelTag is a composite tag and can > have children, does it > not mean that it will have to override the toHtml() > method. I believe it > can use the super() method and will need to add to > it. CompositeTag implements toHtml() uniformly to iterate over children. If you are inheriting from CompositeTag, there is no reason you need to change toHtml(). That is why you need to modify the contents of the children to affect the output of toHtml(). Regards, Somik __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Htmlparser-developer mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlparser-developer |