[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: "varun bhatnagar varun292006@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Mon, 25 Aug 2014 10:56:03 -0000 |
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.honnen@xxxxxx < xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > 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. >> <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.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Comparing attributes and , Martin Honnen martin | Thread | [xsl] Will XSLT 3.0 be synchronized, Dimitre Novatchev dn |
[xsl] Helping with deciding databas, L2L 2L emanuelallen@ | Date | [xsl] XSLT 1.0 Namespace Help, Bridger Dyson-Smith |
Month |
Keywords