xsl-list
[Top] [All Lists]

Re: [xsl] XSLT 2.0 courses?

2020-09-21 09:31:16
On Mon, Sep 21, 2020 at 02:08:36PM -0000, Wendell Piez 
wapiez(_at_)wendellpiez(_dot_)com scripsit:
Aside from the name question (I'd maybe like first-available()?) the
question arises, what would be the difference between
first-defined(($a,$b,$c)) and head(($a,$b,$c)) or ($a,$b,$c) => head() as
the case may be?

That's a good point!  I had not thought of head() in this context.

My inclination is that while

head(('','thing','widget'))

and

('','thing','widget')[1]

both return '', first-available(('','thing','widget')) ought to return 'thing', 
but I also feel my toes starting to extend out over an abyss.

-- 
Graydon Saunders  | graydonish(_at_)gmail(_dot_)com
Þæs oferéode, ðisses swá mæg.
-- Deor  ("That passed, so may this.")
--~----------------------------------------------------------------
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>