[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] XSLT 3.0 accumulator: what is the default value of @streamable?


Subject: Re: [xsl] XSLT 3.0 accumulator: what is the default value of @streamable?
From: Wolfgang Laun <wolfgang.laun@xxxxxxxxx>
Date: Tue, 31 Dec 2013 11:51:43 +0100

On 31/12/2013, Costello, Roger L. <costello@xxxxxxxxx> wrote:
> If @streamable defaults to "yes", then why would I ever write:
>
> 	<xsl:accumulator name="..."  streamable="yes">
>
> ?

This is difficult to answer because hardly anyone would know why *you* would,
or  would not, write something. ;-)

Replacing "I" by "anyone", here's two good answers:
   1) Some people don't bother (or fail) to learn or remember what the
default is.
   2) Many people think that it is good practice to code defaults anyway, mostly
       because of 1).

Happy New Year!
-W


Current Thread