|
Subject: Re: [xsl] Copy idiom and overriding namespaces: trying to be smart, finding approaches From: Abel Braaksma Online <abel.online@xxxxxxxxx> Date: Wed, 26 Jul 2006 20:45:14 +0200 |
<xsl:template match="*" >
<xsl:element name="{local-name()}" namespace="{$target-namespace}">
<xsl:apply-templates select="@* | node()" />
</xsl:element>
</xsl:template>
Abel Braaksma www.nuntia.nl
I'm not at all sure what you're trying to do here, but
match="*[local-name() = '']
looks all wrong. Every element has a local name.
Michael Kay http://www.saxonica.com/
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Copy idiom and overriding, Abel Braaksma Online | Thread | Re: [xsl] Copy idiom and overriding, Abel Braaksma Online |
| Re: [xsl] Copy idiom and overriding, Abel Braaksma Online | Date | Re: [xsl] Copy idiom and overriding, Abel Braaksma Online |
| Month |