Re: RDFa reliance on namespace declaration

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 UTC