Subject: Re: [xsl] [string to node] From: Aditya Sakhuja <aditya.sakhuja@xxxxxxxxx> Date: Mon, 22 Feb 2010 09:01:58 -0800 |
Ah! :) Thanks david about that insight on exslt. Thanks everyone for the inputs. On Sun, Feb 21, 2010 at 4:43 PM, David Carlisle <davidc@xxxxxxxxx> wrote: > On 22/02/2010 00:17, Aditya Sakhuja wrote: >> >> So, I have thought of<xsl:variable name="a" select="..."/> B to get the >> value. however, I have to choose depending upon certain conditions, >> and hence the<xsl:choose> > > Usually (or at least often) you can express the condition in xpath rather > than xsl:choose, and so still use the select. > >> inside. Also, exsl:node-set() library is >> >> not complete (http://exslt.org/exsl/index.html). If you download this, >> the node-set xsl is missing. I had looked at this option earlier. > > no, you misunderstand how the node-set extension is implemented. > You do not download any code it is built in to to the processor > xslt 1 implementations which support this (which is almost all of them) > build in the node-set extension, you just need to declare the namespace to > access the function. > > >> >> However, I have just managed to get what I need working using the >> inherent, xalan:nodeset() which comes bundled with the Xalan-C >> processor. > > xalan:nodeset and exslt;node-set will be teh same function, it's just more > portanble to call it exslt node-set. > > David > -- -Cbib B%C%
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] [string to node], David Carlisle | Thread | [xsl] generating unique random numb, a kusa |
[xsl] selecting elements with param, ivanmacculi\@libero\ | Date | Re: [xsl] selecting elements with p, Martin Honnen |
Month |