The increasing popularity of XSLT brings up the requirement of more efficient performance. In this paper, we propose two optimization techniques based on template caller-callee analysis. One is the template instantiation optimization which analyzes a stylesheet and identifies the templates to be instantiated before transformation. The other is the static lazy XML parsing optimization that constructs a pruned XML tree by statically identifying the nodes that are actually referred. Furthermore, we have implemented both our optimizations on Saxon and have evaluated its performance. In these experiments, we have proved both of them to be practically useful and to improve XSLT performance.
[1]
James Bailey,et al.
Static Analysis of XSLT Programs
,
2004,
ADC.
[2]
François Bry,et al.
Symmetry in XPath
,
2002
.
[3]
Tim Furche,et al.
XPath: Looking Forward
,
2002,
EDBT Workshops.
[4]
Nabil Layaïda,et al.
An incremental XSLT transformation processor for XML document manipulation
,
2002,
WWW '02.
[5]
Welf Löwe,et al.
Lazy XML processing
,
2002,
DocEng '02.
[6]
Guido Moerkotte.
Incorporating XSL Processing into Database Engines
,
2002,
VLDB.