Preserve folder structure with Batch Documents Converter
Oxygen general issues.
Preserve folder structure with Batch Documents Converter
I am migrating some markdown content to DITA. The source files are exist within a folder hierarchy, which is obviously important for cross-references, etc.
When invoking the Batch Documents Converter, I am allowed to designate a single "out" folder, into which all transformed documents are placed. However, the folder structure present in the source is lost. This is also problematic because the source markdown content has many duplicate file names that will no longer be unique within a flattened hierarchy.
I do not see a way to retain the source folder structure in my transformed output. Would I be better off creating a DITA map that references all of the markdown content and publish that through DITA-OT instead?
When invoking the Batch Documents Converter, I am allowed to designate a single "out" folder, into which all transformed documents are placed. However, the folder structure present in the source is lost. This is also problematic because the source markdown content has many duplicate file names that will no longer be unique within a flattened hierarchy.
I do not see a way to retain the source folder structure in my transformed output. Would I be better off creating a DITA map that references all of the markdown content and publish that through DITA-OT instead?
-
- Site Admin
- Posts: 123
- Joined: Wed Dec 12, 2018 5:33 pm
Re: Preserve folder structure with Batch Documents Converter
Post by Cosmin Duna »
Hi,
Unfortunately, the add-on doesn't take into account the folder hierarchy of the input files. I registered an internal issue to improve it and keep the child folder hierarchy in the output directory when an input directory is chosen in the conversion dialogue.
Best regards,
Cosmin
Unfortunately, the add-on doesn't take into account the folder hierarchy of the input files. I registered an internal issue to improve it and keep the child folder hierarchy in the output directory when an input directory is chosen in the conversion dialogue.
Maybe you can apply multiple conversions for each directory that contains markdown files and set this first parent directory as an output folder.I do not see a way to retain the source folder structure in my transformed output
Yes, it may be a solution, but in this case, you will not migrate these files to DITA, and they will dynamically convert when you publish this DITA map.Would I be better off creating a DITA map that references all of the markdown content and publish that through DITA-OT instead?
Best regards,
Cosmin
Cosmin Duna
<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