backplane-import/backplanejs — Issue #75: Replace use of dot syntax with get/setAttribute() when handling MIPs
Author: backplane-import
Created: 2011-10-15 03:15:04+00:00
State: open

### Imported from backplanejs Google Code [issue 75](http://code.google.com/p/backplanejs/issues/detail?id=75).

Reporter
markbirbeck

Date
15 Jul 2010 3:30:38 PM UTC

In various situations we set additional attributes on DOM nodes so that we can track things like Model Item Properties (or MIPs).

Most of the code to do this uses the 'dot syntax', as follows:

doc.firstChild.m_proxy

This works across the board in Ajaxslt because the DOM is in JavaScript. But as we try to switch to native XML DOM support we're finding that not all browsers support this technique.

We should therefore use standard W3C DOM techniques for assigning and reading values so that this works in all browsers.