if you do not have corresp node you have to clone it - no other way AFAIK.
in this case you can clone and remove children as suggested before :)
regards,
Gennady Azarenkov
eXo platform
----- Original Message -----
From: "Przemyslaw Pakulski" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, November 17, 2005 1:05 PM
Subject: Re: How to clone single node only ?
looks like you need to copy the corresponding node's property only right?
why do not just get corresponding node from source workspace
(using getCorrespondingPath()), remove all properties
from target and replace them with source node's properties if so
(and maybe to do the same with mixin types ;) )
yes, i need to copy properties, but how to create corresponding node (with
the same uuid) in target workspace ?
Regards
Przemo