[jdom-interest] parentless DOM nodes created by DOMOutputter

Elliotte Rusty Harold elharo at metalab.unc.edu
Fri Apr 12 19:35:10 PDT 2002


At 1:24 PM -0700 4/12/02, Jason Hunter wrote:


>What about returning a DocumentFragment?
>

That doesn't really change anything. A DocumentFragment still needs 
to have an owner document, same as any other DOM node. And it can 
normally only be created by the factory method of its owner document.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
|             http://www.cafeconleche.org/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.cafeconleche.org/    |
+----------------------------------+---------------------------------+



More information about the jdom-interest mailing list