Re: [xsl] Random selection

Subject: Re: [xsl] Random selection
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Sun, 30 Nov 2008 10:08:18 -0800
> If I know my stylesheet will always run in a Java environment, what's
> the harm in using the Java extensions provided by the processor?

This may be harmful not to you but to the people to whom you are
recommending  the non-portable solution -- maybe 60% or more of the
subscribers in this mailing list.

I am surprized you didn't even mention exslt's random:random-sequence().

-- 
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
Never fight an inanimate object
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play


On Sun, Nov 30, 2008 at 9:52 AM, Mukul Gandhi <gandhi.mukul@xxxxxxxxx> wrote:
> Hi Dimitre,
>  I would prefer a portable solution if it's really required (i.e., my
> IT architecture demands it).
>
> If I know my stylesheet will always run in a Java environment, what's
> the harm in using the Java extensions provided by the processor?
>
> On Sun, Nov 30, 2008 at 10:32 PM, Dimitre Novatchev
> <dnovatchev@xxxxxxxxx> wrote:
>> Hi Mukul,
>>
>> What about people, who use C#, Python, VB, C++, ..., etc?
>>
>> I strongly believe that recommending a non-portable solution on this
>> list when a known, 100% XSLT, portable one exists, should be
>> discouraged.
>>
>>
>> --
>> Cheers,
>> Dimitre Novatchev
>
>
> --
> Regards,
> Mukul Gandhi

Current Thread