Migrating from Flare to DITA
Posted: Tue May 29, 2018 7:05 pm
Hi, I've been testing the XHTML to DITA concept transform scenario to migrate Flare topics to DITA. It works well except for the MadCap variables, conditions, and snippets. The end result that the information is stripped-out and replaced with "<required-cleanup remap="variable">".
Apparently, I'm not smart enough to figure out how to edit my copy of the transform scenario so that I can keep the MadCap information in the generated page. Ideally, I'd like to create a <ph> element for each variable, snippet, or condition, with paths to the file that contains the DITA-specific information. For example, I want to take the original
<MadCap:variable name="Product.ProductName" />
and generate something like:
<ph conref="../../../project/variablesets/product.dita#productnames/product"/>
Is there a way to create a template for this?
Apparently, I'm not smart enough to figure out how to edit my copy of the transform scenario so that I can keep the MadCap information in the generated page. Ideally, I'd like to create a <ph> element for each variable, snippet, or condition, with paths to the file that contains the DITA-specific information. For example, I want to take the original
<MadCap:variable name="Product.ProductName" />
and generate something like:
<ph conref="../../../project/variablesets/product.dita#productnames/product"/>
Is there a way to create a template for this?