Hi, Eric. It doesn't look like you got an answer to this on list - did
you figure out how to do this? My gut feeling is that "you can't" but
I'd like to hear if it is possible.
Thanks,
kc
On 3/29/24 6:35 AM, Eric Lease Morgan wrote:
> How do I specify URIs as metadata values in XHTML?
>
> I have the following well-formed and valid XHTML:
>
> <?xml version="1.0" encoding="utf-8"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
> "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:terms="http://purl.org/dc/terms/"
> xml:lang="en">
> <head>
> <title>Hello, World!</title>
> <meta name='terms.creator' content='Eric Lease Morgan' />
> <meta name='terms.title' content='Hello, World!' />
> <meta name='terms.date' content='2024-03-28' />
> <meta name='terms.abstract' content='Hello, World! It is nice to meet you.' />
> <meta name='terms.subject' content='yellow' />
> <meta name='terms.subject' content='red' />
> <meta name='terms.subject' content='blue' />
> </head>
> <body>
> <p>Hello, World!</p>
> </body>
> </html>
>
>
> To make the value of terms.creator more useful, I'd like specify a URI instead of a literal. For example, instead of denoting "Eric Lease Morgan", I'd like to specify "https://www.wikidata.org/wiki/Q102275801", but if I simply put the URI in the content attribute, then how will an RDF processor know the value is a URI?
>
> --
> Eric Morgan <[log in to unmask]>
--
Karen Coyle
[log in to unmask] http://kcoyle.net
m: +1-510-435-8234
skype: kcoylenet/+1-510-984-3600
|