--- a/rdf-xml/index.html Mon Dec 09 17:50:47 2013 +0100
+++ b/rdf-xml/index.html Mon Dec 09 18:03:12 2013 +0100
@@ -357,20 +357,20 @@
property elements.
</p>
- <pre class="example" id="example1">
- <strong>Striped RDF/XML (nodes and predicate arcs)</strong>
+<pre class="example" id="example1">
+<strong>Striped RDF/XML (nodes and predicate arcs)</strong>
+<code><rdf:Description></code>
+ <ex:editor>
+ <code><rdf:Description></code>
+ <ex:homePage>
<code><rdf:Description></code>
- <ex:editor>
- <code><rdf:Description></code>
- <ex:homePage>
- <code><rdf:Description></code>
- <code></rdf:Description></code>
- </ex:homePage>
- <code></rdf:Description></code>
- </ex:editor>
<code></rdf:Description></code>
- </pre>
+ </ex:homePage>
+ <code></rdf:Description></code>
+ </ex:editor>
+<code></rdf:Description></code>
+</pre>
<p>The <a href="#figure2">Figure 2</a> graph consists of some nodes
that are
@@ -380,22 +380,20 @@
to the RDF/XML using the <code>rdf:about</code> attribute on node
elements to give the result in <a href="#example2">Example 2</a>:</p>
- <pre class="example" id="example2">
- <!-- Node Elements with RDF URI references added -->
+<pre class="example" id="example2">
+<strong>Node Elements with RDF URI references added</strong>
- <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">
- <ex:editor>
-
- <rdf:Description>
- <ex:homePage>
- <rdf:Description rdf:about="http://purl.org/net/dajobe/">
- </rdf:Description>
- </ex:homePage>
- </rdf:Description>
-
- </ex:editor>
+<rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">
+ <ex:editor>
+ <rdf:Description>
+ <ex:homePage>
+ <rdf:Description rdf:about="http://purl.org/net/dajobe/">
</rdf:Description>
- </pre>
+ </ex:homePage>
+ </rdf:Description>
+ </ex:editor>
+</rdf:Description>
+</pre>
<p>Adding the other two paths through the <a href="#figure1">Figure 1</a>
graph to the RDF/XML in
@@ -405,32 +403,32 @@
shared between the two paths, see
<a href="#section-Syntax-blank-nodes">2.10</a>):</p>
- <pre class="example" id="example3">
- <-- Complete description of all graph paths -->
-
- <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">
- <ex:editor>
- <rdf:Description>
- <ex:homePage>
- <rdf:Description rdf:about="http://purl.org/net/dajobe/">
- </rdf:Description>
- </ex:homePage>
- </rdf:Description>
- </ex:editor>
+<pre class="example" id="example3">
+<strong><-- Complete description of all graph paths</strong>
+
+<rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">
+ <ex:editor>
+ <rdf:Description>
+ <ex:homePage>
+ <rdf:Description rdf:about="http://purl.org/net/dajobe/">
</rdf:Description>
-
- <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">
- <ex:editor>
- <rdf:Description>
- <ex:fullName>Dave Beckett</ex:fullName>
- </rdf:Description>
- </ex:editor>
- </rdf:Description>
-
- <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">
- <dc:title>RDF/XML Syntax Specification (Revised)</dc:title>
- </rdf:Description>
- </pre>
+ </ex:homePage>
+ </rdf:Description>
+ </ex:editor>
+</rdf:Description>
+
+<rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">
+ <ex:editor>
+ <rdf:Description>
+ <ex:fullName>Dave Beckett</ex:fullName>
+ </rdf:Description>
+ </ex:editor>
+</rdf:Description>
+
+<rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">
+ <dc:title>RDF/XML Syntax Specification (Revised)</dc:title>
+</rdf:Description>
+</pre>
</section>
@@ -457,22 +455,22 @@
gives the result shown in <a href="#example4">Example 4</a>
(this example does show that there is a single blank node):</p>
- <pre class="example" id="example4">
- <!-- Using multiple property elements on a node element -->
+<pre class="example" id="example4">
+<strong>Using multiple property elements on a node element</strong>
- <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">
- <ex:editor>
- <rdf:Description>
- <ex:homePage>
- <rdf:Description rdf:about="http://purl.org/net/dajobe/">
- </rdf:Description>
- </ex:homePage>
- <ex:fullName>Dave Beckett</ex:fullName>
- </rdf:Description>
- </ex:editor>
- <dc:title>RDF/XML Syntax Specification (Revised)</dc:title>
+<rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">
+ <ex:editor>
+ <rdf:Description>
+ <ex:homePage>
+ <rdf:Description rdf:about="http://purl.org/net/dajobe/">
</rdf:Description>
- </pre>
+ </ex:homePage>
+ <ex:fullName>Dave Beckett</ex:fullName>
+ </rdf:Description>
+ </ex:editor>
+ <dc:title>RDF/XML Syntax Specification (Revised)</dc:title>
+</rdf:Description>
+</pre>
</section>
@@ -581,27 +579,24 @@
<a href="#figure1">Figure 1</a> graph
in <a href="#example7">Example 7</a>:</p>
- <pre class="example" id="example7">
- <strong>Complete RDF/XML description of Figure 1 graph
- (<a href="example07.rdf">example07.rdf</a> output <a href="example07.nt">example07.nt</a>)
- -->
-
- <?xml version="1.0"?>
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:ex="http://example.org/stuff/1.0/">
-
- <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar"
- dc:title="RDF/XML Syntax Specification (Revised)">
- <ex:editor>
- <rdf:Description ex:fullName="Dave Beckett">
- <ex:homePage rdf:resource="http://purl.org/net/dajobe/" />
- </rdf:Description>
- </ex:editor>
- </rdf:Description>
-
- </rdf:RDF>
- </pre>
+<pre class="example" id="example7">
+<strong>Complete RDF/XML description of Figure 1 graph
+(<a href="example07.rdf">example07.rdf</a> output <a href="example07.nt">example07.nt</a>)</strong>
+
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:ex="http://example.org/stuff/1.0/">
+ <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar"
+ dc:title="RDF/XML Syntax Specification (Revised)">
+ <ex:editor>
+ <rdf:Description ex:fullName="Dave Beckett">
+ <ex:homePage rdf:resource="http://purl.org/net/dajobe/" />
+ </rdf:Description>
+ </ex:editor>
+ </rdf:Description>
+</rdf:RDF>
+</pre>
<p>It is possible to omit <code>rdf:RDF</code> in
<a href="#example7">Example 7</a> above since there is only one