Rendering and flagging content from all conditions
Posted: Tue Nov 16, 2021 9:17 pm
Hi,
We have single-sourced content for a product for two brands. We conditionalize the content using the product attribute.
A regulatory body wants to see the difference between the manuals that we output for both brands. I am trying a PDF2 build that uses conditional flagging in a ditaval to output a PDF that includes content for both brands and flags the condtionalised content e.g. a purple background for product A content, a red background for Product B content.
I'm running into some issues though. We have conditionalized keyref'd images. In the images keydef map, if Product A is defined before Product B, in the PDF, only Product A will render. An example of the image keydef map in this instance:
<keydef href="ProductA.png" format="png" keys="image1" product="A"/>
<keydef href="ProductB.png" format="png" keys="image1" product="B"/>
I would want both images to render and show the conditional flagging.
Is there any way to achieve this without reworking all my images? Or is there any other way we could provide regulatory with a view of what's different between 2 versions of content?
Thanks
Ronan
We have single-sourced content for a product for two brands. We conditionalize the content using the product attribute.
A regulatory body wants to see the difference between the manuals that we output for both brands. I am trying a PDF2 build that uses conditional flagging in a ditaval to output a PDF that includes content for both brands and flags the condtionalised content e.g. a purple background for product A content, a red background for Product B content.
I'm running into some issues though. We have conditionalized keyref'd images. In the images keydef map, if Product A is defined before Product B, in the PDF, only Product A will render. An example of the image keydef map in this instance:
<keydef href="ProductA.png" format="png" keys="image1" product="A"/>
<keydef href="ProductB.png" format="png" keys="image1" product="B"/>
I would want both images to render and show the conditional flagging.
Is there any way to achieve this without reworking all my images? Or is there any other way we could provide regulatory with a view of what's different between 2 versions of content?
Thanks
Ronan