xml - Creating custom Dita plugin for Oxygen Author -
i need create custom plugin takes dita file , converts txt file. issue i'm having how contents xslt generates dita map , push ant file creates txt file. thinking process can wrong. if how done normally. push me in right direction?
thanks in advance!
there open source plugin converting dita topics plain text:
https://github.com/jelovirt/dita-ot-plugins/tree/master/com.github.dita-ot-plugins.plaintext
but plugin tested , works older dita ot 1.8. helpful starting point. can create own xslt stylesheet gets applied on each topic generate text.
if want generate single text file entire dita map contents, can @ how open source plugin creates single merged xml document entire dita map contents:
https://github.com/oxygenxml/dita-merged
after merged file created can create , apply own xslt processing on merged xml file produce text document.
i'm linking original post on oxygen xml forum: https://www.oxygenxml.com/forum/viewtopic.php?f=20&t=14773&p=43577#p43570
you did not use case. example there popular dita ot 2.x plugin converting dita content markdown:
Comments
Post a Comment