- From: Nathan Glenn <garfieldnate@gmail.com>
- Date: Thu, 11 Jul 2013 17:07:37 -0700
- To: public-i18n-its-ig@w3.org
Received on Friday, 12 July 2013 00:08:03 UTC
Is the XPath context for the evaluation of the idValue attribute of
idValueRule the same as for relative selectors? I suspect that it is, but
it is not in the spec. Since relative selectors have size and position set,
this would provide a mechanism for creating unique IDs, as well as an easy
unit test for correct implementation of selector XPath contexts, using
something like this:
<its:idValueRule selector="//par" idValue="concat('par_', position(),
'_of_', last())"/>
Nathan
Received on Friday, 12 July 2013 00:08:03 UTC