RE: [xsl] default namespace in match attribute of xsl:template

Subject: RE: [xsl] default namespace in match attribute of xsl:template
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Tue, 4 Feb 2003 08:34:11 -0000
> 
> <xsl:template match='response'> <xsl:message>response</xsl:message>
> </xsl:template>
> 
> The response element falls in the default namespace 
> 'someuri'. How do you indicate this namespace in the match 
> parameter of xsl:template. 

<xsl:template match="x:response" xmlns:x="someuri"/>

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


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


Current Thread