On Mon, 4 Feb 2002, Melvyn Sopacua wrote:

> Hi all,
>
> for most of the pages on a new site, I only need a server-side
> 'random' number (can be timestamp), for bannercode.
> All other stuff I can handle with LibXSLT.
>
> So what would be the simplest and fastest solution here, that
> will allow:
> /articles/article1.xml
>
> to be transformed and have a timestamp in it?

How about math:random from exlst? It should be supported natively by
XML::LibXSLT (though I haven't tried it).

  <xsl:value-of xmlns:math="http://exslt.org/math"; select="math:random() *
100000"/>

Or something like that.

-- 
<!-- Matt -->
<:->Get a smart net</:->


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to