xsl-list
[Top] [All Lists]

Re: [xsl] document function cached?

2013-02-07 10:49:29
Ok thnx! Makes sense, but not always what you might want...

I will pick up a bunch of them in one go then.

On Thu, Feb 7, 2013 at 5:46 PM, Liam R E Quin <liam(_at_)w3(_dot_)org> wrote:
On Thu, 2013-02-07 at 17:34 +0100, Michel Hendriksen wrote:

So I wonder, is this call cached?
Yes.

 And if so, how can I disable caching
on this call?

You can't...

But you can sometimes add an extra URI parameter, e.g. appending
?n=1
?n=2
?n=3
and so on, to make the URI change each time.

XSLT is a declarative language, so calling the same function with the
same arguments should always give the same result... although external
functions don't always follow that rule.

Liam

--
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml


--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>