testing data-include
authorStian Soiland-Reyes <soiland-reyes@cs.manchester.ac.uk>
Mon, 10 Oct 2011 12:36:34 +0100
changeset 632 59ec7815dd85
parent 631 e0a00fcee786
child 633 ac93d5e4aa51
testing data-include
primer/Primer.html
primer/ex1/complementarity-01.ttl
--- a/primer/Primer.html	Mon Oct 10 12:23:53 2011 +0100
+++ b/primer/Primer.html	Mon Oct 10 12:36:34 2011 +0100
@@ -82,6 +82,12 @@
     wgPatentURI:  "",
    };
   </script>
+  <script class="remove">
+      function updateExample(doc, content) {
+        // perform transformations to make it render and prettier
+        return '<pre class="example">' + doc._esc(content) + '</pre>';
+    }
+  </script>
  </head>
  <body>
   <section id="abstract">
@@ -357,10 +363,15 @@
         asserts that both of these entities were a <em>complement of</em>
         another entity <code>ex1:dataSet</code>.
     </p>
+    <pre class="turtle example" data-include="ex1/complementarity-01.ttl">
+    </pre>
+
+    <!--
      <pre class="turtle example">
      ex1:dataSet1 prov:wasComplementOf ex1:dataSet .
      ex1:dataSet2 prov:wasComplementOf ex1:dataSet .
      </pre>
+     -->
      <!--
      <pre class="asn example">
      wasComplementOf(ex1:dataSet1, ex1:dataSet)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/primer/ex1/complementarity-01.ttl	Mon Oct 10 12:36:34 2011 +0100
@@ -0,0 +1,2 @@
+ex1:dataSet1 prov:wasComplementOf ex1:dataSet .
+ex1:dataSet2 prov:wasComplementOf ex1:dataSet .