Method: XML::DOM::NamedNodeMap#_getValues

Defined in:
lib/xml/dom/core.rb,
lib/xml/dom2/namednodemap.rb

#_getValues(names) ⇒ Object

get nodeValues by names

names ::= name ('|' name)*


1196
1197
1198
1199
1200
1201
1202
1203
1204
# File 'lib/xml/dom/core.rb', line 1196

def _getValues(names)
  ret = []
  names.split('|').each do |name|
    if !@nodes[name].nil?
      ret.push(@nodes[name].nodeValue)
    end
  end
  ret
end