Subject: Re: [xsl] xslt adds elements twice in xml. From: "Joris Gillis" <roac@xxxxxxxxxx> Date: Thu, 17 Feb 2005 22:54:01 +0100 |
I wrote the following, but it adds the enablePortlet element and the sessionPool element twice in the resultant file --
<xsl:template match="portlet">
<xsl:copy>
<xsl:attribute name="pickerCompatibleVersions"><xsl:text>10.1.2</xsl:text></xsl:attribute>
<xsl:attribute name="maxDataRows"><xsl:text>1000</xsl:text></xsl:attribute>
<xsl:copy-of select="@*"/>
<xsl:element name="sessionPool">
<xsl:attribute name="maxRefreshWaitMinute"><xsl:text>1</xsl:text></xsl:attribute>
<xsl:attribute name="maxRefreshRetries"><xsl:text>1</xsl:text></xsl:attribute>
<xsl:attribute name="maxGenericParameters"><xsl:text>10</xsl:text></xsl:attribute>
</xsl:element>
<xsl:apply-templates/>
</xsl:copy>
<xsl:copy-of select="enablePortlet"/>
</xsl:template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] xslt adds elements twice in x, Nishi Bhonsle | Thread | Re: [xsl] xslt adds elements twice , Nishi Bhonsle |
Re: [xsl] Javascript variable to XS, Robert Koberg | Date | Re: [xsl] xslt adds elements twice , Nishi Bhonsle |
Month |