--- a/model/prov-dm.html Wed May 30 17:30:57 2012 +0100
+++ b/model/prov-dm.html Wed May 30 22:15:36 2012 +0100
@@ -77,9 +77,14 @@
var myid=$(this).attr('id');
var mycount=count++;
+ if (myid==undefined) {
+ myid='example_' + mycount;
+ $(this).attr('id',myid);
+ }
+
$(this).attr('data-count', mycount).prepend($('<div>').addClass('anexampleTitle')
- .append($('<a>').attr('href','#'+myid).append("Example " + mycount)));
+ .append($('<a>').addClass('internalDFN').attr('href','#'+myid).append("Example " + mycount)));
//console.log( "example for " + myid + " " + mycount);
@@ -92,11 +97,11 @@
myhref=$(this).attr('href');
- console.log( "example ref for " + myhref);
+ //console.log( "example ref for " + myhref);
mycount=$(myhref).attr('data-count');
- console.log( "example ref for " + myhref + " " + mycount);
+ //console.log( "example ref for " + myhref + " " + mycount);
$(this).children('span').replaceWith(function(){return $('<span>').append("Example " + mycount)});
@@ -2155,8 +2160,9 @@
<div class="anexample" id="anexample-attribution">
<p>
-Revisiting the example of <a href="#section-example-one">Section 4.1</a>,
-we can ascribe <span class="name">tr:WD-prov-dm-20111215</span> to some agents without an explicit activity. The reserved attribute <span class="name">role</span> (see <a href="#term-attribute-role">Section 5.7.4.3</a>) allows for role of the agent in the attribution to be specified.
+Revisiting the example of
+<a class="sectionRef" href="#section-example-one">TBD</a>,
+we can ascribe <span class="name">tr:WD-prov-dm-20111215</span> to some agents without an explicit activity. The reserved attribute <span class="name">role</span> (see <a class="sectionRef" href="#term-attribute-role">Section 5.7.4.3</a>) allows for role of the agent in the attribution to be specified.
<pre class="codeexample">
agent(ex:Paolo, [ prov:type="Person" ])
agent(ex:Simon, [ prov:type="Person" ])
@@ -2305,7 +2311,7 @@
</p>
<div class="anexample">
-<p>We refer to the example of <a href="#section-example-two">Section 4.2</a>, and specifically to <a href="#prov-a-document2-top">Figure 3</a>. We can see that there is a path from
+<p>We refer to the example of <a class="sectionRef" href="#section-example-two">TBD</a>, and specifically to <a href="#prov-a-document2-top">Figure 3</a>. We can see that there is a path from
<span class="name">tr:WD-prov-dm-20111215</span> to
<span class="name">w3:Consortium</span> and to
<span class="name">process:rec-advance</span>. This is expressed as follows.