HTML and CSS Reference
In-Depth Information
Dublin Core Expressed by (X)HTML Meta and Link Elements
A URI reference can be either a URI or a relative reference expressed in the RFC 3986 format [111]. URI references
should be represented in full (Listing 7-41).
Listing 7-41. A Full URI Reference for the subject Metadata
<link rel="DCTERMS.subject" href="" />
Relative references are allowed only if they can be resolved by the base URI ( href attribute on the base element
or from the document URI). Listing 7-42 shows an example.
Listing 7-42. A Relative URI Reference for Dublin Core
<base href="" />
<link rel="schema.DCTERMS" href=" " />
<link rel="DCTERMS.isReferencedBy" href="doc1" />
A prefixed name is an abbreviation for a URI used in the DC-HTML format [112]. A DC-HTML prefixed name
consists of a prefix followed by a period ( . ) and a local name . For example, a DC-HTML prefixed name is expressed as
attribute value in the form shown in Listing 7-43.
Listing 7-43. A DC-HTML Prefixed Name
<link rel="schema.DC" href=" " />
<meta name="DC.title" content="Smartphone descriptions" />
A Dublin Core statement is represented by either an (X)HTML meta or a link element, depending on the content
of the statement (literal or nonliteral value surrogate). For example, the document title can be provided by the meta
element as presented in Listing 7-44, while the subject is represented by the link element as in Listing 7-45.
Listing 7-44. Document Title Declared Using Dublin Core
<meta name="DC.title" content="Smartphone descriptions" />
Listing 7-45. Document Subject Declared Using Dublin Core
<link rel="DCTERMS.subject" href="" title="Topic" />
Dublin Core metadata on the document language, author, and so on, can be declared in the XHTML document
head, as shown in Listing 7-46.
Listing 7-46. Document Language and Creator Described with Dublin Core
<meta name="DC.language" content="en" />
<meta property="dc:creator" content="John Smith" />
Dublin Core Expressed in XML
Creating XML applications with Simple Dublin Core metadata according to XML schemas instead of XML DTDs
is recommended. XML namespaces should be applied to identify Dublin Core elements, element refinements, or
encoding schemes. Properties should be encoded as XML elements and values. The names of these XML elements
should be XML qualified names (QNames). Property names should be all lowercase. The XML element should be
repeated when providing multiple property values.
Search WWH ::

Custom Search