Home › Forums › General XMetaL Discussion › node list issues/questions › Reply To: node list issues/questions
Reply to: node list issues/questions
May 14, 2009 at 8:47 pmOur DOMNodeList object implements a “live” list. The W3C XPath specification recommends not to do this but doesn’t preclude us from doing it. For XMetaL it was the best solution (there are other features we support involved here that are affected as well).
The property DOMNodeList.length is also “live” and re-evaluates every time the property is accessed (as you have seen).