users@jaxb.java.net

Re: Iterating Through Content Tree

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Thu, 14 Aug 2003 16:15:28 -0700

> Writing the code to iterate through this tree manually is not very
> desirable. It's a fairly complex schema and writing this code would
> take too much time.

I agree. I wonder if you could use JXPath (http://jakarta.apache.org/commons/jxpath/)?


> It sure would be nice if these generated classes could provide a method
> returning a list of all of their children...

This doesn't seem like a general enough solution to me.

regards,
--
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net