xsl-list
[Top] [All Lists]

Re: [xsl] Comparing attributes and setting the values

2014-08-22 04:39:03
varun bhatnagar varun292006(_at_)gmail(_dot_)com 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.
<A>
             <target>
                 <xsl:apply-templates select="$union/*" />
             </target>
         </A>

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.
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>