Subject: Re: [xsl] Making all attributes empty and retaining the attributes names From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Fri, 30 May 2008 14:22:32 +0200 |
I tried to retain the attributes names with something like below but I know its incorrect:
<xsl:template match="@*"> <xsl:copy> <xsl:apply-templates select="name(@*)"/> </xsl:copy> </xsl:template>
Use <xsl:template match="@*"> <xsl:attribute name="{name()}"/> </xsl:template>
Martin Honnen http://JavaScript.FAQTs.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Making all attributes empty , Pankaj Chaturvedi | Thread | RE: [xsl] Making all attributes em, Pankaj Chaturvedi |
[xsl] Making all attributes empty , Pankaj Chaturvedi | Date | [xsl] [ANN] DiType 2.0: the first p, Michael Sulyaev |
Month |