oninclude not onload
authorGavin Carothers <gavin@carothers.name>
Fri, 10 Jun 2011 16:18:01 -0700
changeset 47 082c7fa4720a
parent 46 3272030cfef3
child 48 3f84d1c7eb43
oninclude not onload
rdf-turtle/index.html
--- a/rdf-turtle/index.html	Fri Jun 10 16:16:48 2011 -0700
+++ b/rdf-turtle/index.html	Fri Jun 10 16:18:01 2011 -0700
@@ -712,7 +712,7 @@
           (<a href="examples/example1.ttl">example1.ttl</a>):
           </p>
 
-          <div data-include="examples/example1.ttl" data-onload="updateExample"></div>
+          <div data-include="examples/example1.ttl" data-oninclude="updateExample"></div>
 
 
           <p>An example of an RDF collection of two literals.</p>
@@ -722,24 +722,24 @@
           </pre>
           <p>which is short for (<a href="examples/example2.ttl">example2.ttl</a>):</p>
 
-          <div data-include="examples/example2.ttl" data-onload="updateExample"></div>
+          <div data-include="examples/example2.ttl" data-oninclude="updateExample"></div>
 
           <p>An example of two identical triples containing literal objects
           containing newlines, written in plain and long literal forms.
           Assumes that line feeds in this document are #xA.
           (<a href="examples/example3.ttl">example3.ttl</a>):</p>
 
-          <div data-include="examples/example3.ttl" data-onload="updateExample"></div>
+          <div data-include="examples/example3.ttl" data-oninclude="updateExample"></div>
 
           <p>As indicated by the grammar, a <a href="#prod-turtle2-collection">collection</a> can be either a <a href="#prod-turtle2-subject">subject</a> or an <a href="#prod-turtle2-object">object</a>. This subject or object will be the novel blank node for the first object, if the collection has one or more objects, or <code>rdf:nil</code> if the collection is empty.</p>
 
           <p>For example,</p>
 
-          <pre class="query untested">(1 2.0 3E1) :p "w" .</pre>
+          <pre class="example untested">(1 2.0 3E1) :p "w" .</pre>
 
           <p>is syntactic sugar for (noting that the blank nodes <code>b0</code>, <code>b1</code> and <code>b2</code> do not occur anywhere else in the RDF graph):</p>
 
-<pre class="query untested">    _:b0  rdf:first  1 ;
+<pre class="example untested">    _:b0  rdf:first  1 ;
           rdf:rest   _:b1 .
     _:b1  rdf:first  2.0 ;
           rdf:rest   _:b2 .
@@ -749,9 +749,9 @@
 
           <p>RDF collections can be nested and can involve other syntactic forms:</p>
 
-          <pre class="query untested">(1 [:p :q] ( 2 ) ) .</pre>
+          <pre class="example untested">(1 [:p :q] ( 2 ) ) .</pre>
 
-          <p>is syntactic sugar for:</p><pre class="query untested">    _:b0  rdf:first  1 ;
+          <p>is syntactic sugar for:</p><pre class="example untested">    _:b0  rdf:first  1 ;
           rdf:rest   _:b1 .
     _:b1  rdf:first  _:b2 .
     _:b2  :p         :q .