[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] exclude result prefixes doesn't stop prefix from showing up.


Subject: RE: [xsl] exclude result prefixes doesn't stop prefix from showing up.
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Fri, 22 Aug 2003 19:04:16 +0100

> My experiences 
> suggest that 
> if the source document contains a default namespace then you 
> have to map 
> the namespace to an alternate prefix (ddi: in my example) 
> otherwise the 
> templates "match and select" statements do not work), in 
> other words its 
> impossible to match elements in the default xmlns namespace without 
> mapping that namespace to a different prefix.

Correct.
> 
> I find this counter-intuitive.

Also correct. This is why it's a FAQ.

Unfortunately many things about namespaces are counter-intuitive. They
were sent to try us. But there's no point complaining, they are there
and we have to live with the rules as they come.

Michael Kay.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread