dita

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 "

XSL 2.0 Transform XML files while preserving folder structure

纵饮孤独 提交于 2019-12-11 04:17:54
问题 I have the following XSL to transform a bunch of XML files from one format to another. The transformation is working fine though I have two issues unresolved so far: 1) First when transforming the files I need to adjust my parameter in the style sheet to target only files that have names longer than 7 characters; 2) Secondly, I need to be able to transform all the files while preserving the folder structure of the source files. I was wondering if there is way to preserve the same folder

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