RE: [xsl] Good old namespace problem(slightly different)!!

Subject: RE: [xsl] Good old namespace problem(slightly different)!!
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Wed, 30 Apr 2003 16:34:37 -0400
I wrote -
>...
> <!-- Here you add the namespace to each element and otherwise copy its
> contents --> 
> <xsl:template match='*' mode='import'>
>    	<xsl:element name='{name()}' namespace='www.abc.org'> 
>    		<xsl:apply-templates select='@*' mode='import'/>
>  		<xsl:apply-templates select="* | text()" mode='import'/>
> 
>  	</xsl:element> 
>  </xsl:template> 
>      

Of course, I meant local-name() instead of name() - although name()
worked when I tested it.

Cheers,  

Tom P

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


Current Thread