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); 
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: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/d9827caa7b82b07d1e4d80370c73541c2b19411a/help.js/buggy/toolkit/components/help/content/help.js