To confirm, I *just* want to change the class - attribute values, name and state information can remain exactly the same.

XML import/export is a good approach which I need to think about a bit more. On the face of it, the data.fs is well over 1Gb in size after packing, and so is likely to create some issues in itself, but there may be ways to make this more straightforward.

Doyon, Jean-Francois wrote:

Assuming you're not changing attribute values, but *just* the class, I've
had success with doing an XML export, a find/replace of the class name, and
a re-import.

The XML is fairly readable, you can just look for example for
"Products.MyProduct.OldClass" and replace it with
"Products.MyProduct.NewClass".

J.F.

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to