xsl-list
[Top] [All Lists]

Re: [xsl] Comparing attributes and setting the values

2014-08-25 05:56:18
Hi Martin,

Thanks a ton!
It worked. Used exclude-result-prefixes="exsl" too as the namespace was
coming in the output result.

Thanks,
BR,
Varun


On Fri, Aug 22, 2014 at 11:39 AM, Martin Honnen 
martin(_dot_)honnen(_at_)gmx(_dot_)de <
xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:

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>