Re: Help regarding using CompositeTag class
Derrick Oswald <[email protected]>
| Newsgroups | gmane.comp.parsers.htmlparser.user |
|---|---|
| Message-ID | <[email protected]> |
You probably want the text that you can get from the StringBean. http://htmlparser.sourceforge.net/javadoc/index.html. Or if you really want the tags too, you can use toHtml(). On Mon, Aug 24, 2009 at 2:30 PM, Agrawal Ashish <[email protected]>wrote: > Dear Users, > > I am quite new to this library. I want to use the function getStringText() > from CompositeParser class. I dont know how I can use it. I am doing the > following: > > parser = new Parser (urlString); > NodeList list = new NodeList (); > NodeFilter filter = new TagNameFilter ("STRONG"); > > for (NodeIterator e = parser.elements (); e.hasMoreNodes ();) > (e.nextNode ()).collectInto (list, filter); > > > Can you help me for finding the way I can typecast or something to get > getStringText() function work. > > > Thank you very much > > Ashish > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Htmlparser-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/htmlparser-user > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Htmlparser-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/htmlparser-user