W3C home > Mailing lists > Public > public-swbp-wg@w3.org > January 2006

[RDF/A] A non-XHTML Example

From: John McClure <jmcclure@hypergrove.com>
Date: Tue, 31 Jan 2006 13:59:29 -0800
To: <public-swbp-wg@w3.org>
Message-ID: <MGEEIEEKKOMOLNHJAHMKCEPPDPAA.jmcclure@hypergrove.com>
The primer states that RDF/A can be used in XML streams other than XHTML2
(the primer mentions XHTML1 and SVG). I am wondering if a sample to that
effect can be included using, for instance, Dublin Core elements ....

<foo:Person rdf:about='someURI'>
   <dc:title rdfa:property='FullName'>Jon Doe</dc:title>
   <dc:identifier rdfa:property='SSN'>999-99-9999</dc:identifier>

Please note that an rdfa: namespace is presumed necessary, unless one
expects every XML dialect to be as kind as XHTML has been to hardwire the
RDF/A attributes. Also note that the rdf: namespace is used for the 'about'

Received on Tuesday, 31 January 2006 21:58:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:31:16 UTC