Hi,

I have a few <tree/> elements in my extension whose datasource is an
RDF file. I use nsIRDFService.GetDataSourceBlocking(datasourceURI) to
populate some of the trees and tree.database.AddDataSource() to
populate the others. I'm trying to delete and re-write the underlying
RDF, but can't find any way to do it.

When I try to overwrite the datasource file, nothing happens -- no
exception or "file in use" error. I try
tree.database.RemoveDataSource(datasource) first, too, and still no
luck. I'm looking for a way to refresh the entire <tree/> with a brand
new RDF file.

Anyone know how to do this, or an extension which already does it? I'm
downloading the new RDF from a remote FTP server and overwriting the
current one.

Thank you for any ideas,
Eric Jung


        
                
__________________________________ 
Yahoo! for Good - Make a difference this year. 
http://brand.yahoo.com/cybergivingweek2005/
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to