We could bind to created nodes and update them to match their DimDom object when the DimDom object is altered. For changing something like the name or namespace, would probably have to remove the children, create a new element, then re-add the children. Or we could just make those properties read-only.
Might want to make something like this opt-in, since someone might not want to use it - e.g. because of the extra overhead or they are using the same DimDom instance to "stamp-out" multiple cookie-cutter element structures.
We could bind to created nodes and update them to match their DimDom object when the DimDom object is altered. For changing something like the name or namespace, would probably have to remove the children, create a new element, then re-add the children. Or we could just make those properties read-only.
Might want to make something like this opt-in, since someone might not want to use it - e.g. because of the extra overhead or they are using the same DimDom instance to "stamp-out" multiple cookie-cutter element structures.