code: private Map<String, String> getNss(Map<String, String> nss, Tag t) {
  		Map<String,String> newnss = null;
  		if(t.attribs!=null) {
  			for(Tag tag : t.attribs) {
  				if("xmlns".equals(tag.prefix)) {
  					if(newnss==null) {
  						newnss = new HashMap<String,String>();
  						if(nss!=null)newnss.putAll(nss);
  					}
  					newnss.put(tag.name, tag.value);
  				}
  			}
  		}
  		return newnss==null?(nss==null?new HashMap<String,String>():nss):newnss;
  	}
docs: getNSS
  
  If the tag contains some Namespace attributes, create a new nss from the passed in one, copy all into it, then add
  This provides Scoping behavior
  
  if Nss is null in the first place, create an new nss, so we don't have to deal with null Maps.
  
  @param nss
  @param t
  @return