Re: [xsl] Member function?

Subject: Re: [xsl] Member function?
From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 2 Aug 2022 15:53:17 -0000
> The map would be preferred due to readability, performance, or both but more
one than the other?


Primarily because if you've got a tool designed for the job, using something
else feels clumsy.

Performance isn't going to be significantly different if (a) you use key(),
(b) the data is of modest size, (c) both the key and the value are strings (if
conversion to or from strings is involved, this can be a very substantial
overhead.)

Michael Kay
Saxonica

Current Thread