[jdom-interest] Moving Subtrees using JDOM
Elliotte Rusty Harold
elharo at metalab.unc.edu
Sat Feb 23 09:09:28 PST 2002
At 5:57 AM -0800 2/23/02, Noam Tamim wrote:
>So how about adding the suggested elt.addContent(List) that will iterate over
>
>that list, do all the casts needed, detach whatever needs detaching, then add
>it to elt?
>Should be a simple method, I think. Only thing to consider is if it should be
>a method of Element, or a utility method in jdom.contrib.
>
Either way, this is tricky. For instance, what if something in the
list doesn't need to be detached?
--
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| The XML Bible, 2nd Edition (Hungry Minds, 2001) |
| http://www.ibiblio.org/xml/books/bible2/ |
| http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/ |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://www.cafeaulait.org/ |
| Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/ |
+----------------------------------+---------------------------------+
More information about the jdom-interest
mailing list