Apply a transformation in the dita source
Posted: Thu Aug 11, 2022 12:43 pm
Hello,
I recently stumbled upon a difficulty where I wanted to modify the display of a title to concatenate it with a metadata value.
I succeeded in doing it by using a template to override the HTML5 transformation, however it finally seems in my case that my publishing platform resolves the title of the publication from the map source and doesn't apply my transformation for this element.
Basically, to make it a little more understandable:
Locally -> HTML5 output -> title.vrm_version_prodname = OK
SaaS-platform -> the title is not taken from the HTML5 output but from the XML source. Title remains "title"
The only solution I have would be to modify on the fly the XML source of the map in the temp folder, i.e, during the transformation applying the concatenation transformation not for an HTML5 output but for DITA source.
Is there any way to achieve this?
I recently stumbled upon a difficulty where I wanted to modify the display of a title to concatenate it with a metadata value.
I succeeded in doing it by using a template to override the HTML5 transformation, however it finally seems in my case that my publishing platform resolves the title of the publication from the map source and doesn't apply my transformation for this element.
Basically, to make it a little more understandable:
Locally -> HTML5 output -> title.vrm_version_prodname = OK
SaaS-platform -> the title is not taken from the HTML5 output but from the XML source. Title remains "title"
The only solution I have would be to modify on the fly the XML source of the map in the temp folder, i.e, during the transformation applying the concatenation transformation not for an HTML5 output but for DITA source.
Is there any way to achieve this?