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 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:47 GMT