[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] Re: Random
Subject: [xsl] Re: Random From: Dimitre Novatchev <dnovatchev@xxxxxxxxx> Date: Fri, 29 Apr 2005 07:00:59 +1000 |
On 4/29/05, Ali Choumane <ali.choumane@xxxxxxx> wrote: > Hi, > the solution provided by Dimitre for breaking string into substrings or > arrays, was satisfying for my application. > > In this part of xslt code: > <sentence> > <xsl:attribute name="stamp">Key</xsl:attribute> > <xsl:value-of select="concat($arg1/sentence[last()], $arg2)"/> > </sentence> > > I need to give a random value to the "Key" because I have many "sentence" as a > result's transformation, > > can you help me? Yes, use the templates in random.xsl from FXSL. A very detailed description is available at: http://fxsl.sourceforge.net/articles/Random/Casting%20the%20Dice%20with%20FXS L-htm.htm Cheers, Dimitre Novatchev
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Random, Ali Choumane | Thread | [xsl] Random?, Ali Choumane |
RE: [xsl] Splitting multiple node o, Aron Bock | Date | RE: [xsl] Splitting multiple node o, JBryant |
Month |
Keywords