[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Finding paths in Visio XML exports - recursion q
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|