Re: [basex-talk] Random Numbers from Random.org

2020-06-03 Thread Christian Grün
An additional alternative is to use fetch:xml [1] or (if it’s only about retrieving random numbers) switching to the Random Module [2]. [1] https://docs.basex.org/wiki/Fetch_Module#fetch:xml [2] https://docs.basex.org/wiki/Random_Module On Wed, Jun 3, 2020 at 6:32 PM Omar Siam wrote: > > In t

Re: [basex-talk] Random Numbers from Random.org

2020-06-03 Thread Omar Siam
In the XQuery data model doc() do not change while a query is evaluated. So a doc() read once can in will be cached for that query. You may get what you want if you use %non-deterministic. The built in random functions work like that. Am 03.06.2020 um 18:26 schrieb Leo Studer: Hello I try to