Transforms xlink:show to data-xlink-show. Note that this should only
be used in scenarios where the corresponding HTML element in the data view
does not provide an attribute to handle the xlink:show value.
Example where to use this mapper: For the <img> element, we cannot
directly map xlink:show to any other attribute. Note, though, that for
CoreMedia RichText 1.0 DTD the value of xlink:show is fixed to embed.
Thus, we only store the attribute for consistency in the data view.
Example where not to use this mapper: For the <a> element, we decided
to map the xlink:show along with the xlink:role attribute to some
target. Thus, for anchor elements, there is no need for using this mapper, as
the information is stored elsewhere.
Transforms
xlink:show
todata-xlink-show
. Note that this should only be used in scenarios where the corresponding HTML element in the data view does not provide an attribute to handle thexlink:show
value.Example where to use this mapper: For the
<img>
element, we cannot directly mapxlink:show
to any other attribute. Note, though, that for CoreMedia RichText 1.0 DTD the value ofxlink:show
is fixed toembed
. Thus, we only store the attribute for consistency in the data view.Example where not to use this mapper: For the
<a>
element, we decided to map thexlink:show
along with thexlink:role
attribute to sometarget
. Thus, for anchor elements, there is no need for using this mapper, as the information is stored elsewhere.