[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSLT 1.0 support in browsers, as of June 2008

Subject: Re: XSLT 1.0 support in browsers, as of June 2008
From: Julian Reschke <julian.reschke@xxxxxx>
Date: Wed, 18 Jun 2008 17:01:42 +0200
Re:  XSLT 1.0 support in browsers
Andrew Welch wrote:
(*) Both Saxon and MSXSL do it in ~30 seconds, so it's really problem with
the XSLT performance in FF.

Perhaps it doesn't like things like:


<xsl:template match="text()[not(ancestor::artwork)]">

Not sure what you think is a problem here.


and

select="count(//ed:del|//ed:ins)!=0"

I just moved this into a global variable, and the performance difference for MSXML and Saxon isn't measurable, while for xsltproc it's huge. So xsltproc apparently computes this multiple times, although it doesn't need to.


So is this a problem with the XSLT code, or the implementation?

and

<xsl:if test="not(ancestor::ed:del) and not(//xref[@target=$anchor])">

...very much :0)

The only way to avoid the "//" above would be to use xsl:key, which didn't seem necessary so far because Saxon and MSXML seem to perform well without. I'll give that a try when I have time.


(and putting /> on a new line is imho just horrible)

BR, Julian


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.