Jonas Sicking wrote:

Sure, but if you have a DOM, what do you do? One solution is certainly
to say that "If you have a DOM, there is no way to extract RDFa data".
This is certainly a possibility, but it does mean that it's impossible
to
    

... to build a RDFa implementation in javascript, as javascript is
handed a DOM. I don't know if javascript implementations of RDFa is
something that's considered important.

Its important.  There is already at least one.  Works great.  There is also a JS library that does CURIE processing - sort of a support library for things like RDFa and @role and XML Events 2.  Anyway, you should check out the implementations page at http://rdfa.info/rdfa-implementations/ and the formal implementation report at http://www.w3.org/2006/07/SWD/RDFa/implementation-report/

Also, Jeni, don't you have a JS implementation?  And Mark, don't you have something via Ubiquity?
-- 
Shane P. McCarron                          Phone: +1 763 786-8160 x120
Managing Director                            Fax: +1 763 786-8180
ApTest Minnesota                            Inet: shane@aptest.com