[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How to cope with the complexity of an XSLT program

Subject: Re: 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
Re:  How to cope with the complexity of an XSLT program
> 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.