|
Subject: Re: [xsl] Optimising XSLT 2.0 restructuring of large SVRL files (Saxon-HE 12.9) From: "Graydon graydon@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 26 May 2026 13:01:39 -0000 |
On Tue, May 26, 2026 at 12:33:05PM +0000, Susanne Wunsch susanne.wunsch@xxxxxxxxxxxxx scripsit:
> Hi all,
> b) spread the logic across several templates, dispatched via match and mode
> (so each "level" of the hierarchy has its own mode and its own dedicated
> templates)?
This one.
Templates are appropriately analogous to functions, where we want it to
do one thing. This approach also has the advantage of keeping the
transform overall somewhat more comprehensible.
-- Graydon
--
Graydon Saunders | graydonish@xxxxxxxxxxxx
\xDE\xE6s ofer\xE9ode, \xF0isses sw\xE1 m\xE6g.
-- Deor ("That passed, so may this.")
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Optimising XSLT 2.0 restr, Susanne Wunsch susan | Thread | Re: [xsl] Optimising XSLT 2.0 restr, Liam R. E. Quin liam |
| Re: [xsl] Optimising XSLT 2.0 restr, Susanne Wunsch susan | Date | [xsl] [ANN] Balisage 2026 Prelimina, Tommie Usdin btusdin |
| Month |