[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: creating arbitrary document references
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?
<xsl:accumulator-rule match="xref" select="$value?next()"/> So perhaps you can adapt to get a new number based on the accumulator attached random number generator of a matched node.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|