[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Comparing attributes and setting the values

Subject: Re: [xsl] Comparing attributes and setting the values
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 22 Aug 2014 09:38:53 -0000

varun bhatnagar varun292006@xxxxxxxxx wrote:

I have tried your suggestion out but my xslt processor throws an error.
It is not able to process the stylesheet because of apply-templates part
where you have passed the variable.
                 <xsl:apply-templates select="$union/*" />

If you are using an XSLT 1.0 processor then you need to try

<xsl:apply-templates select="exsl:node-set($union)/*" />

(where the stylesheet declares the xmlns:exsl="http://exslt.org/common" namespace.). Also with some XSLT 1.0 processors like Microsoft's MSXML you need a different namespace.

Current Thread