HTML Standard Tracker


File a bug

SVNBugCommentTime (UTC)
2552Example of using RDF in XHTML.2008-12-24 00:27
@@ -7136,20 +7136,48 @@ background: transparent">blue&lt;/span>.&lt;/p></pre>
   <p><dfn>Metadata content</dfn> is content that sets up the
   presentation or behavior of the rest of the content, or that sets
   up the relationship of the document with other documents, or that
   conveys other "out of band" information.</p>
   <p>Elements from other namespaces whose semantics are primarily
   metadata-related (e.g. RDF) are also <span>metadata
+  <div class="example">
+   <p>Thus, in the XML serialisation, one can use RDF, like this:</p>
+   <pre>&lt;html xmlns=""
+      xmlns:r="">
+ &lt;head>
+  &lt;title>Hedral's Home Page&lt;/title>
+  &lt;r:RDF>
+   &lt;Person xmlns=""
+           r:about="">
+    &lt;fullName>Cat Hedral&lt;/fullName>
+    &lt;mailbox r:resource=""/>
+    &lt;personalTitle>Sir&lt;/personalTitle> 
+   &lt;/Person>
+  &lt;/r:RDF>
+ &lt;/head>
+ &lt;body>
+  &lt;h1>My home page&lt;/h1>
+  &lt;p>I like playing with string, I guess. Sister says squirrels are fun
+  too so sometimes I follow her to play with them.&lt;/p>
+ &lt;/body>
+   <p>This isn't possible in the HTML serialisation, however.</p>
+  </div>
   <h5>Flow content</h5>
   <p>Most elements that are used in the body of documents and
   applications are categorized as <dfn>flow content</dfn>.</p>
   <p>As a general rule, elements whose content model allows any
   <span>flow content</span> should have either at least one
   descendant text node that is not <span>inter-element
   whitespace</span>, or at least one descendant element node that is