[tei-council] precision draft

Lou Burnard lou.burnard at oucs.ox.ac.uk
Sun Jun 7 15:40:32 EDT 2009


I've now added a few more certainty at pattern examples, hopefully 
clarifying the text a bit better:
---------------
<p>The value of the <att>pattern</att> attribute is an XSLT2 pattern,
using the syntax defined in <ptr target="#XSLT2"/>. Some simple
examples follow:

<egXML xmlns="http://www.tei-c.org/ns/Examples">
<certainty pattern="@resp" locus="value" degree="0.2"/>
</egXML>
This encoding indicates that there is only a 0.2 certainty that any
value for the <att>resp</att> attribute is correct, wherever it
appears in the document.</p>

<p><egXML xmlns="http://www.tei-c.org/ns/Examples">
<certainty target="#d001" pattern="@resp" locus="value" degree="0.2"/>
</egXML>
This encoding indicates that there is only a 0.2 certainty that the
value for the <att>resp</att> attribute of the element indicated by
the pointer <val>#d001</val> is correct</p>

<p><egXML xmlns="http://www.tei-c.org/ns/Examples">
<certainty pattern="@resp='#LB'" locus="value" degree="0.2"/>
</egXML>
This encoding indicates that there is only a 0.2 certainty that the
value <val>#LB</val> for the <att>resp</att> attribute is correct, 
wherever it
appears in the document.</p>

<p><egXML xmlns="http://www.tei-c.org/ns/Examples">
<certainty pattern="*[@resp='#LB']" locus="value" degree="0.2"/>
</egXML>
This encoding indicates that there is only a 0.2 certainty that the
content of any element the <att>resp</att> attribute of which has the
value <val>#LB</val> is correct, wherever it
appears in the document.</p>
-----------------
Does anyone agree with (a) my understanding (b) my use of the syntax ?


More information about the tei-council mailing list