code: public Map getVariables(String attribute) {
  	Bindings binds = rslTree.getBindings(attribute);
  	if (binds == null) return null;
          List values = binds.getValues();
          Map map = new HashMap();
          Iterator iter = values.iterator();
  	Binding binding;
          while( iter.hasNext() ) {
              binding = (Binding)iter.next();
  	    map.put(binding.getName(),
  		    binding.getValue().getCompleteValue());
          }
          return map;
      }
docs: Returns a variable name/value pair map of variable definitions.
  Currently specified by the 'rsl_substitution' attribute.
  
  @param attribute the attribute that defines variables. Currently,
  only 'rsl_substitution' is supported.
  @return a variable name/value pair map. Null, if there is no
  definitions for a specified attribute.