Hello,
suppose you have something like:
<root>
  <foo>
     <bar>
     .....
     </bar>
  </foo>
</root>

I already have the digester code to istantiate a Bar object, if given as
parameter to BarParser.read(String s) i pass as
actual parameter everything between <bar> and </bar>.

Now i want to have a RootParser, so that if i pass it everything between
root tags, whenever it encounter any bar tags,
it delegates the parsing of that portion of the xml document to BarParser.

Is it possible ?

thanks,
valerio
--
To Iterate is Human, to Recurse, Divine
James O. Coplien, Bell Labs
(how good is to be human indeed)

Reply via email to