Re: GRDDL transformations to get base URI?

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 UTC