sneak preview

Letting all the overall agenda aside, how does this sound?

js> ds = new RDFSimpleTripleDataStore();
js> em = new RDF.Vocabulary('urn:x-moz:em#');
js> ds.assert(RDF.resources[document.location], em.title,
               RDF.getLiteral("Some English string", null, "en-US"));
js> c = ''; ds.forEach(function(t) {c += t;}); c
   <about:blank> <urn:x-moz:em#title> "Some English string"@en-US.

The Buzz {1 trackbacks/pingbacks}

  1. Pingback: The Hundredth Monkey Phenomenon » RDF Support in Mozilla 2.0 on October 18, 2006

The Conversation {2 comments}

  1. Shawn Wilsher {Tuesday October 17, 2006 @ 3:17 pm}

    Did you mean |js> em = new RDF.Vocabulary(‘urn:x-moz:em#’);|?

  2. Axel Hecht {Tuesday October 17, 2006 @ 3:23 pm}

    Yes, I did.

Sorry, comments for this entry are closed at this time.