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

RE: ITS and XHTML 1.0

From: Lieske, Christian <christian.lieske@sap.com>
Date: Fri, 17 Mar 2006 08:35:21 +0100
Message-ID: <0F568FE519230641B5F84502E0979DD104B98DF2@dewdfe12.wdf.sap.corp>
To: "Yves Savourel" <yves@opentag.com>
Cc: <public-i18n-its@w3.org>

Hi Yves,

Let me try to rephrase my points ...

What if I have two or more types of XML nodes related to a data category such as "terminology"?
Example: Your terms are both 'dt' and 'p' of a certain class. In this case, you could either go for

A. "complex" selector

<its:termRule its:selector="//xhtml:dt;//xhtml:p[class='foo']"/>

B. multiple rules

<its:termRule its:selector="//xhtml:dt"/>
<its:termRule its:selector="//xhtml:p[class='foo']"/>

Best regards,
Christian
-----Original Message-----
From: Yves Savourel [mailto:yves@opentag.com] 
Sent: Freitag, 17. März 2006 05:23
To: Lieske, Christian
Cc: public-i18n-its@w3.org
Subject: RE: ITS and XHTML 1.0

Hi Christian,

> However, one issue exists: 
>
> Very often, you do not only need to say "my dts are terms"
>
> <its:termRule its:selector="//xhtml:dt">
>
> Rather, you may also want to say in addtion "all p of a 
> certain class are terms"
>
> <its:termRule its:selector="//xhtml:p[class='foo']">
>
> I wonder how we could take care of this (please shout if 
> this scenario is not relevant).

Mmm... I'm not sure if I understand the issue...

In the case your XHTML has such class='foo' to indicate paragraphs that are terms, I assume you would simply declare that in a
separate documentRules (internal or external), but it would not be part of the documentRules that we would provide as the 'default'
rules for XHTML.

Am I making any sense?

Cheers,
-yves
Received on Friday, 17 March 2006 07:35:32 UTC

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