RE: [xsl] Matching a template

Subject: RE: [xsl] Matching a template
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 12 Oct 2009 11:45:57 +0100
> I'm not sure how to match elements in no namespace once 
> you've changed the xpath-default-namespace, but the simple 
> work around is to not use it (give the xhtml namespace a 
> prefix and use that for processing those elements) and then a 
> simple match="idAplicatie" would work.

You can set xpath-default-namespace at any level.

<xsl:template match="abc" xpath-default-namespace="">

will override any setting at the xsl:stylesheet level.


Michael Kay 

Current Thread