- 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
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 UTC