W3C home > Mailing lists > Public > public-multilingualweb-lt@w3.org > June 2012

Re: mlw-lt-track-ISSUE-28 (Maxime): What are the type of node that may be selected in global rules ?

From: Felix Sasaki <fsasaki@w3.org>
Date: Wed, 20 Jun 2012 12:32:20 +0200
Message-ID: <CAL58czqS+fsVJtUfp-=rfegO17oNAOu6pL95wkcpkkXEwQBDJw@mail.gmail.com>
To: MultilingualWeb-LT Working Group <public-multilingualweb-lt@w3.org>, Maxime Lefrançois <maxime.lefrancois@inria.fr>
Hi Maxime,

this is already defined in ITS 1.0
http://www.w3.org/TR/2007/REC-its-20070403/

"The value of the
selector<http://www.w3.org/TR/its/#att.selector.attribute.selector>
 attribute MUST <http://www.w3.org/TR/its/#rfc-keywords> be an XPath
expression which starts with "/". That is, it must be an
AbsoluteLocationPath <http://www.w3.org/TR/xpath#NT-AbsoluteLocationPath> as
described in XPath 1.0 <http://www.w3.org/TR/its/#xpath> or its successor.
This ensures that the selection is not relative to a specific location. The
resulting nodes MUST <http://www.w3.org/TR/its/#rfc-keywords> be either
element or attribute nodes."


Best,

Felix


2012/6/20 MultilingualWeb-LT Working Group Issue Tracker <
sysbot+tracker@w3.org>

> mlw-lt-track-ISSUE-28 (Maxime): What are the type of node that may be
> selected in global rules ?
>
> http://www.w3.org/International/multilingualweb/lt/track/issues/28
>
> Raised by: Maxime Lefrançois
> On product:
>
> Hi all,
>
> for the mapping to RDF, we need to define specific cases for each type of
> nodes that may be selected by global rules.
> XPath defines 7 type of nodes: http://www.w3.org/TR/xpath/#data-model
> - root nodes
> - element nodes
> - text nodes
> - attribute nodes
> - namespace nodes
> - processing instruction nodes
> - comment nodes
>
> Are there any restrictions on the type of nodes that an XPath selector may
> select in a global rule ?
>
> Cheers,
> Maxime Lefrançois
>
>
>
>


-- 
Felix Sasaki
DFKI / W3C Fellow
Received on Wednesday, 20 June 2012 10:32:47 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 9 June 2013 00:24:56 UTC