Re: [xsl] creating arbitrary document references

Subject: Re: [xsl] creating arbitrary document references
From: "Graydon graydon@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 29 May 2019 13:51:18 -0000
On Tue, May 28, 2019 at 09:12:08PM -0000, Martin Honnen martin.honnen@xxxxxx scripsit:
> On 28.05.2019 22:38, Graydon graydon@xxxxxxxxx wrote:
> > So how can I pick a random member of that sequence of
> > files-available-to-be-referenced each time the template matches and I
> > need to replace the value of @href with that arbitrary actual file
> > reference?
> 
> You could also try
>   random-number-generator(generate-id())?number

I tried this one first in preference to attempting to comprehend
accumulators.

Works beautifully.

Thank you!

-- Graydon

Current Thread