Re: [xsl] emulating sprintf in XSLT

Subject: Re: [xsl] emulating sprintf in XSLT
From: "Liam R. E. Quin liam@xxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 29 Aug 2022 13:19:35 -0000
On Mon, 2022-08-29 at 06:45 +0000, Wegmann, Frank
frank.wegmann@xxxxxxxxxxxxxx wrote:
>
> I guess, using text value templates is a better choice regarding
> performance, or...?

Probably faster, but more importantly clearer for this use case at
least. Whether creating a text node is faster than calling replace() on
a string will depend on the implementation.

liam

--
Liam Quin - paligo.net, delightfulcomputing.com
Cancer gofundme https://www.gofundme.com/f/5u9v7-every-little-helps
Vintage pictures & texts https://www.fromoldbooks.org/

Current Thread