[jdom-interest] Element.getDocument() ?
Joerg
joerg at freiheit.com
Thu Aug 31 01:02:34 PDT 2000
How do you want to do that? Do you want to put a referencce to a Document in every
Element? When you do it like this, you have to update all Elemets when you copy a
subtree from one Document to another. This would be the same "ownerDocument" -
"cloneNode" problem like in DOM.
Joerg
bob wrote:
> > > Currently, there appears to be no way to obtain the Document
> > > which owns a particular Element.
> >
> > I'm OK with this, but I don't have the time to make the changes. There
> > would need to be changes in Element.java, PartialList.java, and
> > Document.java, as far as I can tell.
> >
> > Wanna do them, Bob?
>
> Sure. Though, I'm offline until next Wednesday. So, I'll submit
> a patch mid-to-late next week.
>
> -bob
>
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
--
<?xml version="1.0" standalone="no" encoding="ISO-8859-1"?>
<businesscard>
<bookmarks>
<bookmark> http://www.google.com </bookmark>
<bookmark> http://www.gnu.org </bookmark>
<bookmark> http://java.apache.org </bookmark>
<bookmark> http://www.w3.org </bookmark>
<bookmark> http://www-db.stanford.edu/lore </bookmark>
</bookmarks>
<sender>
<firstname> Jörg </firstname>
<name> Kirchhof </name>
<title> Dipl.-Ing. </title>
<email> joerg at freiheit.com </email>
<phone> +49-40-890584-14 </phone>
</sender>
<company>
<name> freiheit.com Technologieberatung GmbH </name>
<address> Theodorstraße 42-90 </address>
<zip> 22761 </zip>
<city> Hamburg </city>
<country> Germany </country>
<phone> +49-40-890584-0 </phone>
<fax> +49-40-890584-20 </fax>
<www> http://www.freiheit.com </www>
</company>
</businesscard>
More information about the jdom-interest
mailing list