rem:   var link = sourceDS.GetTarget(target, NC_LINK, true); link = link.QueryInterface(Components.interfaces.nsIRDFLiteral);  urnID++; resultsDS.Assert(RDF_ROOT, RDF.GetResource("http: RDF.GetResource("urn:" + urnID), true); resultsDS.Assert(RDF.GetResource("urn:" + urnID), RDF.GetResource("http: name, true); resultsDS.Assert(RDF.GetResource("urn:" + urnID), RDF.GetResource("http: link, true); 
add: var urn = RDF.GetAnonymousResource(); resultsDS.Assert(urn, NC_NAME, name, true); resultsDS.Assert(urn, NC_LINK, link, true); resultsDS.Assert(RDF_ROOT, NC_CHILD, urn, true); 
context: function doFindOnSeq(resultsDS, sourceDS, resource, level) {  // load up an RDFContainer so we can access the contents of the current rdf:seq.        RDFContainer.Init(sourceDS, resource);    var targets = RDFContainer.GetElements();    while (targets.hasMoreElements()) {    var target = targets.getNext();        target = target.QueryInterface(Components.interfaces.nsIRDFResource);        var name = sourceDS.GetTarget(target, NC_NAME, true);        name = name.QueryInterface(Components.interfaces.nsIRDFLiteral);                if (isMatch(name.Value)) {          // we have found a search entry - add it to the results datasource.                    // Get URL of html for this entry.      var link = sourceDS.GetTarget(target, NC_LINK, true);      link = link.QueryInterface(Components.interfaces.nsIRDFLiteral);              urnID++;      resultsDS.Assert(RDF_ROOT,             RDF.GetResource("http://home.netscape.com/NC-rdf#child"),             RDF.GetResource("urn:" + urnID),             true);      resultsDS.Assert(RDF.GetResource("urn:" + urnID),             RDF.GetResource("http://home.netscape.com/NC-rdf#name"),             name,             true);      resultsDS.Assert(RDF.GetResource("urn:" + urnID),             RDF.GetResource("http://home.netscape.com/NC-rdf#link"),             link,             true);  		emptySearch = false; 	                 }    // process any nested rdf:seq elements.    doFindOnDatasource(resultsDS, sourceDS, target, level+1);           }  }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/01a4475975e55d26aab4c78f3becbadd6aeb1fb9/help.js/buggy/extensions/help/resources/content/help.js