On Tue, Jan 12, 2010 at 10:16, John Tranier <[email protected]> wrote: > I really want here a copy, i.e. the copied node must have the same > properties & subtree but a different UUID than the original ones. > > I've 1st tried to do that with exportSystemView/importXML but the problem is > that the UUID remain the same and I obtain strange behavior on the copied > nodes when I remove the original nodes.
Did you try to set the UUID collision behaviour to IMPORT_UUID_CREATE_NEW ? http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/Session.html#importXML(java.lang.String,%20java.io.InputStream,%20int) Regards, Alex -- Alexander Klimetschek [email protected]
