Sets attributes of the xlink namespace for the given element.
xlink
Attributes already set before will be overwritten.
This method is typically used in toData mapping.
toData
the elemant to set the attributes at
the key-value pairs of attributes to set
if to ignore entries with empty values or not; default: true
true
setXLinkAttributes(element, { // empty: Ignored, if allowEmpty=false "title": "", "href": "https://example.org/"}); Copy
setXLinkAttributes(element, { // empty: Ignored, if allowEmpty=false "title": "", "href": "https://example.org/"});
Sets attributes of the
xlinknamespace for the given element.Attributes already set before will be overwritten.
This method is typically used in
toDatamapping.