W3C home > Mailing lists > Public > www-tag@w3.org > November 2002

minor RDF tax was: Re: RDDL/RDF

From: Jonathan Borden <jonathan@openhealth.org>
Date: Sat, 16 Nov 2002 21:44:23 -0500
Message-ID: <003601c28de3$3dc3a600$7c674544@ne.mediaone.net>
To: "Simon St.Laurent" <simonstl@simonstl.com>, <www-tag@w3.org>

Simon St.Laurent wrote:
>
> I'd personally love to see: (h: added to avoid idiot mail archive/reader
> problems):
> -----------------------
> <h:html   xmlns:rddl="http://www.rddl.org/"
>    xmlns:h="http://www.w3.org/1999/xhtml" >
> <h:head><h:title>RDDL Description for
> hhttp://example.org/L</h:title></h:head>
> <h:body><h:h1>RDDL Description for http://example.org/L</h:h1>
> <h:p>This document describes the "L" namespace and provides links to
> related resources</h:p>
> <rddl:resource>
>     <rddl:title>DTD</rddl:title>
>     <rddl:nature>http://www.isi.edu/in-notes/iana/assignments/
> media-types/application/xml-dtd</rddl:nature>
>     <rddl:purpose>http://www.rddl.org/purposes#validation</rddl:purpose>
>     <rddl:prose><p>A DTD for the L language.</p></rddl:prose>
>   </rdf:description>
> </rddl:resource>
> ....
> </h:body>
> </h:html>
>
So then how about

<h:html   xmlns:rddl="http://www.rddl.org/"
    xmlns:h="http://www.w3.org/1999/xhtml" >
    <h:head>
        <h:title>RDDL Description for http://example.org/L</h:title>
    </h:head>
    <h:body><h:h1>RDDL Description for http://example.org/L</h:h1>
    <h:p>This document describes the "L" namespace and provides links to
    related resources</h:p>
    <rddl:resource ID="L">
        <rddl:title>DTD</rddl:title>
        <rddl:nature
resource="http://www.isi.edu/in-notes/iana/assignments/media-types/applicati
on/xml-dtd"/>
        <rddl:purpose resource="http://www.rddl.org/purposes#validation"/>
        <rddl:prose><p>A DTD for the L language &ltL&gt is the root
element.</p></rddl:prose>
    </rddl:resource>
....
</h:body>
</h:html>

The above *is* RDF and closely mirrors your ideal XML syntax - sure there
are some minor differences but you must admit the differences are minor.

Jonathan

http://www.jonathanborden-md.com
http://www.erieneurosurgery.com
http://www.openhealth.org
Received on Saturday, 16 November 2002 22:04:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:47:12 GMT