W3C home > Mailing lists > Public > www-tag@w3.org > January 2004

Re: [namespaceDocument-8] grokRDDL.xsl mapping to RDF

From: Jonathan Borden <jonathan@openhealth.org>
Date: Fri, 16 Jan 2004 21:15:39 -0500
Message-Id: <0B77C663-4893-11D8-8515-000A95BA5A2C@openhealth.org>
Cc: www-tag@w3.org
To: Dan Connolly <connolly@w3.org>


On Jan 15, 2004, at 11:46 PM, Dan Connolly wrote:
>
>
> I have one gripe about the rddl4 design: it doesn't say
> how to indicate what namespace you're talking about; i.e.
> how to pick out... http://www.rddl.org/ from
>
> | ... identified by the URI <code>http://www.rddl.org/</code>
>
> I kludged it in the XSLT thusly:
>
>   <!-- @@KLUDGE! but we need some way to find out what
>   namespace we're talking about -->
>   <xsl:variable name='subjectNamespace'
> select='/h:html//h:code[starts-with(., "http://")]/text()'/>
>
> What's a good way to mark this up? Something like
>
> 	<code class="theNameSpace">http://www.rddl.org/</code>

That's a nice kludge!


>
> would work... or we could make a 'self' purpose and use that...
>
>   <a href="http://www.rddl.org/"
>    
> rddl:purpose="http://www.rddl.org/purposes#self">http://www.rddl.org/

This seems like a cleaner solution to me.

>
>
> In sum, I like rddl4 but for
>   1. Some pending edits we've discussed:
>    - a hello-world example
>    - DTD foo

An XHTML Modularization conformant DTD is here:

http://www.rddl.org/rddl-xhtml-2.dtd


basically the DTD just needs to define the RDDL namespace as a #FIXED 
attribute, and add the rddl:nature and rddl:purpose attributes to the 
<a> element .... the complexity of the DTD is all XHTML Modularization 
grunge.

Jonathan
Received on Friday, 16 January 2004 21:16:12 GMT

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