[Jslib] Secondary sequences
no at spam.com
Mon Mar 8 20:22:52 EST 2004
How do I write an rdf file using secondary sequences so that "Subject"
resolves to something like "urn:test:bob"?
The reason I'm asking is that I would like to target RDF.GetRootSeq()
with a specific path but I can't seem to do it.
I saved example 10-4 from "Creating Applications With Mozilla" to file
and ran the following code:
dump("Source: " + rdfFly.getSource() + "\n");
var conts = rdfFly.getAllContainers();
for(var i=0; i<conts.length; i++)
dump("Subject: " + conts[i].getSubject() + "\n");
var list = conts[i].getSubNodes();
for(var j=0; j<list.length; j++)
dump("node: " + list[j].getAttribute(nsFly + "label") + "\n");
with the following results:
node: Common House Fly
node: Carrion Fly
node: Office Fly
node: Face fly
node: Stable Fly
node: Horn Fly
More information about the Jslib