Flagging using specialized conditional attributes
Posted: Wed May 25, 2016 7:21 pm
Hi, I'm new to dita and text tranformation but I got a very interessting project where I want to use it.
I defined some custom attributes by specializing the @props attribute (I followed the guide given in http://drmacros-xml-rants.blogspot.de/2 ... ional.html).
The attributes work i.e. include / exclude results in the corresponding elements to be part / not part of the text transformed. Transformation is controlled using a DITAVAL file.
When changing the action from "include" to "flag" the alternative text (defined in <alttext> within the <startflag> element) does not appear.
The predefined attributes work well using the "flag" action (e.g. @audience) but the attribute that is defined in the same way as the custom attributes (@deliveryTarget) doesn't either behave as specified.
I don't have a clue how to get the flagging mechanism work. Does anybody have an idea? Thanks in advance
I defined some custom attributes by specializing the @props attribute (I followed the guide given in http://drmacros-xml-rants.blogspot.de/2 ... ional.html).
The attributes work i.e. include / exclude results in the corresponding elements to be part / not part of the text transformed. Transformation is controlled using a DITAVAL file.
When changing the action from "include" to "flag" the alternative text (defined in <alttext> within the <startflag> element) does not appear.
The predefined attributes work well using the "flag" action (e.g. @audience) but the attribute that is defined in the same way as the custom attributes (@deliveryTarget) doesn't either behave as specified.
I don't have a clue how to get the flagging mechanism work. Does anybody have an idea? Thanks in advance
