Re: [xsl] How do you avoid relearning the same coding technique over and over?

Subject: Re: [xsl] How do you avoid relearning the same coding technique over and over?
From: "Anthony J (Tony) Bufort ajbufort@xxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 6 Feb 2025 18:07:47 -0000
LOL!!  Here's to that ticket finally getting addressed.  Fascinating
approach.
- Anthony J. (Tony) Bufort Owner, AJB Consulting Renton, WA USA

------------------------------------------------------------------------

From: Imsieke, Gerrit, le-tex gerrit.imsieke@xxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, February 6, 2025 11:01:03 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [xsl] How do you avoid relearning the same coding technique
over and over?

In order to be able to quickly find XSLT code that ought to be on my
disk, I once tried to index all .xsl files with BaseX. It ran into the
problem that a database cannot hold more than 255 namespaces. The issue
that I filed [1] will turn 11 next month.

Gerrit

[1] https://github.com/BaseXdb/basex/issues/902

On 06.02.2025 13:19, Roger L Costello costello@xxxxxxxxx wrote:
> Hi Folks,
>
> A few days ago, I needed some code to iterate over a set of folders and
then for each folder iterate over its files.
>
> Over the years I have solved that problem--use the expath file
module--many times. In my most recent need, I spent a few minutes
searching my file system to find an XSLT program that uses the expath
module, but I didn't find anything, so I spent time relearning how to use
the expath file module. What a waste of time.
>
> In the ideal world, when I develop some code--such as code to iterate
over folders and subfolders--I would pause what I'm doing, create example
code showing how to solve the task, and store that example code in some
location on my file system that I'll remember 6 months, 6 years later.
Alas, I'm in a hurry. I don't do that.
>
> What's the solution? Discipline? No matter how much I'm in a hurry,
stop and create an example. Is that the solution?
>
> How do you avoid relearning the same coding technique over and over?
>
> /Roger
>
>

--
Gerrit Imsieke
Gesch\xE4ftsf\xFChrer / Managing Director
le-tex publishing services GmbH
Weissenfelser Str. 84, 04229 Leipzig, Germany
Phone +49 341 355356 110, Fax +49 341 355356 510
gerrit.imsieke@xxxxxxxxx, http://www.le-tex.de

Registergericht / Commercial Register: Amtsgericht Leipzig
Registernummer / Registration Number: HRB 24930

Gesch\xE4ftsf\xFChrer / Managing Directors:
Gerrit Imsieke, Svea Jelonek, Thomas Schmidt

XSL-List info and archiveEasyUnsubscribe (by email)

Current Thread