- From: Robin Berjon <robin@berjon.com>
- Date: Tue, 1 Sep 2009 15:10:42 +0200
- To: Henri Sivonen <hsivonen@iki.fi>
- Cc: Anne van Kesteren <annevk@opera.com>, HTML WG <public-html@w3.org>
On Sep 1, 2009, at 13:33 , Henri Sivonen wrote: > On Sep 1, 2009, at 14:19, Robin Berjon wrote: >> Could adding an itemvaluetype attribute help (we can pick a better >> name later)? itemvaluetype = textContent | childNodes | ... >> defaulting to the former? > > How would you map the latter to JSON? You stringify the markup and expose itemvaluetype so that one can reconstruct the original. In the API you'd return a DocumentFragment. > Bringing in the whole complexity of DOM subtrees to microdata makes > in significantly less micro (consider XMLLiteral). I'd rather keep > microdata simple and address lack of native markup features without > microdata. Other options could work, what did you have in mind? -- Robin Berjon - http://berjon.com/
Received on Tuesday, 1 September 2009 13:24:35 UTC