XML to XML transformation with Feature Differentiation (ditaval)

B-E-N
Posts: 97

XML to XML transformation with Feature Differentiation (ditaval)

Tue Apr 11, 2017 2:05 pm

Hello,

we have a large documentation project that includes different products and therefor a lot of feature differentiation.

Now we want to release the smallest product out of this project and need to translate it first. The problem is that we don't want to translate every topic of the whole project but only the topics and elements that apply to the smallest product.

Is it possible to have an XML (out DITA topics) to XML (also DITA topics) transformation that outputs only a certain feature differentiation? So only our small product. We could then import this smaller batch of XML topics into our translation memory system (memoQ).

I couldn't find any XML to XML transformation in Oxygen for my use case. Does anybody have a recommendation on how to achieve a filtered DITA XML output?
Radu
Posts: 5221

Re: XML to XML transformation with Feature Differentiation (ditaval)

Tue Apr 11, 2017 2:55 pm

Hi,

There is a DITA OT plugin called "normalize":

https://github.com/dita-ot/org.dita.normalize


we ship it with the latest Oxygen 19.0 but you can also install and use it separately. But it will not generate the content exactly as it was before, the DOCTYPE declaration will be missing + various other changes as well.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
B-E-N
Posts: 97

Re: XML to XML transformation with Feature Differentiation (ditaval)

Thu Apr 13, 2017 10:55 am

Thank you for the suggestion. This is not exactly what we where hoping for. We will try to solve this differently.
Aliahc
Posts: 12

Re: XML to XML transformation with Feature Differentiation (ditaval)

Wed Apr 19, 2017 3:46 pm

Forgive me if I'm being naive; but isn't what is being described by B-E-N a case of applying conditional profiling?

For example, whether at topic level or content-level, you apply metadata (e.g. product attribute) to be either larger product, smaller product or [larger product smaller product] such that it is an OR action for the content to apply to both products should allow filtering in publishing.

I am currently doing that for different documents using different depths of the same content; i.e. a user guide, a tutorial, a quickstart reference - all having overlapping content, but do have slight differences that can be caught by such profiling.

Is this not essentially what is being described?
Radu
Posts: 5221

Re: XML to XML transformation with Feature Differentiation (ditaval)

Wed Apr 19, 2017 3:49 pm

Hi,

From what I understand he wants to apply profiling but he wants to obtain DITA content in the output folder in order to give that content to the translators.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
B-E-N
Posts: 97

Re: XML to XML transformation with Feature Differentiation (ditaval)

Thu Apr 20, 2017 10:24 am

Radu is right.

We'd like to have the same topics but only with the content of a certain feature differentiation. DITA to DITA so to say. Or XML to XML.

The XHTML output, for example, resolves all variables and related links. This is not what we want. We want to stick remain an XML source to give to the translators and afterwards use those filtered, translated XML files to build our documents (PDF and WebHelp).

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

Who is online

Users browsing this forum: No registered users and 4 guests