Store attribute positions on the element node instead of attribute node.