xsl-list
[Top] [All Lists]

RE: problem: recursive templates slowing xalan processor down

2004-05-10 13:56:44
Post your code!

It's entirely possible that one XSLT processor spots an efficient strategy
for executing a particular stylesheet and another processor doesn't.

Without seeing your code, that's about all one can say.

Michael Kay 

-----Original Message-----
From: poppe chris [mailto:pc_poppe(_at_)hotmail(_dot_)com] 
Sent: 10 May 2004 19:26
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] problem: recursive templates slowing xalan 
processor down


Hello,

im having a peculiar problem, ive made a xsl stylesheet that uses a 
recursive template. When i use xmlspy to perform the xsl 
transformation on a 
sample xml file everything works fine, but when i use a xalan 
processor 
(org.apache.xalan.xslt.Process) the recursive template seems 
to freeze the 
processing. First I pass about 15 nodes to the template wich 
then calls 
itself with one node less. and so on. In the beginning it 
goes fast but 
after 3 recursive calls everything slows down and finally 
looks like its 
frozen (in fact i still get some output but only after very 
long times). Is 
it possible that several recursive calls freeze the processor 
and how come 
everything works with the xmlspy debugger??


sincerely,
Chris Poppe

_________________________________________________________________
Op zoek naar een professionele hostingpartner voor je website? 
http://hostbasket.msn.be


--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--