Subject:using saxon trace (option -T) output Author:ad van der ende Date:30 Jun 2006 09:34 AM
Does any one ever used the trace output of saxon to produce a call tree
or flow tree?
It contains very useful and interresting information about the execution path of your xslt.
Stylus Studio (whose support forum you just posted on) includes
a profiler which builds a call tree for you. Although we predigest
the output, you can save the raw data as XML from the Profiler tab.
This works for Saxon 6.5.x and Saxon 8.7.x, and also several other
processors such as Xalan and our internal processor.
Subject:using saxon trace (option -T) output Author:ad van der ende Date:03 Jul 2006 03:11 AM
HI,
That is one of the uses, but I would like to use it to make a sequence diagram.
Would you think this is possible?
I know that such a trace could contain not all possible paths.
Would you think it is possible to predict the execution paths of a xslt? With execution path I mean the order of template matches and call templates.
For this question, you'd be better of posting to saxon-help
or xsl-list. But since the order of execution in XSLT depends
on the input XML, I doubt you'd be able to do any sort of
prediction based on static analysis of the XSLT itself except
for the most trivial of stylesheets.