Help regarding using CompositeTag class

"Agrawal Ashish" <[email protected]>
Newsgroups gmane.comp.parsers.htmlparser.user
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.