[Jslib] Re: rdf and jslib
Pete Collins
pete@mozdev.org
Thu, 20 Feb 2003 14:15:06 -0500
Carl Tanner wrote:
> Hi. I am working on an interface that would show detail behind an
> account number and I thought I might be able to do it with a tree that
> uses a dynamically generated rdf. Could I use jslib to change the rdf
> requested by the tree? Example: it would change the tree's datasources
> value:
> from http://domain.com/foo.rdf?acct=123
> to http://domain.com/foo.rdf?acct=6789
>
> What do you think? Can jslib help me with this?
Hey Carl, thanks for the querry. I don't thing the rdf code in jslib
will change the datasource for you but i'm not entirely sure.
The interface that loads remote datasources is "nsIRDFRemoteDataSource".
http://lxr.mozilla.org/seamonkey/source/rdf/base/idl/nsIRDFRemoteDataSource.idl
I didn't write the rdf code in jslib so can be of much help. I will be
working on that code sometime in the future.
Thanks
--pete