Re: [xsl] How to cope with the complexity of an XSLT program with thousands of template rules?

Subject: Re: [xsl] How to cope with the complexity of an XSLT program with thousands of template rules?
From: "Norm Tovey-Walsh ndw@xxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 2 Jun 2022 15:01:03 -0000
> 2. I make extensive use of ENTITIES. I have come to love ENTITIES!
> They are super helpful -- way less errors -- to define a value in one
> place and then use the value (via an ENTITY reference) in many places.

Entities are awfully brittle. Youbll never be able to do any sort of
transformation of the stylesheets using, for example, XSLT, because that
process will obliterate all of your entities.

Why would you want to process your stylesheets with a stylesheet?
Well, to generate documentation, for example:

  https://xsltng.docbook.org/guide/t_docbook.html

I have occasionally processed my XSLT with XSLT to change the
stylesheets, though I concede, not often.

                                        Be seeing you,
                                          norm

--
Norman Tovey-Walsh <ndw@xxxxxxxxxx>
https://nwalsh.com/

> Men are not sufficiently perfect to exercise justice in the name of
> virtue: the rule of life should be indulgence and kindness of
> heart.--Anatole France

[demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]

Current Thread