Automating assembly of a ditamap
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 30
- Joined: Sat May 04, 2019 5:55 pm
Automating assembly of a ditamap
Post by antoterrence »
Is it possible to automatically build a map without having to create it manually? If you can point me to a direction, that will be great.
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Automating assembly of a ditamap
Hi,
How exactly did you end up with the DITA topics? Did they result from a conversion? Maybe the conversion process could be improved to also generate the DITA Map.
If you create a new DITA Map, save it to disk and open it in the DITA Maps Manager view, you can right click the DITA map root and choose "Append Child->Reference". The dialog which pops up has a file chooser which allows multiple selection so if all your DITA topics are in the same folder you can select them all and topic references will be added to them.
Or you can create an XSLT stylesheet which iterates over all topics in one or multiple folders and adds references to them.
Regards,
Radu
How exactly did you end up with the DITA topics? Did they result from a conversion? Maybe the conversion process could be improved to also generate the DITA Map.
If you create a new DITA Map, save it to disk and open it in the DITA Maps Manager view, you can right click the DITA map root and choose "Append Child->Reference". The dialog which pops up has a file chooser which allows multiple selection so if all your DITA topics are in the same folder you can select them all and topic references will be added to them.
Or you can create an XSLT stylesheet which iterates over all topics in one or multiple folders and adds references to them.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 30
- Joined: Sat May 04, 2019 5:55 pm
Re: Automating assembly of a ditamap
Post by antoterrence »
Thank you for the response. We are not using content from any other source. Let's say we have a list of topics. Can we dynamically create a map using that outline? Also, is it possible to add topics to a map file while publishing content?
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Automating assembly of a ditamap
Hi,
So:
You can probably write in Oxygen a custom XSLT stylesheet which does that.
https://www.oxygenxml.com/doc/versions/ ... -file.html
Regards,
Radu
So:
In what file format is that list of topic references kept?Let's say we have a list of topics. Can we dynamically create a map using that outline?
You can probably write in Oxygen a custom XSLT stylesheet which does that.
The publishing engine is based on ANT build files and maybe you can create your own custom ANT build file to perform various custom operations before the publishing:Also, is it possible to add topics to a map file while publishing content?
https://www.oxygenxml.com/doc/versions/ ... -file.html
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)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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