<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi, <br>
I'm sorry, but currently, the add-on does not support setting an
additional XSLT processing file. We do have an internal issue
logged for this and I've added your feedback to it to help
prioritize it. <br>
As you suggested, the only workaround at the moment is to
post-process the resulting DITA documents using a custom
refactoring operation, like in this example:
<a class="moz-txt-link-freetext" href="https://blog.oxygenxml.com/topics/migrating_word_to_dita_bdc/frequently_asked_questions.html#word-to-dita-frequently-asked-questions__how-to-configure-mapping-when-wanted-element-doest-exist-in-html">https://blog.oxygenxml.com/topics/migrating_word_to_dita_bdc/frequently_asked_questions.html#word-to-dita-frequently-asked-questions__how-to-configure-mapping-when-wanted-element-doest-exist-in-html</a><br>
<br>
Regarding the issue with the image being outside the fig element,
I was unable to replicate this problem. The resulting DITA
document should look like this:<br>
<tt> <fig id="figureID-figure_flower"></tt><tt><br>
</tt><tt> <title>Figure Flower</title></tt><tt><br>
</tt><tt> <image href="media-image/image1.jpg"></tt><tt><br>
</tt><tt> <alt>A white flower with yellow
center.</alt></tt><tt><br>
</tt><tt> </image></tt><tt><br>
</tt><tt> </fig></tt><br>
Could you please provide us with a sample where this problem
occurs?<br>
<br>
Best regards,<br>
Cosmin</p>
<pre class="moz-signature" cols="72">--
Cosmin Duna
Oxygen XML Editor</pre>
<div class="moz-cite-prefix">On 12-Feb-24 4:14 PM, Jirka Kosek
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1408533352.01707747482925.JavaMail.alg@alg">Hi,
<br>
<br>
we are using Batch Document converting Add-on on one project to
convert Word files into DITA content. I'm wondering if there is
any way how to customize conversion process in a more complex way
than just by mapping Word styles into HTML elements that are later
mapped into DITA (as described at
<a class="moz-txt-link-freetext" href="https://www.oxygenxml.com/doc/versions/26.0/ug-editor/topics/batch-converter-addon.html">https://www.oxygenxml.com/doc/versions/26.0/ug-editor/topics/batch-converter-addon.html</a>).<br>
<br>
Examples of things we would like to customize:
<br>
<br>
* Grouping of generated DITA elements. For example Word figure
with caption is by default converted to two paragraphs -- one with
image and the second with caption. We can map Caption style to
"figure > figcaption" but this will generate DITA figure only
with title, image itself will be in the previous paragraph. If we
could run simple XSLT on the result it should be possible to
automatically fix such output to create valid and more
semantically rich DITA.
<br>
<br>
* We need to create DITA Bookmap not plain DITA Map from one Word
file. So having ability to run custom XSLT that woudl transform
map into bookmap would help us a lot.
<br>
<br>
Of course we can implement this as an additional post-processing
step but if there is some existing integration point I've missed
it would be much easier for users just to invoke conversion from
the menu.
<br>
<br>
Many thanks in advance,
<br>
<br>
Jirka
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
oXygen-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">
</pre>
</body>
</html>