XML refactoring for changing file names to match ID
Oxygen general issues.
-
- Posts: 20
- Joined: Mon Aug 04, 2014 5:18 pm
XML refactoring for changing file names to match ID
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
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
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: XML refactoring for changing file names to match ID
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
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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service