Re: IE / FF diferent performance doing XSLT
Thanks for your reply. I've allready rewrote some of my templates but still there is some diferences. One tthing that strikes me, i've rewriten some of the to use keys but i see absolutly no diference before and after that. Is that normal? I'm using keys mainly to lookup nodes is a seconde document using the document() function. Best regards. On 9/12/05, Ragulf Pickaxe <ragulf.pickaxe@xxxxxxxxx> wrote: > On 9/8/05, Antsnio Mota <amsmota@xxxxxxxxx> wrote: > > Hello: > > > > I have this XSLT that takes about 2 secs on IE but on FF takes 20 > > secs!!! and others that take up to 5 times more in FF than IE. > > > > Digging a little i think the cause for the 2/20 diference lies on a > > recursive template my xslt is calling. > > > > Anyone had this experince before? Anybody has some advice or help? > > I can just say that different processors have different optimisations. > MSXML3 (or 4?) is actually quite optimised in most regards. When going > from VB6 using MSXML4 to .NET (using the .NET version of XSL > transformer), I had to rewrite several templates to use keys. The same > templates where suddenly unbearably slow using for-each and > preceding-sibling. > > Therefore, no one can really help you here, I think. You will need to > reqrite and test yourself, untill you come up with a solution that is > fast enough on both browsers. Alternatively, you may be able to > persuade FF to optimise their XSL transformer in this regard. > > About <xsl:message>, I have no idea. > > Regards, > Ragulf Pickaxe :-)
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