W3C home > Mailing lists > Public > www-rdf-interest@w3.org > June 2004

Re: XSLT for literal mapping/conversion

From: Thomas B. Passin <tpassin@comcast.net>
Date: Fri, 04 Jun 2004 08:56:45 -0400
Message-ID: <40C0718D.7070801@comcast.net>
To: www-rdf-interest@w3.org

Danny Ayers wrote:
>  
> Does the following look a feasible way of using the two together:
> 
> <r1:date>
>    <xxx:transform rdf:resource="http://example.org/r2-to-r1.xsl" />
>    <rdf:value>4th June 2004</rdf:value>
> </r1:date>
> 
> Where r2-to-r1.xsl will be an XSLT transformation applied to the document:
> 
> <rdf:value xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">4th 
> June 2004</rdf:value>
> 

This doesn't really capture what you want, partly because the transfome 
is not in fact a property of r1:rate, and partly because you would want 
  to operate at the type rather than the instance level.

In my vew, a transform would be a Class that had input, output, and 
equation/algorithm/etc properties.

Also, the fact that the identifier for the transform happens to be the 
url of a real xslt document doesn't imply (in RDF) that the "meaning" 
has anything to do with that document.  Better to specify that location 
explicitly.

Cheers,

Tom P
Received on Friday, 4 June 2004 08:55:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:52:07 GMT