Re: [xsl] Watch "Michael Kay (Saxonica): Standards update: XSLT 3.0" on YouTube

Subject: Re: [xsl] Watch "Michael Kay (Saxonica): Standards update: XSLT 3.0" on YouTube
From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 15 Feb 2018 15:33:46 -0000
> On 15 Feb 2018, at 14:38, David Lee dlee@xxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> with nested tuples does this come close to structured types ?
> The accessor syntax then becomes more relevant   a.b.c  (not an actual
example)

It's a shame that XML allows dot in names, but you get used to the accessor
syntax a?b?c.
>
> is this extension in saxon xquery?

Tuple types are implemented for both XSLT and XQuery (and indeed XPath), but
the declarations for type aliases are (IIRC) XSLT-only.

I'm implementing a stylesheet using maps heavily at the moment, and I'me very
tempted to use the tuple type extension, but of course I want it to be
portable if possible.

Michael Kay
>
>
> Sent from my iPhone
>
>> On Feb 11, 2018, at 4:21 AM, Michael Kay mike@xxxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>>
>>
>>> On 10 Feb 2018, at 22:46, Alan Painter alan.painter@xxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>>>
>>> Tuples!!!!!
>>>
>>
>> For my ideas on tuples, see
>>
>>
http://dev.saxonica.com/blog/mike/2016/09/tuple-types-and-type-aliases.html
>>
>> Much of this is quietly implemented as an extension in Saxon 9.8, provided
you set a switch to enable it (--allowSyntaxExtensions)
>>
>> Michael Kay
>> Saxonica

Current Thread