rem: getParam: function(items, separator, context, tag, id, klass, attribute, pseudo){ 
add: getParam: function(items, separator, context, tag, id, className, attribute, pseudo){ 
context: 	getParam: function(items, separator, context, tag, id, klass, attribute, pseudo){		var temp = context.namespaceURI ? 'xhtml:' : '';		switch(separator){			case '~': case '+': temp += '/following-sibling::'; break;			case '>': temp += '/'; break;			case ' ': temp += '//';		}		temp += tag;		if (separator == '+') temp += '[1]';		if (pseudo){			pseudo = DOM.parsePseudo(pseudo);			switch(pseudo.name){				case 'nth':					var nth = '';					switch(pseudo.params[2]){						case 'n': nth = 'mod ' + pseudo.params[1] + ' = ' + pseudo.params[3]; break;						case 'odd': nth = 'mod 2 = 1'; break;						case 'even': nth =  'mod 2 = 0'; break;						case false: nth = '= ' + pseudo.params[1];					}					temp += '[count(preceding-sibling::*) ' + nth + ']';				break;			}		}		if (id) temp += '[@id="' + id + '"]';		if (klass) temp += '[contains(concat(" ", @class, " "), " ' + klass + ' ")]';		if (attribute){			attribute = attribute.match(DOM.aRegExp);			if (!attribute) throw new Error('bad attribute selector');			if (attribute[2] && attribute[3]){				switch(attribute[2]){					case '=': temp += '[@' + attribute[1] + '="' + attribute[3] + '"]'; break;					case '*=': temp += '[contains(@' + attribute[1] + ', "' + attribute[3] + '")]'; break;					case '^=': temp += '[starts-with(@' + attribute[1] + ', "' + attribute[3] + '")]'; break;					case '$=': temp += '[substring(@' + attribute[1] + ', string-length(@' + attribute[1] + ') - ' + attribute[3].length + ' + 1) = "' + attribute[3] + '"]'; break;					case '!=': temp += '[@' + attribute[1] + '!="' + attribute[3] + '"]'; break;					case '~=': temp += '[contains(concat(" ", @' + attribute[1] + ', " "), " ' + attribute[3] + ' ")]';				}			} else {				temp += '[@' + attribute[1] + ']';			}		}		items.push(temp);		return items;	},
meta: 5237	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5237/549ec3e26f3c682cc65f7a00decf603a24b0a2e0/Element.Selectors.js/clean/Element/Element.Selectors.js