I exported my documents from Alfresco 4.x and now i need to import them to Alfreco 5.1, however i had different content models. So only think i need is to rewrite types and base url, i have similar types in my new Alfresco, but not the same name and prefix, url. So my question is:
How to rewrite metadata which is stored in ACP file in python or maybe java?
I tried to use zipFile in python, but it gives me only errors and keep convincing me that i dont have zip file. I can't open it in notepad++ because it is not readable. I tried to just read content of file but python give blank line when i try to print it.
EDIT:
Here is a link to my file that i need to open and edit.
DELETED no need for this anymore.
I'm sorry i see today that i did bad export it had 0 kb so python was right it is empty i don't know how it happened. Thank you all, now i can work with as a zipFile and i will edit xml with metadatas im happy now :)
Edit content of acp in python/java