W3C home > Mailing lists > Public > public-grddl-wg@w3.org > February 2007

Draft spec text for HTTP Headers

From: Ian Davis <Ian.Davis@talis.com>
Date: Tue, 6 Feb 2007 09:45:12 -0000
Message-ID: <DD5E887552496241BC701548837A282F05331FD0@nemo.talis.local>
To: <public-grddl-wg@w3.org>

Using GRDDL With HTTP Headers

To accommodate XML dialects that do not have the necessary extension
mechanisms in either their schemas or instances we can use HTTP headers
to specify the necessary profile and transformation. 

To associate an instance document with a GRDDL transformation include a
Link and a Profile header in the HTTP message. The Link header contains
the URI of the transformation and a "rel" parameter having a value of
"transformation". The Profile header contains the URI of the GRDDL
profile http://www.w3.org/2003/g/data-view


An example HTTP Message 

This HTTP message is the response to a request for the document at
http://example.com/doc

HTTP/1.1 200 OK
Date: Tue, 06 Feb 2007 08:34:16 GMT
Content-Length: 35537
Content-Type: application/xml; charset=utf-8
Last-Modified: Fri, 03 Feb 2007 15:00:10 GMT
ETag: "45c3a65a;42380ddc"
Link: <http://www.w3.org/2000/06/dc-extract/dc-extract.xsl>;
rel="transformation"
Profile: <http://www.w3.org/2003/g/data-view>

<?xml version="1.0" encoding="utf-8"?>
<doc>
...
</doc>




Ian
-- 
Platform Programme Manager 
Talis Information Ltd. 
tel: +44 7966 473 239 
skype: callto:ian_davis
 
The very latest from Talis
read the latest news at www.talis.com/news 
listen to our podcasts www.talis.com/podcasts 
see us at these events www.talis.com/events 
join the discussion here www.talis.com/forums 
join our developer community www.talis.com/tdn 
and read our blogs www.talis.com/blogs

 
Any views or personal opinions expressed within this email may not be those of Talis Information Ltd. The content of this email message and any files that may be attached are confidential, and for the usage of the intended recipient only. If you are not the intended recipient, then please return this message to the sender and delete it. Any use of this e-mail by an unauthorised recipient is prohibited.
 
 
Talis Information Ltd is a member of the Talis Group of companies and is registered in England No 3638278 with its registered office at Knights Court, Solihull Parkway, Birmingham Business Park, B37 7YB.
Received on Tuesday, 6 February 2007 09:45:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:11:47 GMT