Simplify RDFa snippet using RDFa Lite 1.1, and remove irrelevant styling tips. remove wrong mime type recommendation. (merge)
--- a/spec/identity-respec.html Mon Nov 19 17:04:06 2012 -0500
+++ b/spec/identity-respec.html Mon Nov 19 17:12:29 2012 -0500
@@ -494,32 +494,17 @@
<p>RDFa in HTML [[!RDFA-CORE]] is a way to markup HTML with relations that have a well defined semantics and
mapping to an RDF graph. There are many ways of writing out the above graph using RDFa in
HTML. Here is just one example of what a WebID profile could look like.
- It would have to be served with the mime type <code>application/xhtml+xml</code>.
</p>
<pre class="example" style="word-wrap: break-word; white-space: pre-wrap;">
-<!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" version="XHTML+RDFa 1.0"
- xmlns:foaf="http://xmlns.com/foaf/0.1/">
-<head>
- <title>Welcome to Bob's Home Page</title>
-</head>
-<body>
-<!-- WebID HTML snippet. The xmlns declarations above can be moved into the div below if needed-->
-<div about="https://bob.example/profile#me" typeof="foaf:Person">
- <p> My name is <span xml:lang="" property="foaf:name">Bob</span> and I like to <a rel="foaf:weblog" href="http://bob.example/blog">blog fun stuff</a>
+<div vocab="http://xmlns.com/foaf/0.1/" about="#me" typeof="foaf:Person">
+ <p>My name is <span property="name">Bob</span> and I like to <a property="weblog" href="http://bob.example/blog">blog fun stuff</a>
</p>
<h2>My Good Friends</h2>
<ul>
- <li rel="foaf:knows" href="https://example.edu/p/Alice#MSc">Alice</li>
+ <li property="knows" href="https://example.edu/p/Alice#MSc">Alice</li>
</ul>
-
</div>
-<!-- WebID HTML snippet -->
-</body>
-</html>
</pre>
-<p>The <code>style="word-wrap: break-word; white-space: pre-wrap;"</code> attributes allow the number to be displayed on more than one line so that it will wrapped across lines and not just continue off to the right of the screen.</p>
<p>If a WebID provider would rather prefer not to mark up his data in RDFa, but
just provide a human readable format for users and have the RDF graph appear
in a machine readable format such as RDF/XML then a link from