Patterns and antipatterns in micropipelining within XSLT
The program logic of pipelining is often expressed by nesting function calls within one another. An alternative formulation assigns intermediate results to a number of convenience variables. But in XSLT, legibility can break down in a sea of parentheses, and maintenance is a challenge when both variables and references need to change or be reordered as you add, delete, or rearrange steps in the pipeline. We can avoid these challenges by expressing the pipeline as a sequence of simple steps (for example, operations in a visitor pattern or a table of matching value pairs for string replacement). Single steps are easier to read and also easier to edit because adjustments to a step are self-contained and do not affect other steps.
2000 ◽
Vol 7
(4)
◽
pp. 263-272
◽
Keyword(s):
2019 ◽
Vol 22
(6)
◽
pp. 1075-1106
Keyword(s):
2019 ◽
Vol 2673
(4)
◽
pp. 205-216
◽
Keyword(s):
2021 ◽
pp. 113771
Keyword(s):