class REXML::Text

def xpath

This probably won't work properly
FIXME
def xpath
  path = @parent.xpath
  path += "/text()"
  return path
end