Creating custom plugin
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 3
- Joined: Wed Jul 26, 2017 1:52 pm
Creating custom plugin
Post by Motionless »
Hello
I'm creating a custom plugin that will convert DITA to a text file. The current issue i'm having is how do i get the data that my XSLT generates based on the dita and push it to the ant file that will create the text file. This thinking process might be wrong. If so can anyone push me in the right direction?
Thanks in advance!
I'm creating a custom plugin that will convert DITA to a text file. The current issue i'm having is how do i get the data that my XSLT generates based on the dita and push it to the ant file that will create the text file. This thinking process might be wrong. If so can anyone push me in the right direction?
Thanks in advance!
-
- Posts: 9445
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Creating custom plugin
Hi,
So you are creating a DITA OT plugin which outputs some text content from DITA, right?
There is a DITA OT plugin which converts DITA to plain text, maybe you should take a look at it:
https://github.com/jelovirt/dita-ot-plu ... .plaintext
Regards,
Radu
So you are creating a DITA OT plugin which outputs some text content from DITA, right?
There is a DITA OT plugin which converts DITA to plain text, maybe you should take a look at it:
https://github.com/jelovirt/dita-ot-plu ... .plaintext
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 3
- Joined: Wed Jul 26, 2017 1:52 pm
Re: Creating custom plugin
Post by Motionless »
Thanks for the fast reply Radu, after some minor issues i got it up and running. But when i transform now the text file is empty?
Regards,
Motionless
Regards,
Motionless
-
- Posts: 9445
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Creating custom plugin
Hi,
It probably depends on what your XSLT stylesheet does. I do not have enough details to help you.
If you zip your plugin and send it to us (support@oxygenxml.com) I could try to help further.
Regards,
Radu
It probably depends on what your XSLT stylesheet does. I do not have enough details to help you.
If you zip your plugin and send it to us (support@oxygenxml.com) I could try to help further.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 3
- Joined: Wed Jul 26, 2017 1:52 pm
Re: Creating custom plugin
Post by Motionless »
I'm using the one provided by troff. Does this have to be my own XSLT?Radu wrote:Hi,
It probably depends on what your XSLT stylesheet does. I do not have enough details to help you.
If you zip your plugin and send it to us (support@oxygenxml.com) I could try to help further.
Regards,
Radu
-
- Posts: 9445
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Creating custom plugin
Hi,
I tested the plugin I indicated and it only works well with the older DITA OT 1.8 distribution. So it seems not to have been tested or updated for DITA OT 2.x.
I also answered you on the Stack Overflow post:
https://stackoverflow.com/questions/453 ... 4#45342914
Regards,
Radu
I tested the plugin I indicated and it only works well with the older DITA OT 1.8 distribution. So it seems not to have been tested or updated for DITA OT 2.x.
I also answered you on the Stack Overflow post:
https://stackoverflow.com/questions/453 ... 4#45342914
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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)
- ↳ 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