I see, so it’s not just an upgrade, but a rewrite at the same time?
Essentially, you need to produce import xml that is valid towards the content domain of xp 6.9. The import you are using is not aware of “content domain” as you are importing on a lower level (repository), so you won’t get any warnings with this approach. This can be compared like by-passing the application logic and writing straight to SQL, you need to be 100% sure your data are valid. If you use the content API however you would - but it does not handle xml…
Using old ID’s should work fine.
I recommend you
run all the upgrade scripts on exported data
then re-process this with your php script.
This approach will at least provide you with a valid baseline dataset for 6.9.
Upgrading and rewriting at the same time is never the “easy way” to do things
Since everything works with “dummy” data I assume that my upgrade/rewrite script works. So the main question how can I debug import process ?
And also - can I use CDATA inside XML file ? Maybe this will help me to handle HTML code.
After some investigations and updates I was able to make it work Only two small issues/bugs left:
1 - object from previous post. I can’t remove it and it’s not visible. Also I can’t update it. How can I remove this object ?
2 - Image objects that are located under article object. They are imported and visible in article, but objects are not visible in content tree.