Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
For some reason, I'm getting an attribute inserted in a XSLT output and I'm not sure what is causing it.
A snippet of my XSLT that causes the error:
<xsl:if test="string($currentPage/data [@alias='HomeLeftCol_1Visible']) = '1'"> <h4><xsl:value-of select="$currentPage/data [@alias = 'HomeLeftCol_1Label']" disable-output-escaping="yes"/></h4> <div><xsl:value-of select="$currentPage/data [@alias = 'HomeLeftCol_1Content']" disable-output-escaping="yes"/></div></xsl:if>
The h4 and div elements (bolded above) have the following attribute inserted in the output:
xmlns:Exslt.ExsltSets="urn:Exslt.ExsltSets"
Here's the generated output:
<h4 xmlns:Exslt.ExsltSets="urn:Exslt.ExsltSets">...content...</h4><div xmlns:Exslt.ExsltSets="urn:Exslt.ExsltSets"><p>...content...</p></div>
Any ideas what's causing this?
I'm using umbraco v 4.0.3 (Assembly version: 1.0.3654.6540) running on Win2008 / IIS7.
Thanks!Chris
Devex,
In the xslt header you need to exclude those xslt extensions eg exclude-result-prefixes="Exslt.ExsltSets "
reagrds
Ismaiol
Works brilliantly! Thanks!
Chris
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Extra attribute (xmlns:Exslt.ExsltSets) inserted in XSLT output
For some reason, I'm getting an attribute inserted in a XSLT output and I'm not sure what is causing it.
A snippet of my XSLT that causes the error:
The h4 and div elements (bolded above) have the following attribute inserted in the output:
xmlns:Exslt.ExsltSets="urn:Exslt.ExsltSets"
Here's the generated output:
Any ideas what's causing this?
I'm using umbraco v 4.0.3 (Assembly version: 1.0.3654.6540) running on Win2008 / IIS7.
Thanks!
Chris
Devex,
In the xslt header you need to exclude those xslt extensions eg exclude-result-prefixes="Exslt.ExsltSets "
reagrds
Ismaiol
Works brilliantly! Thanks!
Chris
is working on a reply...