# File lib/xml/dom2/element.rb, line 370 def _getIDVals(ids = nil) if ids.nil? doc = ownerDocument return [] if doc.nil? ids = doc._getIDAttrs end idelem = [] if !ids[nodeName].nil? return attributes._getValues(ids[nodeName]) elsif !ids['*'].nil? return attributes._getValues(ids['*']) end return [] end