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

RE: Mapping...

From: Yves Savourel <ysavourel@translate.com>
Date: Fri, 17 Mar 2006 13:16:19 -0700
To: "'Sebastian Rahtz'" <Sebastian.Rahtz@oucs.ox.ac.uk>
Cc: <public-i18n-its@w3.org>
Message-ID: <004201c649ff$a78c8490$8f05a8c0@Breizh>
Hi Sebastian,

> If/when we do return to mapping,
>  <its:langMap its:mapName="myLang"/>
> isn't sufficient to deal with my examples in the 
> Mandelieu Communique.


After talking with Felix today I realized that for language identification, we can have a 'normal' rule. Actually the proposed
notation:

<its:langRule its:selector="//*" its:langMap="@myLangAttribute"/>

Is fine (except for the langMap name). But I see it as a normal slection+information rule, not a mapping.

It simply says: For any node of "//*" go fetch the language identifier information in @myLangAttribute and apply it to the node.

Just like <its:locInfoRule its:selector="//p" its:locInfoMap="@myNode"/> says: for any node of "//p" go fetch the note in @myNote
and apply it to the node.

So, we certainly can have a langRule without involving 'mapping'.

As for mapping, I'm not sure at all how to express it. I think we would first need to know how it would be utilized besides using it
for what the <zzzRule> elements already provide.

Cheers,
-yves
Received on Friday, 17 March 2006 20:16:29 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:43:06 UTC