Re: [Htmlparser-developer] SimpleNodeIterator
Brought to you by:
derrickoswald
From: Somik R. <so...@ya...> - 2003-05-14 22:12:00
|
Dhaval Udani wrote: > Another problem: > > One more thing that I noticed: > > At the base level Parser.elements() gives me a list of all the first-level > nodes. Using any of the first level nodes I may obtain its next-level children > using CompositeTag.getChildren(). This being a NodeList I can easily add new > elements(nodes, tags etc) here. However I cannot add the same at the first > level. Use the HtmlScanner, to get the first level nodes under html. If you don't - there is no such thing as a "root node" to add children to. Regards, Somik |