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

GRDDL transformations to get base URI?

From: Dan Connolly <connolly@w3.org>
Date: Thu, 27 Jan 2005 11:21:51 -0600
To: RDF in XHTML task force <public-rdf-in-xhtml-tf@w3.org>
Message-Id: <1106846512.5075.328.camel@localhost>

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. 

* 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 Data Views: Getting Started, Learning More

Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
Received on Thursday, 27 January 2005 17:21:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:18 UTC