[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mozilla-rdf
Subject:    Re: How do you get a URI from a Resource using JS?
From:       "Will Sargent" <will_sargent () yahoo ! com>
Date:       2001-03-21 10:32:25
[Download RAW message or body]

> > I'm trying to find all the triples that belong to a Resource (so I can
> > see what belongs to a Folder). I can't seem to find how I can get at a
> > resource's URI value. I've looked at the IDL and it doesn't seem to
> > have a value for it.
>
> I don't know if this helps but the code in msgMail3PaneWindow.js appears
> to get the URI from a Folder by QIing it to an nsIRDFResource and
> reading its .Value.

Yeah, that's what I thought I was doing.  I suppose krBookmarksRoot must
have a URI
which is "undefined".  Wierd.

Oh well -- anyone have any idea what the resource URI is for a folder's
child nodes?

Will.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic