Hi,
True, using the fn:current-dateTime() will return the same value each time.
However, when you set some kind of statement, to suggest something like when
the value of the "second" is, for example 1-4, will return article 1, 5-6,
article 2, etc, will return something customizable for the "frequency of the
result to be displayed."
This may not be the best way to do it, but when you have only a small number
of articles to deal with, this should be able to work without getting into too
much parameter settings.
Good luck.
Alice
======================================================
Alice Wei
MIS 2008
School of Library and Information Science
Indiana University Bloomington
ajwei(_at_)indiana(_dot_)edu
________________________________________
From: Colin Paul Adams [colin(_at_)colina(_dot_)demon(_dot_)co(_dot_)uk]
Sent: Friday, January 11, 2008 12:47 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Randomly displaying articles from RSS feed
"Andrew" == Andrew Welch
<andrew(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com> 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.
--
Colin Adams
Preston Lancashire
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--