Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

Re: [XHTML2] CITELANG, TITLELANG attributes

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Wed, 28 Jul 2004 08:38:59 +0200
Message-ID: <41074A03.8030200@annevankesteren.nl>
To: "Jukka K. Korpela" <jkorpela@cs.tut.fi>
Cc: www-html@w3.org

> For CITE, the language of the cited document can be specified in a
> multiple of ways, e.g. in HTTP headers or, if it is an HTML document,
> inside the document itself. Any attribute that specifies the language in
> the citing document would thus normally be superfluous.

Let me give an example:

  <p cite="http://example.com/origineel.nl.xh2 ">
   This is a translation, since most people who read my site don't speak
   Dutch.
  </p>

So the source is written in Dutch, that could be an article, or a poem 
and you want to cite a part of that on your site and make it readable 
for non Dutch people. What to do? Translate.

So the language of the document is EN, the language of the cited 
document is NL. If I want to show that metadata to my visitor, by using 
CSS for instance, I don't want to check the HTTP header and use some 
server-side logic to write it down in my document. I just want an 
attribute to mention the resource language.

Like HREFLANG acted in HTML 4.01, purely for metadata. (Although I agree 
that the new HREFLANG is much more useable.)


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/ >
Received on Wednesday, 28 July 2004 02:39:45 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.