[jdom-interest] List/Document - Document(java.util.List content)

bob mcwhirter bob at werken.com
Tue Oct 8 22:34:36 PDT 2002


On Wed, 9 Oct 2002 yk at nyc.rr.com wrote:

> I'm still having alittle trouble here.
> 
> Since you can't detach() a list, The only way I know if is to change
> the list int to a jdom.Element. But when I do that, I get nothing returned.
> 
> Am I doing something wrong?

What's your xpath?  Does it return Elements?

If so, iterate over the list, cast each item to an Element and detach().

	-bob





More information about the jdom-interest mailing list