bluk DITA-to-Json conversion
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 18
- Joined: Tue Jun 11, 2019 9:01 pm
bluk DITA-to-Json conversion
Post by jeff_hooker »
Hi folks,
I've got a team who wants to convert an immense volume of DITA content into Json for the purposes of using it for a machine learning project. Is there a way of accessing the DITA-to-Json tool from the command line?
Thanks,
Jeff.
I've got a team who wants to convert an immense volume of DITA content into Json for the purposes of using it for a machine learning project. Is there a way of accessing the DITA-to-Json tool from the command line?
Thanks,
Jeff.
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Re: bluk DITA-to-Json conversion
Post by chrispitude »
Hi Jeff,
If you have a license for Oxygen Scripting, you can run it from the command line as described here:
Scripting Oxygen > Batch Converter
The usage given is as follows:
If you have a license for Oxygen Scripting, you can run it from the command line as described here:
Scripting Oxygen > Batch Converter
The usage given is as follows:
Code: Select all
sh scripts/batchConverter.sh -i inputFiles -if inputFormat -o outputDirectory
-of outputFormat [-ss (true|false)] [-csd (true|false)] [-cs converterSettingsFile]
-
- Posts: 163
- Joined: Mon Nov 24, 2014 1:49 pm
- Location: Greven/Germany
Re: bluk DITA-to-Json conversion
You can also write your own transformation type and publish the content to JSON. After preprocessing you have a merged XML file and it should be quite easy to convert this to JSON with Saxon. If you don't know how to do it, you can ask a DITA consultant.
stefan-jung.org – Your DITA/DITA-OT XML consultant
Return to “DITA (Editing and Publishing DITA Content)”
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