Re: XSLT for literal mapping/conversion

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 UTC