rem: $("virtual-sensor[@name="+vsName+"]",data).each(function(){ GSN.vsbox.update($(this)); }); 
add: $("field",vs).each(function(){ name = $(this).attr("name"); type = $(this).attr("type"); value = $(this).text();  if (name=="timed") { if (value != "") value = GSN.util.printDate(value); $("span.timed", vsd).empty().append(value); return; }  if (type=="predicate") dl = static; else $(struct).append($.DT({},name),$.DD({"class":name},type));   if (value == "") { value = "null"; } else if (type.indexOf("svg") != -1){ value = '<embed type="image/svg+xml" width="400" height="400" src="'+value+'" PLUGINSPAGE="http: } else if (type.indexOf("image") != -1){ value = '<img src="'+value+'" alt="error" />'; } else if (type.indexOf("binary") != -1){ value = '<a href="'+value+'">download <img src="style/download_arrow.gif" alt="" /></a>'; } $(dl).append('<dt>'+name+'</dt><dd class="'+name+'">'+value+'</dd>'); }); 
context: 			$("virtual-sensor[@name="+vsName+"]",data).each(function(){					GSN.vsbox.update($(this));			});
meta: 37	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/37/a31d85d853a22365f10afdb759fbbb8cd6f2df29/gsn.js/buggy/webapp/js/gsn.js