Generalize Transform
Posted: Mon Aug 29, 2016 9:38 pm
Hello,
With the previous help from the forums I was able to proceed further in my attempt to "de-specialize" my .dita file.
I used an XSLT transform using the generalize.xsl file in the DITA OT, which works great. However I have a slight modification I would like to perform, and was wondering if anyone knew how to make this change in the transform process.
Currently the tag is setup as follows:
When i perform the transformation, I get:
Is there a way to modify it so I can choose which attributes remain? i.e if I just wanted the output to be as shown below so that it contains no trace of the specialization:
With the previous help from the forums I was able to proceed further in my attempt to "de-specialize" my .dita file.
I used an XSLT transform using the generalize.xsl file in the DITA OT, which works great. However I have a slight modification I would like to perform, and was wondering if anyone knew how to make this change in the transform process.
Currently the tag is setup as follows:
Code: Select all
<step class "- topic/li task/step " id="4552654-154225">inner text</step>
Code: Select all
<li class= "- topic/li task/step " id="4552654-154225">inner text</li>
Code: Select all
<li class= "- topic/li " id="4552654-154225">inner text</li>