Re: [xhtml2] Questions

Le 13 août 2004, à 12:34, Jens Meiert a écrit :
> Well, can you please shed some light on some XHTML 2.0 issues (though
> they're rather questions which concern former HTML versions):
>
> - For non-native English speakers, it's sometimes difficult to 
> understand
> the difference between <cite /> and <quote />, since citations often 
> seem to
> be quoted, too (this is a presentational aspect, I know).
>
> I must admit, what exactly is the semantic difference? I always 
> perceived
> the <quote /> and <blockquote /> elements as a more general approach to
> represent citations, too.

This (the examples given) could be *one* of the possibilities, the 
precise content model is not completely defined; Some will say it's a 
feature, others will say it's a bug. It really depends on what you do 
and what kind of apps you developed, maybe the missing guide for XHTML 
is an official
	*Best Practices for XHTML*


<blockquote class="citation" cite="urn:isbn:0674805704" xml:lang="en">
<p>For form is only the manifestation, the shape of content.</p>
<p><cite class="dc:title">The Shape of Content</cite> - <cite 
class="dc:author">Ben Shahn</cite></p>
</blockquote>

or another one.

<p><cite class="dc:author">Ben Shahn</cite> in the book <cite 
class="dc:title">The Shape of Content</cite> has written:</p>

<blockquote class="citation" cite="urn:isbn:0674805704" xml:lang="en">
<p>For form is only the manifestation, the shape of content.</p>
</blockquote>

The class values (dc:title, dc:author) are my own and have nothing 
official.
if you want to style that in CSS, you have to do something like that:

.dc\:title {
	color: black;}

the value of the cite is a *URI*, so URN are possible if you think that 
in your system it's better. Unfortunately they are not implemented as a 
link in browsers. When there is for example an "http-like" URI. You may 
wish to have a contextual menu to go to the source.




-- 
Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager
*** Be Strict To Be Cool ***

Received on Saturday, 21 August 2004 15:02:53 UTC