- From: Fabien Gandon <Fabien.Gandon@sophia.inria.fr>
- Date: Mon, 21 Apr 2008 10:35:30 +0200
- To: RDFa <public-rdf-in-xhtml-tf@w3.org>
Hello, At the tutorial of Ben, Ivan and Elias today at WWW2008 (great job) there was an interesting question: "how do I put a unit for a value?" Although this is not an RDFa-specific problem I believe we could have an example using rdf:value and blank nodes to give a value with a unit something like: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:example="http://www.example.org/"> <head> <title>Test 0104</title> </head> <body> <p> The word "interfenestration" has <span about="#interfenestration" rel="example:size"> <span property="rdf:value">17</span> <span property="example:unit">character</span>s. </span> </p> </body> </html> -- Fabien - http://fabien-gandon.name/
Received on Monday, 21 April 2008 08:36:16 UTC