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

Re: GRDDL transformations to get base URI?

From: Jeremy Carroll <jjc@hplb.hpl.hp.com>
Date: Thu, 27 Jan 2005 17:24:06 +0000
Message-ID: <41F923B6.1060208@hplb.hpl.hp.com>
To: Dan Connolly <connolly@w3.org>
CC: RDF in XHTML task force <public-rdf-in-xhtml-tf@w3.org>

Dan Connolly wrote:
> After working around the lack of it a few times*, I'm pretty
> convinced the input to a [GRDDL] transformation should be not
> only the content but its base address. The XML infoset includes
> the base address, in theory, but I don't think XSLT exposes
> it by default. 
> 

xslt2 does ...

J
> 
> * e.g.
> 
> http://www.w3.org/2003/12/rdf-in-xhtml-xslts/grokGeoURL.xsl :
>   <rdf:Description rdf:about=""> <!-- hmm... xml:base? a param? -->
> 
> http://www.w3.org/2000/10/swap/p3p/grokDataSchema.xsl :
>   <xsl:param name="Base" select='"http://www.w3.org/TR/P3P/base"'/>
> 
> http://www.w3.org/2001/sw/DataAccess/grokIssues.xsl :
>   <xsl:variable name="base" select='h:head/h:link[@rel="base"]/@href'/>
> 
> 
> [GRDDL]
>   GRDDL Data Views: Getting Started, Learning More
>   http://www.w3.org/2003/g/data-view
> 
Received on Thursday, 27 January 2005 17:24:34 GMT

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