[Jslib] Re: RDF classes

Eric Plaster plaster@visi.com
Mon, 11 Feb 2002 16:57:47 -0600


Martin Kutschker wrote:

> Eric Plaster wrote:
> 

>> This was a sticky problem that someone with more js experience might 
>> help with.  I didn't have a good way to determine if it was an 
>> absolute or not (without using a magic path like we did in the past - 
>> yuck). Perhaps adding these method are the answer.  In C++ I would do 
>> something like this:
>>
>>    bool addNode( char *nodename, bool absolute = false );
> 
> 
> 
> Well, that is rather easy.
> 
> function (aNode, aAbsolute) {
> if (aAbsolute) { // will trigger if not null and not eqal 0
>   ...
> }
> 


Hmmm...  I knew that...  There had to have been more to the story.  I'll 
take a look at it again.  Perhaps I just forgot to add it in.

-eric