CM_Dom_NodeList: Return empty attribute list for text nodes