Home Forums General XMetaL Discussion node list issues/questions Reply To: node list issues/questions

Derek Read

Reply to: node list issues/questions

Our 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).

Reply

Products
Downloads
Support