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

Re: RDFa reliance on namespace declaration

From: Ian Davis <iand@internetalchemy.org>
Date: Fri, 16 Jun 2006 14:29:50 +0100
Message-ID: <4492B24E.50800@internetalchemy.org>
To: mark.birbeck@x-port.net
CC: public-rdf-in-xhtml-tf@w3.org

On 16/06/2006 12:32, Mark Birbeck wrote:
> Are you saying this is something that happens to you (in which case,
> which processor are you using?) or are you saying that it's a
> possibility?

This stylesheet strips namespaces from ben's homepage when I run it 
under xsltproc.

<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:x="http://www.w3.org/1999/xhtml"
 >

<xsl:template match="x:html">
   <x:html>
     <xsl:copy-of select="*"/>
   </x:html>
</xsl:template>

</xsl:stylesheet>

It's obviously because I don't copy the html element, but I think this 
stylsheet isn't atypical.

Ian

-- 
http://purl.org/NET/iand
Blogging at... http://iandavis.com/blog
Working on... http://directory.talis.com/
Received on Friday, 16 June 2006 13:30:03 GMT

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