added id to divs
authorLuc Moreau <l.moreau@ecs.soton.ac.uk>
Tue, 28 Feb 2012 09:27:22 +0100
changeset 1702 b168515aef9b
parent 1695 8b2302508d86
child 1703 7f03ed215105
added id to divs
model/all-divs.js
model/prov-dm.html
presentations/dagstuhl/prov-dm/overview/extra.css
presentations/dagstuhl/prov-dm/overview/images/w3c-publication-plan.svg
presentations/dagstuhl/prov-dm/overview/index.html
--- a/model/all-divs.js	Mon Feb 27 14:13:03 2012 +0100
+++ b/model/all-divs.js	Tue Feb 28 09:27:22 2012 +0100
@@ -3,7 +3,7 @@
 //  with <script src="all-divs.js" class="remove"></script>
 //Insert glossary definitions with the following 
 // <div class="glossary-ref" ref="glossary-generation"></div>
-divs_hg='http://dvcs.w3.org/hg/prov/file/c80fd5b07cd58c480cc2ea4f/model/prov-dm.html';
+divs_hg='http://dvcs.w3.org/hg/prov/file/8b2302508d86/model/prov-dm.html';
 divs_string= 
 '<html> ' + 
 '<div class="note"> ' + 
@@ -237,7 +237,19 @@
 '    </div><div class="issue"> ' + 
 '      Shouldn\'t we allow for entities (not agent) to be associated with an ' + 
 '      activity? Should we drop the inference association-agent? <a href="http://www.w3.org/2011/prov/track/issues/203">ISSUE-203</a>. ' + 
-'    </div><div class="anexample"> ' + 
+'    </div><div class="attributes" id="attributes-note"> ' + 
+'      A <dfn title="dfn-note">note</dfn><span class="withAsn">, noted <span class="name">note(id, [ attr1=val1, ...])</span> in PROV-ASN,</span> ' + 
+'      contains: ' + 
+'      <ul> ' + 
+'        <li> ' + 
+'          <em>id</em>: an identifier identifying the note; ' + 
+'        </li> ' + 
+'        <li> ' + 
+'          <em>attributes</em>: a set of attribute-value pairs, whose meaning is ' + 
+'          application specific. ' + 
+'        </li> ' + 
+'      </ul> ' + 
+'    </div><div class="anexample" id="anexample-note1"> ' + 
 '      <p> ' + 
 '        The following note consists of a set of application-specific ' + 
 '        attribute-value pairs, intended to help the rendering of what it is ' + 
@@ -254,6 +266,7 @@
 '        note\'s identifier and attributes are declares in a separate namespace ' + 
 '        denoted by prefix <span class="name">ex2</span>. ' + 
 '      </p> ' + 
+'    </div><div class="anexample" id="anexample-note2"> ' + 
 '      <p> ' + 
 '        Alternatively, a reputation service may enrich a provenance record with ' + 
 '        notes providing reputation ratings about agents. In the following ' + 
--- a/model/prov-dm.html	Mon Feb 27 14:13:03 2012 +0100
+++ b/model/prov-dm.html	Tue Feb 28 09:27:22 2012 +0100
@@ -961,11 +961,11 @@
 trustworthiness of some of the entities or agents involved. Likewise, an interactive visualization component may want to enrich a set of provenance descriptions with information helping reproduce their
 visual representation. To help with interoperability, PROV-DM introduces a simple annotation mechanism allowing anything that is identifiable to be associated with notes.</p>
 
-<p>A <dfn title="dfn-note">note</dfn><span class="withAsn">, noted <span class="name">note(id, [ attr1=val1, ...])</span> in PROV-ASN,</span> contains:</p>
+<p><div class="attributes" id="attributes-note">A <dfn title="dfn-note">note</dfn><span class="withAsn">, noted <span class="name">note(id, [ attr1=val1, ...])</span> in PROV-ASN,</span> contains:</p>
 <ul>
 <li><em>id</em>: an identifier identifying the note;</li>
 <li><em>attributes</em>: a set of attribute-value pairs, whose meaning is application specific.</li>
-</ul>
+</ul></div>
 
 
 
@@ -975,7 +975,7 @@
 </p>
 
 
-<div class="anexample">
+<div class="anexample" id="anexample-note1">
 <p>
 The following note consists of a set of application-specific attribute-value pairs, intended
 to help the rendering of what it is associated with, by
@@ -987,7 +987,9 @@
 <p>The note is associated with the entity <span class="name">tr:WD-prov-dm-20111215</span> previously introduced (<a title="annotation">hasAnnotation</a> is 
 discussed in Section <a href="#term-annotation">Annotation</a>).  The note's identifier and attributes are declares in a separate namespace denoted by prefix <span class="name">ex2</span>.
 </p>
-
+</div>
+
+<div class="anexample" id="anexample-note2">
 <p>Alternatively, a reputation service may enrich a provenance record with notes providing reputation ratings about agents. In the following fragment, both agents <span class="name">ex:Simon</span> and <span class="name">ex:Paolo</span> are rated "excellent".</p>
 <pre class="codeexample">
 note(ex3:n2,[ex3:reputation="excellent"])
--- a/presentations/dagstuhl/prov-dm/overview/extra.css	Mon Feb 27 14:13:03 2012 +0100
+++ b/presentations/dagstuhl/prov-dm/overview/extra.css	Tue Feb 28 09:27:22 2012 +0100
@@ -1,3 +1,8 @@
+.name {
+    color: blue;
+    font-family: monospace;
+}
+
 
 /* --- EDITORIAL NOTES --- */
 .pending {
--- a/presentations/dagstuhl/prov-dm/overview/images/w3c-publication-plan.svg	Mon Feb 27 14:13:03 2012 +0100
+++ b/presentations/dagstuhl/prov-dm/overview/images/w3c-publication-plan.svg	Tue Feb 28 09:27:22 2012 +0100
@@ -17,7 +17,7 @@
 <!-- rec_advance -->
 <g id="node13" class="node"><title>rec_advance</title>
 <ellipse fill="lightblue" stroke="black" cx="369" cy="-306" rx="55.895" ry="18"/>
-<text text-anchor="middle" x="369" y="-300.9" font-family="Times,serif" font-size="14.00">rec&#45;advance</text>
+<a xlink:href="http://www.w3.org"><text text-anchor="middle" x="369" y="-300.9" font-family="Times,serif" font-size="14.00">rec&#45;advance</text></a>
 </g>
 <!-- pub1&#45;&gt;rec_advance -->
 <g id="edge34" class="edge"><title>pub1&#45;&gt;rec_advance</title>
--- a/presentations/dagstuhl/prov-dm/overview/index.html	Mon Feb 27 14:13:03 2012 +0100
+++ b/presentations/dagstuhl/prov-dm/overview/index.html	Tue Feb 28 09:27:22 2012 +0100
@@ -643,13 +643,22 @@
 
 	<h2>Notes</h2>
 
-
-TODO
 <p>
 <div class="glossary-ref" ref="glossary-note">
 </div>
 </p>
 
+<p>
+<div class="element-ref" ref="attributes-note">
+</div>
+</p>
+
+<p>
+<div class="element-ref" ref="anexample-note2">
+</div>
+</p>
+
+
 
 <div class="note" id="responsibility.note">
 <p>some note here</p>