Subject: Re: [xsl] Randomly displaying articles from RSS feed From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Fri, 11 Jan 2008 19:03:42 +0100 |
"Andrew" == Andrew Welch <andrew.j.welch@xxxxxxxxx> writes:
Andrew> I think Abel was implying that you would need to append a Andrew> timestamp to the query string to make it a unique url per Andrew> request, ensuring a new number would be returned each time Andrew> (avoiding the rules of the doc() function and perhaps Andrew> caching along the way)
How are you going to do this?
fn:current-dateTime() will return the same value each time.
<xsl:function name="f:my-id"> <xsl:variable name="new-node"> <node /> </xsl:variable> <xsl:sequence select="generate-id($new-node)" /> </xsl:function>
Cheers, -- Abel Braaksma
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Randomly displaying artic, Wei, Alice J. | Thread | Re: [xsl] Randomly displaying artic, Wendell Piez |
RE: [xsl] Document Function Befuddl, Signature House | Date | Re: [xsl] Randomly displaying artic, Abel Braaksma |
Month |