[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: creating arbitrary document references

Subject: Re: creating arbitrary document references
From: "Graydon graydon@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 29 May 2019 13:51:18 -0000
Re:  creating arbitrary document references
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

Works beautifully.

Thank you!

-- Graydon

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.