W3C home > Mailing lists > Public > public-i18n-its@w3.org > July to September 2006

[Bug 3464] Allowing for xpath expressions to point to term definitions

From: <bugzilla@wiggum.w3.org>
Date: Wed, 19 Jul 2006 16:27:28 +0000
To: public-i18n-its@w3.org
Message-Id: <E1G3EtU-0006zz-6X@wiggum.w3.org>


------- Comment #1 from ysavourel@translate.com  2006-07-19 16:27 -------
The proposed resolution for this is to have a termInfoPointer attribute in the
<termRule> element.

The termInfoPointer attribute value is an XPath expression relative to the
node(s) selected by the selector attribute of the <termRule> element. That
expression points to the node(s) where the data can be found.

So, given the example below:

  <def><p>Rugged saddle horse that has a white or solid-colored coat with small

To express that the <def> element of <gitem> is the definition of the <label>
element, we could use the following rule:

<its:termRule selector="//gitem/label" termInfoPointer="../def"/>
<its:termRule selector="//gitem/label"

A test application illustrating this mechanism can be found here:
Received on Wednesday, 19 July 2006 16:27:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:04:11 UTC