Hi
Nice one Andy :-)
On Mon 05-May-2003 at 10:19:05PM +0100, Andy Powell wrote:
>
> - use of 'dc:' and 'dcterms:' rather then 'DC.' and 'DCTERMS.' as
> prefixes for DCMI property names
I think this does make sense -- with more and more DC in XML and RDF
people expect the syntax in XHTML to be the same -- a template for
articles in a open source project I have been working on was using
dc:title -- I think it is going to happen whatever the spec says...
> - use of <link> tag for properties with a value that is a URL for another
> resource
>
> To summarise, this means that
>
> <meta name="dcterms:modified"
> scheme="dcterms:W3CDTF"
> content="2003-05-05" />
> <link rel="dc:relation"
> href="http://www.ukoln.ac.uk" />
>
> is the recommended form, rather than
>
> <meta name="DC.date.modified"
> scheme="W3CDTF"
> content="2003-05-05" />
> <meta name="DC.relation"
> content="http://www.ukoln.ac.uk" />
I think this is better from a XHTML point of view -- the link tag is
for links -- using scheme="URI" with a meta element always seems
weird to me when there was a link element...
These two ways of doing it are mentioned in the HTML 4.01 spec:
http://www.w3.org/TR/html4/struct/global.html#edef-META
Also since the rel and rev attributes of the link tag take a list
you can also do this:
<link rel="dc:relation next"
href="foo.html" />
next being something that works with the Mozilla site navigation
toolbar and also results in preloading for faster browsing.
Where as lang and xml:lang can be used with meta elements for link
hrfelang should be used:
http://www.w3.org/TR/html4/struct/links.html#adef-hreflang
So perhaps an example should look like this:
<link rel="dc:relation"
hreflang="en-gb"
href="http://chris.croome.net/" />
(BTW, I'm flattered!)
One small point, this:
For XHTML 1.0, both 'lang' and 'xml:lang' should be used.
Should perhaps say something like:
For XHTML 1.0 Transitional (i.e. XHTML designed to be HTML
compatible, served as text/html [1]), both 'lang' and 'xml:lang'
should be used [2], for other version of XHTML such as 1.1 only
xml:lang should be used [3].
[1] http://www.w3.org/TR/xhtml-media-types/
[2] http://www.w3.org/TR/xhtml1/#C_7
[3] http://www.w3.org/TR/xhtml11/changes.html#a_changes
Chris
--
Chris Croome <[log in to unmask]>
web design http://www.webarchitects.co.uk/
web content management http://mkdoc.com/
|