- From: Toby Inkster <tai@g5n.co.uk>
- Date: Fri, 04 Jun 2010 16:02:07 +0100
- To: martin@weborganics.co.uk
- Cc: Ivan Herman <ivan@w3.org>, W3C RDFa WG <public-rdfa-wg@w3.org>
On Fri, 2010-06-04 at 15:37 +0100, Martin McEvoy wrote: > Not an easy task, the simplest approach I would say is not let them > get in there in the first place... you could introduce an attribute > for this task > > <div exclude="foo bar"> > <a rel="bookmark foo bar" href="http://...">...</a> > </div> > > exclude could be used to "exclude" a triple from the graph. There are various (albeit hackish) ways of excluding elements from processing already; e.g. <div profile="urn:x-rdfa-ignore"> ... an RDFa processor should ignore everything here ... </div> or (I think!) <div property="" datatype="rdf:XMLLiteral"> ... an RDFa processor should ignore everything here ... </div> This thread is more about asking how a piece of Javascript, which has parsed some RDFa into a Store can then remove some triples from the Store. For example, a script parses a page and then deletes any xhv:stylesheet triples because it finds them boring. -- Toby A Inkster <mailto:mail@tobyinkster.co.uk> <http://tobyinkster.co.uk>
Received on Friday, 4 June 2010 15:02:50 UTC