Topic refactoring from task > topic and vice versa

JAM1970
Posts: 2

Topic refactoring from task > topic and vice versa

Mon Oct 30, 2017 2:02 pm

When refactoring a task topic to concept, the <cmd> element remains, making the topic invalid.
Furthermore, when converting back to a task, the <ol> is not converted to <steps> and <li> not to <step>. Additionally, the "procedure" is wrapped in the <context> element.
I was hoping that this was a known issue, but I can't see anything similar in the forum.
sorin_carbunaru
Site Admin
Posts: 111

Re: Topic refactoring from task > topic and vice versa

Mon Oct 30, 2017 5:38 pm

Hello,

Thank you for the feedback! I will add an issue with your observations to see what can be done.

If you are familiar with XSLT, perhaps you can customize the stylesheets yourself. They can be found at [oXygen_dir]\frameworks\dita\refactoring\dita-files-conversion-stylesheets.

One last thing: if you are not satisfied with one conversion, instead of perform another one in the other direction, you can just perform an undo. This way you will get the exact structure you had before the conversion. And instead of directly finishing a conversion, you can always generate a preview to see if everything is alright.

Regards,
Sorin Carbunaru
oXygen XML
JAM1970
Posts: 2

Re: Topic refactoring from task > topic and vice versa

Mon Oct 30, 2017 6:19 pm

Yes, I am aware of these options. However, this was supposed to be a major feature in the release. Shame.
sorin_carbunaru
Site Admin
Posts: 111

Re: Topic refactoring from task > topic and vice versa

Tue Oct 31, 2017 10:14 am

Hello again,

Sorry for the inconvenience! We have already analyzed the issue and we will try to include a fix in the next maintenance kit (probably 6 weeks from now, or so).

Sorin C.
Radu
Posts: 5100

Re: Topic refactoring from task > topic and vice versa

Thu Nov 02, 2017 2:55 pm

Hi,

About your requests:

When refactoring a task topic to concept, the <cmd> element remains, making the topic invalid.


This is a clear situation and we'll work to fix it, I will update the forum thread when it happens.

Furthermore, when converting back to a task, the <ol> is not converted to <steps> and <li> not to <step>. Additionally, the "procedure" is wrapped in the <context> element.


Could you post a small sample DITA topic with how the content looks before the conversion and how you would like to look after it?

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Return to “DITA (Editing and Publishing DITA Content)”

Who is online

Users browsing this forum: Bing [Bot] and 2 guests