xsl-list
[Top] [All Lists]

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

2018-02-15 09:33:51


On 15 Feb 2018, at 14:38, David Lee dlee(_at_)calldei(_dot_)com 
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> 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(_at_)saxonica(_dot_)com 
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:


On 10 Feb 2018, at 22:46, Alan Painter 
alan(_dot_)painter(_at_)gmail(_dot_)com 
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> 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


--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>