dita-ot

XSLT fails to transform DITA into new type

若如初见. 提交于 2020-04-30 10:32:36
问题 I have an xml as following: <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE concept SYSTEM "aimlDomain.dtd"> <?xml-stylesheet type="text/xsl" href="aimlTest.xsl"?> <concept> <category> <pattern>_ TOPIC ELEMENT ATTRIBUTE</pattern> <template><srai>REQUIRED TOPIC AND MAP ELEMENT ATTRIBUTES</srai> </template> </category> <category> <pattern>TOPIC ELEMENT ATTRIBUTE _</pattern> <template><srai>REQUIRED TOPIC AND MAP ELEMENT ATTRIBUTES</srai> </template> </category> </concept> The element category

Is it possible that a directory copied and pasted to a particular directory using XHTML plugin in DITA OT 1.8.5

怎甘沉沦 提交于 2020-01-06 15:17:33
问题 Is it possible that a directory or a file copying from 'resource' folder in org.dita.xhtml to out put folder generated by the XHTML DITA OT transform. If its possible using xsl changes in plugin its possible means provide me the code. Any other way is there means please guide me the steps to do. Please assist me. 回答1: You should use the depend.preprocess.post extension point, or another one that fits your needs, to call a new Ant target. plugin.xml <plugin id="com.example.extendchunk">

Is it possible to pass custom ANT parameters into custom plugin with DITA-OT?

一笑奈何 提交于 2019-12-23 04:09:43
问题 I have created DITA-OT PDF plugin that works good and like it should. Next step is to pass ANT parameters into my custom plugin's overriding XSLT files. As you can see this extends pdf2 plugin processing and I have custom stylesheets which are working. Here is documentation about how to do this. This works for default plugins (pdf2, xhtml. etc) http://dita-ot.github.io/1.8/dev_ref/plugin-xsltparams.html But when I try to do the same trick for my own plugin I never can run integration through.

Guide lines for chunk=“to-content”

梦想的初衷 提交于 2019-12-11 07:28:41
问题 I am using chunk="to-content" in topichead tag like below to generate merged topic html file using DITA OT 1.8.5 Plugin org.dita4publishers.html2 plugin then its generating Chunk363995000.html output My ditamap file <map> <title>Directory</title> <topichead chunk="to-content"> <topicmeta class="- map/topicmeta "><navtitle>Details</navtitle></topicmeta> <topicref class="- map/topicref " href="dita1.xml"/> <topicref class="- map/topicref " href="dita2.xml"/> <topicref class="- map/topicref "

Custom XHTML plugin creation index.html not effecting

坚强是说给别人听的谎言 提交于 2019-12-02 20:59:16
问题 I have created the custom xhtml plugin like this my plugin.xml code is <?xml version="1.0" encoding="UTF-8"?> <!-- This file is part of the DITA Open Toolkit project. See the accompanying license.txt file for applicable licenses. --> <plugin id="com.custom.xhtml"> <!-- extensions --> <feature extension="dita.xsl.xhtml" file="xslhtml/dita2xhtml.xsl"/> <feature extension="dita.conductor.transtype.check" value="xhtml-custom" type="txt"/> <feature extension="dita.conductor.target.relative" file=

Custom XHTML plugin creation index.html not effecting

蹲街弑〆低调 提交于 2019-12-02 09:30:00
I have created the custom xhtml plugin like this my plugin.xml code is <?xml version="1.0" encoding="UTF-8"?> <!-- This file is part of the DITA Open Toolkit project. See the accompanying license.txt file for applicable licenses. --> <plugin id="com.custom.xhtml"> <!-- extensions --> <feature extension="dita.xsl.xhtml" file="xslhtml/dita2xhtml.xsl"/> <feature extension="dita.conductor.transtype.check" value="xhtml-custom" type="txt"/> <feature extension="dita.conductor.target.relative" file="build.xml"/> <!-- change value to match your custom transtype --> </plugin> build.xml code is <?xml