Re: [xsl] Re: Over the years, have you created an XSLT library?

Subject: Re: [xsl] Re: Over the years, have you created an XSLT library?
From: "Liam R. E. Quin liam@xxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 5 Mar 2025 17:08:08 -0000
On Wed, 2025-03-05 at 10:47 +0000, Roger L Costello costello@xxxxxxxxx
wrote:
>
> Would you give an example of an XPath function that solves a common
> task and you would put in a library?

Like some others here, i donbt have a library, but code that ibve
written for clients can often be reused (depending on the agreement
with them).

An example would be an XSLT function that returns the height and width
of a JPEG or i think PNG image, in pixels.

On a recent new project i did not use bCSS Withinb, and now regret it
because the CSS has rules in it that are no longer needed, but itbs
hard to work out which, so i may go back and retrofit it. So i need to
package CSS Within to make it easier to apply.

And thatbs the thing - once youbve made a library and packaged it for
reuse, itbs easy to add to it, but it can be hard to justify taking the
time to do that when writing functions for a particular project.

liam


--
Liam Quin,B https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Barefoot Web-slave, antique illustrations: B http://www.fromoldbooks.org

Current Thread