|
Subject: Re: [xsl] XSLT 2.0 courses? From: "Norm Tovey-Walsh ndw@xxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Mon, 21 Sep 2020 10:06:42 -0000 |
Dave Pawson dave.pawson@xxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
writes:
>> On 21 Sep 2020, at 02:34, Pieter Lamers pieter.lamers@xxxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
[b&]
>> let $a := ('one','two','three')
>> let $b := ('none')
>>
>> return ($a, $b)[1] will return just the first item in the sequence,
>> 'one', and not 'one','two','three', which might be what you want to
>> achieve in this quasi shorthanded if/else construction.
>
> I wonder how that reads with (ex) DSSSL or elisp users? Odd I would
> imagine.
A bit odd, but itbs a direct consequence of sequence flattening. You
just have to get used to that.
Be seeing you,
norm
--
Norman Tovey-Walsh <ndw@xxxxxxxxxx>
https://nwalsh.com/
> Once the game is over, the king and the pawn go back in the same box.
[demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] XSLT 2.0 courses?, Dave Pawson dave.paw | Thread | Re: [xsl] XSLT 2.0 courses?, Imsieke, Gerrit, le- |
| Re: [xsl] XSLT 2.0 courses?, Dave Pawson dave.paw | Date | Re: [xsl] XSLT 2.0 courses?, Imsieke, Gerrit, le- |
| Month |