rem: all_panels.setAttribute('ref', 'urn:blah:main-root'); 
context: function add_datasource_to_other_panels(link) {  // Convert the |link| attribute into a URL  var url = document.location;  debug("Current URL:  " +url);  debug("Current link: " +link);  uri = Components.classes['component://netscape/network/standard-url'].createInstance();  uri = uri.QueryInterface(Components.interfaces.nsIURI);  uri.spec = url;  uri = uri.resolve(link);  debug("New URL:      " +uri);    // Add the datasource to the tree  var all_panels = document.getElementById('other-panels');  all_panels.database.AddDataSource(RDF.GetDataSource(uri));  // XXX This is a hack to force re-display  all_panels.setAttribute('ref', 'urn:blah:main-root');}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/77165b2fb8f1770845e7126355de3d9330d22f3a/customize.js/clean/xpfe/components/sidebar/resources/customize.js