W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > April 2005

Re: GRDDL implementation in Raptor

From: Dave Beckett <dave.beckett@bristol.ac.uk>
Date: Wed, 6 Apr 2005 12:10:32 +0100
To: public-rdf-in-xhtml-tf@w3.org
Message-ID: <20050406121032.17e35b2e@hoth.ilrt.bris.ac.uk>

On Wed, 6 Apr 2005 11:46:22 +0100, Dave Beckett <dave.beckett@bristol.ac.uk> wrote:

I said:

> It might help if the xpaths to get the transforms were in the document too.
> 
> I should try alternative ones such as to find grddl in XML.  Guessing
> something like //[@data-view:interpreter] with
>   data-view defined as http://www.w3.org/2003/g/data-view#

Offlist I got a reminder that the (x)html <head> profile
attribute can have multiple space-separated URIs:
  http://www.w3.org/TR/html401/struct/global.html#adef-profile
  (I assume xhtml1 re-uses this)
  (xhtml2 seems to have ditched it)

So I should not use @profile="http://www.w3.org/2003/g/data-view"
but instead, search for it in the attribute value.  Something like:

//html:html/html:head[contains(@profile,"http://www.w3.org/2003/g/data-view")]/html:link[@rel="transformation"]/@href

Dave
Received on Wednesday, 6 April 2005 11:11:15 GMT

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