# File lib/xtemplate/xpath.rb, line 709
    def xpath(path, data, plugin=nil)
      plugin ||= Action.new
      x = value_by_path2(path, data, nil, data, plugin)
      if( x.nil? )
        nil
      else
        case x
        when Array
          x
        else
          [x]
        end
      end
    end