Word to Oxygen conversion mapping - element hierarchy definition issues
Posted: Wed Sep 11, 2024 6:57 pm
Hi everyone,
I'm new to Oxygen.
I'm currently testing the Word to DITA conversion feature.
The current issues I'm having:
- All numbered list items are numbered as Step 1. I see there is some default mapping of ordered lists to ol > li:fresh and I haven't added any custom mapping.
- If there is a code example inside a numbered list item, Oxygen parses the list and the code example as independent elements, so that instead of having:
<ol>
<li>Lorem ipsum
<pre>Code example goes here<pre>
</li>
</ol>
I get:
<ol>
<li>Lorem ipsum
</li>
</ol>
<pre>Code example goes here</pre>
In the mapper I've tried mapping the Word Code style to "ol | ul > li > pre" but the mapper throws an error.
Please, advise what is the right way to resolve the 2 issues I've mentioned.
Thank you in advance!
I'm new to Oxygen.
I'm currently testing the Word to DITA conversion feature.
The current issues I'm having:
- All numbered list items are numbered as Step 1. I see there is some default mapping of ordered lists to ol > li:fresh and I haven't added any custom mapping.
- If there is a code example inside a numbered list item, Oxygen parses the list and the code example as independent elements, so that instead of having:
<ol>
<li>Lorem ipsum
<pre>Code example goes here<pre>
</li>
</ol>
I get:
<ol>
<li>Lorem ipsum
</li>
</ol>
<pre>Code example goes here</pre>
In the mapper I've tried mapping the Word Code style to "ol | ul > li > pre" but the mapper throws an error.
Please, advise what is the right way to resolve the 2 issues I've mentioned.
Thank you in advance!