Page 1 of 1

XML refactoring for changing file names to match ID

Posted: Fri Feb 14, 2020 8:47 pm
by psbentley
Hi folks,

I need to rename a bunch of files (like 4000) to have the file name match the ID of the file. It's a complicated story, but if I pull these out of the repository to rename and then reupload, the maps won't automatically update and I'm not sure where all these files are used.

Does anyone know how I could use XML refactoring for this? I've tried reverse-engineering the XML refactoring xquery for changing the ID to match the file name but so far no luck.

Thanks in advance,
Peyton

Re: XML refactoring for changing file names to match ID

Posted: Sat Feb 15, 2020 12:28 pm
by Radu
Dear Peyton,

The XML Refactoring feature in Oxygen allows you to internally change XML documents, not to modify the file names of the XML documents.
So I do not have a solution for you using Oxygen utilities, you will probably need to build some custom processing using a programming language or some custom scripting. Maybe you can google for "change file name depending on content".

Regards,
Radu