adding ids to some divs
authorLuc Moreau <l.moreau@ecs.soton.ac.uk>
Wed, 22 Feb 2012 11:20:57 +0000
changeset 1643 a687f83f8b1e
parent 1642 e878e740de73
child 1645 77fec9cc51dd
adding ids to some divs
model/working-copy/Makefile
model/working-copy/glossary.html
model/working-copy/glossary.js
model/working-copy/prov-dm-constraints.html
model/working-copy/towards-wd4.html
--- a/model/working-copy/Makefile	Wed Feb 22 09:23:51 2012 +0000
+++ b/model/working-copy/Makefile	Wed Feb 22 11:20:57 2012 +0000
@@ -36,6 +36,7 @@
 	xpath out01 .//div[@class] >> all-divs.html
 	csplit -f out prov-dm-constraints-2.xhtml /body/
 	xpath out01 .//div[@class] >> all-divs.html
+	xpath out01 .//span[@class] >> all-divs.html
 	echo "</html>" >> all-divs.html
 	cat all-divs.html | sed -e "s/\'/\\\'/g" > all-divs2.html
 	$(MAKE) make.all-divs.js
--- a/model/working-copy/glossary.html	Wed Feb 22 09:23:51 2012 +0000
+++ b/model/working-copy/glossary.html	Wed Feb 22 11:20:57 2012 +0000
@@ -82,8 +82,12 @@
 <span class="glossary" id="glossary-end-event">  
 An <dfn id="dfn-end-event">activity end event</dfn> is the <a title="event">instantaneous event</a> that marks the instant an activity ends.
 </span>
+
+<span class="glossary" id="glossary-event">  
+An <em>instantaneous event</em>, or <dfn id="dfn-event">event</dfn> for short, happens in the world and marks a change in the world, in its
+activities and in its entities.  
+</span>
+
+
 </html>
 
-
-
-
--- a/model/working-copy/glossary.js	Wed Feb 22 09:23:51 2012 +0000
+++ b/model/working-copy/glossary.js	Wed Feb 22 11:20:57 2012 +0000
@@ -89,6 +89,10 @@
 '<span class="glossary" id="glossary-end-event">   ' + 
 'An <dfn id="dfn-end-event">activity end event</dfn> is the <a title="event">instantaneous event</a> that marks the instant an activity ends. ' + 
 '</span> ' + 
+'<span class="glossary" id="glossary-event">  ' +
+'An <em>instantaneous event</em>, or <dfn id="dfn-event">event</dfn> for short, happens in the world and marks a change in the world, in its' +
+'activities and in its entities.  ' +
+'</span>' +
 '</html> ' + 
 ' ' + 
 ' ' + 
--- a/model/working-copy/prov-dm-constraints.html	Wed Feb 22 09:23:51 2012 +0000
+++ b/model/working-copy/prov-dm-constraints.html	Wed Feb 22 11:20:57 2012 +0000
@@ -466,7 +466,7 @@
 to be able to express the provenance of provenance. </p>
 
 <p>
-  <span  class="glossary" id="glossary-entity">
+  <span  class="glossary" id="glossary-account">
 An <dfn>account</dfn> is a named bundle of provenance descriptions.
 </span>  PROV-DM does not provide an actual mechanism for creating accounts, i.e. for bundling up provenance descriptions and naming them.  Accounts MUST satisfy some properties:
 <ul>
@@ -1114,7 +1114,7 @@
 
 <p>PROV-DM allows for multiple descriptions of entities (and in general any identifiable object) to be expressed. </p>
 
-<div class="anexample">
+<div class="anexample" id="example-two-entities-one-id">
 <p>Let us consider two descriptions of a same entity, which we have taken from two different contexts (see example). A working draft published by the <span class="name">w3:Consortium</span>:</p>
 <pre class="codeexample">
 entity(tr:WD-prov-dm-20111215, [ prov:type="pr:RecsWD" %% xsd:QName ])
--- a/model/working-copy/towards-wd4.html	Wed Feb 22 09:23:51 2012 +0000
+++ b/model/working-copy/towards-wd4.html	Wed Feb 22 11:20:57 2012 +0000
@@ -1456,7 +1456,7 @@
 <li><em>attributes</em>: an OPTIONAL set of attribute-value pairs to further describe this relation.</li>
 </ul>
 
-<div class="anexample">
+<div class="anexample" id="anexample-alternate">
 <p>The following expressions describe two persons, respectively holder of a Facebook account and a Twitter account, and their relation as alternate. </p>
 <pre class="codeexample">
 entity(facebook:ABC, [ prov:type="person with Facebook account " ])
@@ -1476,7 +1476,7 @@
 <li><em>attributes</em>: an OPTIONAL set of attribute-value pairs to further describe this relation.</li>
 </ul>
 
-<div class="anexample">
+<div class="anexample" id="anexample-specialization">
 <p>The following expressions describe two persons, the second of which is holder of a Twitter account. The second entity is a specialization of the first. </p>
 <pre class="codeexample">
 entity(ex:Bob, [ prov:type="person", ex:name="Bob" ])