[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Comparing attributes and setting the values
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.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|