RE: [xsl] Doctype and namespaces in source/generated files

Subject: RE: [xsl] Doctype and namespaces in source/generated files
From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx>
Date: Sat, 29 May 2004 00:25:49 +0200
> -----Original Message-----
> From: Andreas L. Delmelle [mailto:a_l.delmelle@xxxxxxxxxx]
> 

For the sake of completeness:
> 
> <xsl:template match="*[namespace-uri()='http://www.w3.org/1999/xhtml']">
> 

In XSLT 2.0, you can use (if I interpret correctly)

<xsl:stylesheet ... xpath-default-namespace="http://www.w3.org/1999/xhtml";>

then a simple:

<xsl:template match="*">

should have the same effect as the above.


Cheers,

Andreas

Current Thread