Re: storing in-memory RDF

pawel <[email protected]> Thu, 12 Jul 2007 17:01:52 +0200
Newsgroups gmane.comp.mozilla.devel.rdf
Message-ID <[email protected]>
Neil wrote:
> [email protected] wrote:
> 
>> Could You explain me how to get to RDF created by XUL file loaded to 
>> chrome.
> 
> Not sure what you're trying to achieve, but if you use RDF.GetDataSource 
> with a file URL and then modify the RDF you can update the file by 
> calling 
> ds.QueryInterface(Components.interfaces.nsIRemoteDataSource).Flush();
> 
hi,
I'm trying to write simple RAD IDE app for XUL.I've found problem how to 
flush XUL back to file.
let's take 2 files main_ide.xul and app.xul.
problem is how or can i open app.xul to app_RDF and main_ide_RDF created 
from main_ide.xul. Next those two RDF (app_RDF and main_ide_RDF i'd like 
to aggregate in one app).After all i'd like to flush back part of RDF 
tree which belongs to app_RDF back to app.XUL.
Does it clear what i'm trying to achieve?

	Regards
		pawel