[jdom-interest] detaching root element from the document
Abhishek Srivastava
abhisheks at india.hp.com
Tue May 29 04:44:16 PDT 2001
Hello Simon,
Thanks for your mail. I did built the Java Docs and now I know for sure that
there is no API called detach() in Element class.
But now, what should I do to detach a rootElement from the document and add
it to another document ?
regards,
Abhishek.
>>>-----Original Message-----
>>>From: Simon [mailto:simonjgauld at yahoo.com]
>>>Sent: Tuesday, May 29, 2001 4:35 PM
>>>To: Abhishek Srivastava
>>>Subject: Re: [jdom-interest] detaching root element from the document
>>>
>>>
>>>The javadoc on the website is probably out of date.
>>>Rebuild using the source:
>>>
>>>./build.sh javadoc
>>>
>>>to generate the javadocs on your PC
>>>
>>>.s
>>>
>>>
>>>--- Abhishek Srivastava <abhisheks at india.hp.com>
>>>wrote: > Hello All,
>>>>
>>>> I was browsing thru the archives of this mailing
>>>> list on Merging two JDOM
>>>> Trees thread.
>>>>
>>>> In the list it is mentioned that I extract the
>>>> rootElement from the document
>>>> and then call detach() on it. After this I should
>>>> add the node into the new
>>>> JDOM Tree.
>>>>
>>>> However, the Element does not have any api called
>>>> detach().
>>>>
>>>> How to first detach an element from its document so
>>>> that it can be added to
>>>> a new JDOM Tree ?
>>>>
>>>> regards,
>>>> Abhishek.
>>>>
>>>>
>>>> ***** ***** Abhishek Srivastava
>>>> *** /_ __ *** Hewlett-Packard - Solutions
>>>> Organization
>>>> ** / / /_/ ** 19 Cunningham Road.
>>>> Bangalore -560052.
>>>> *** / *** phone +91 80 2251554
>>>> Extn:1532
>>>> ***** *****
>>>> mailto:abhisheks at india.hp.com
>>>> i n v e n t
>>>>
>>>> The most exciting phrase in science, the
>>>> one which heralds
>>>> new discoveries, is not Eureka!! but
>>>> 'That's Funny'
>>>> -- Issac
>>>> Asimov.
>>>>
>>>>
>>>> _______________________________________________
>>>> To control your jdom-interest membership:
>>>>
>>>http://lists.denveronline.net/mailman/options/jdom-interest/youra
ddr at yourhost.com
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
More information about the jdom-interest
mailing list