test dyn load prov-n
authorLuc Moreau <l.moreau@ecs.soton.ac.uk>
Fri, 11 May 2012 12:56:29 +0100
changeset 2767 a49c17b42c22
parent 2766 b9fc3f22f5d3
child 2768 3159b58dfea3
test dyn load prov-n
model/prov-n.html
--- a/model/prov-n.html	Fri May 11 12:54:54 2012 +0100
+++ b/model/prov-n.html	Fri May 11 12:56:29 2012 +0100
@@ -17,7 +17,7 @@
     <script src="http://www.w3.org/2007/OWL/toggles.js" class="remove"></script> 
     <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" class="remove"></script>
     <script class="remove">
-function insertSchemaDefinition(doc, content, name) {
+function insertProductionDefinition(doc, content, name) {
 
 	var xml=$.parseXML(content);
 	var segment = $(xml).find('a[name~="' + name + '"]')[0];
@@ -25,7 +25,7 @@
 	return doc._esc((new XMLSerializer()).serializeToString(segment));
 }
 
-function insertSchemaGeneration(doc, content) {  return insertSchemaDefinition(doc,content,'prod-prov_n_LL-generationExpression'); }
+function insertProductionGeneration(doc, content) {  return insertProductionDefinition(doc,content,'prod-prov_n_LL-generationExpression'); }
 
     </script>
 
@@ -253,7 +253,7 @@
 
 <section id="test"> 
 <h2>Test</h2>
-<pre class='schema' data-name='entity' data-include='grammar/ll.html' data-oninclude='insertSchemaActivity'  ></pre> 
+<pre class='schema' data-name='entity' data-include='grammar/ll.html' data-oninclude='insertProductionGeneration'  ></pre> 
 </section>
 
 <section id="introduction">