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

ISSUE 9: idValue

From: Yves Savourel <ysavourel@enlaso.com>
Date: Wed, 13 Jun 2012 09:01:42 +0100
To: <public-multilingualweb-lt@w3.org>
Message-ID: <assp.05115ca0f5.assp.0511875e0b.006a01cd493a$ca9cb1d0$5fd61570$@com>
Hi all,

To follow up on the possible idValue feature:

I may not completely understand how PROV works yet, but it seems to me this would apply to store the id after it has been extracted.

So whether or not it's used in the output, it wouldn't change the need for an ITS rule for indicating how to acquire the ID values from original documents where you have existing IDs.

I also think this should be its own data category rather than an attribute in the translateRule (as the current extension proposal) because application may need to use the feature without using the Translate data category (for example with the Terminology data category).

We would have for example:

<?xml version="1.0"?>
<messages>
 <its:rules version="2.0" xmlns:its="http://www.w3.org/2005/11/its">
  <its:idValueRule selector="//msg" idValue="@num"/>
 </its:rules>
 <msg num="123">Some text for ID 123</msg>
</messages>

The local attribute xml:id would override the global rule, the same way xml:lang is the local attribute for the Language Information data category.

Cheers,
-yves
Received on Wednesday, 13 June 2012 08:02:19 UTC

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