spec/Overview.html 1.1723 2552 Example of using RDF in XHTML. (whatwg r

Example of using RDF in XHTML. (whatwg r2552)

flow content
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1723.html#flow-content-0
3.4.1.2 Flow content
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1723.html#flow-content
Status of this document
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1723.html#status-of-this-document
A vocabulary and associated APIs for HTML and XHTML
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1723.html#a-vocabulary-and-associated-apis-for-html-and-xhtml
3.4.1.1 Metadata content
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1723.html#metadata-content
Editor's Draft 24 December 2008
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1723.html#editor-s-draft-date-zzz-9-june-2008

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1722&r2=1.1723&f=h
http://html5.org/tools/web-apps-tracker?from=2551&to=2552

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1722
retrieving revision 1.1723
diff -u -d -r1.1722 -r1.1723
--- Overview.html 23 Dec 2008 21:11:20 -0000 1.1722
+++ Overview.html 24 Dec 2008 00:27:16 -0000 1.1723
@@ -8,7 +8,7 @@
    <p><a href=http://www.w3.org/><img alt=W3C height=48 src=http://www.w3.org/Icons/w3c_home width=72></a></p>
    <h1>HTML 5</h1>
    <h2 class="no-num no-toc" id=a-vocabulary-and-associated-apis-for-html-and-xhtml>A vocabulary and associated APIs for HTML and XHTML</h2>
-   <h2 class="no-num no-toc" id=editor-s-draft-date-zzz-9-june-2008><!-- "W3C Working Draft" --> Editor's Draft <!--ZZZ-->23 December 2008</h2>
+   <h2 class="no-num no-toc" id=editor-s-draft-date-zzz-9-june-2008><!-- "W3C Working Draft" --> Editor's Draft <!--ZZZ-->24 December 2008</h2>
    <dl><!-- ZZZ: update the month/day
     <dt>This Version:</dt>
     <dd><a href="http://www.w3.org/TR/2008/WD-html5-20080610/">http://www.w3.org/TR/2008/WD-html5-20080610/</a></dd>
@@ -97,7 +97,7 @@
   specification's progress along the W3C Recommendation
   track.
   <!--ZZZ:-->
-  This specification is the 23 December 2008 <!--ZZZ "Working Draft"-->Editor's Draft.
+  This specification is the 24 December 2008 <!--ZZZ "Working Draft"-->Editor's Draft.
   <!--:ZZZ-->
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href=http://www.whatwg.org/>WHATWG</a>. The two specifications are
   identical from the table of contents onwards.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><p>This specification is intended to replace (be a new version of)
@@ -5726,7 +5726,33 @@
   up the relationship of the document with other documents, or that
   conveys other "out of band" information.<p>Elements from other namespaces whose semantics are primarily
   metadata-related (e.g. RDF) are also <a href=#metadata-content-0>metadata
-  content</a>.<h5 id=flow-content><span class=secno>3.4.1.2 </span>Flow content</h5><p>Most elements that are used in the body of documents and
+  content</a>.<div class=example>
+
+   <p>Thus, in the XML serialisation, one can use RDF, like this:</p>
+
+   <pre>&lt;html xmlns="http://www.w3.org/1999/xhtml"
+      xmlns:r="http://www.w3.org/1999/02/22-rdf-syntax-ns#"&gt;
+ &lt;head&gt;
+  &lt;title&gt;Hedral's Home Page&lt;/title&gt;
+  &lt;r:RDF&gt;
+   &lt;Person xmlns="http://www.w3.org/2000/10/swap/pim/contact#"
+           r:about="http://www.w3.org/People/EM/contact#me"&gt;
+    &lt;fullName&gt;Cat Hedral&lt;/fullName&gt;
+    &lt;mailbox r:resource="mailto:hedral@damowmow.com"/&gt;
+    &lt;personalTitle&gt;Sir&lt;/personalTitle&gt; 
+   &lt;/Person&gt;
+  &lt;/r:RDF&gt;
+ &lt;/head&gt;
+ &lt;body&gt;
+  &lt;h1&gt;My home page&lt;/h1&gt;
+  &lt;p&gt;I like playing with string, I guess. Sister says squirrels are fun
+  too so sometimes I follow her to play with them.&lt;/p&gt;
+ &lt;/body&gt;
+&lt;/html&gt;</pre>
+
+   <p>This isn't possible in the HTML serialisation, however.</p>
+
+  </div><h5 id=flow-content><span class=secno>3.4.1.2 </span>Flow content</h5><p>Most elements that are used in the body of documents and
   applications are categorized as <dfn id=flow-content-0>flow content</dfn>.<p>As a general rule, elements whose content model allows any
   <a href=#flow-content-0>flow content</a> should have either at least one
   descendant text node that is not <a href=#inter-element-whitespace>inter-element

Received on Wednesday, 24 December 2008 00:30:40 UTC