Subject: RE: [xsl] Finding paths in Visio XML exports - recursion question From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Sun, 28 Sep 2008 16:07:28 +0100 |
> This basically does the same as the three loops but in one > statement - however, it now takes a very long time to run - > over a minute as opposed to about a second. This isn't a > major issue as it won't be run very frequently but do you > know why this performance hit might have happened? > Questions about performance can only be answered with knowledge of a specific XSLT processor. I tried running your sample using Saxon 9.1. It ran in 125ms, but the output was more-or-less empty. That's possibly because your stylesheet only processes shapes satisfying [v:Label='Shape Reference' and v:Value='1'], and that label doesn't appear in your source data. On the other hand, if I remove that predicate, it runs even faster and still produces no output. Michael Kay
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Finding paths in Visio XM, Steven Davies | Thread | Re: [xsl] Finding paths in Visio XM, Steven Davies |
Re: [xsl] Finding paths in Visio XM, Steven Davies | Date | [xsl] parsing parens in the park, Syd Bauman |
Month |