minor RDF tax was: Re: RDDL/RDF

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 UTC