I have an element that possesses an attribute whose value is bound to a knockout observable:
<text transform='matrix(1 0 0 1 1 1)' data-bind='attr:{transform:textTransform}'></text>
When the element loads I'd like the observable to contain the value defined on the dom element, however it instead loads as undefined and the attribute is removed from the dom element alltogether:
<text data-bind='attr:{transform:textTransform}'></text>
Is it possible to initialize the value of a knockout observable from a dom element attribute and persist the value of the dom element attribute as well?
UPDATE: http://jsfiddle.net/5Z2SC/10/