class XMLScan::XPath::DOM::ParentNodeAdapter

Public Instance Methods

string_value() click to toggle source
# File lib/xml/dom2/xpath.rb, line 109
def string_value
  dst = ''
  stack = @node.childNodes.to_a.reverse
  while node = stack.pop
    s = node.nodeValue
    dst << s if s
    stack.concat node.childNodes.to_a.reverse
  end
  dst
end