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

Re: xsl optimization

Subject: Re: xsl optimization
From: Oskar Werewka <ow5@xxxxxxxxxxxxxx>
Date: Fri, 18 May 2001 00:32:39 +0200
Re:  xsl optimization

From my experience when you uses more detailed match - phrase in the xsl:template element it can work faster

I was hawing (for multi language support) in my XML doc

<page>
        <labels>
                <label id="1"> ............. </label>
                <label id="2"> ............. </label>
        </labels>
</page>

at first I was selecting labels using this:

<xsl:value-of select="label[@id='2']"/>

and then changed it to:

<xsl:value-of select="/page/labels/label[@id='2']"/>

the result was quite good,
the page was generated 2 or 3 times faster

but every text on the page was transformed that way.


Hi !

Is there any possibility for optimizing an XSL ?

I mean I work on a project right now and I count how much time it takes to
parse an XML with an XSL through Java. Well in an old version it took way
too much, while in a new version (with a new XSL) it works faster.

So I want to know if the word "optimization" can be applied to XSL
programming.
If yes, anybody can tell me what are the principles for optimizing an XSL.

Thank you in advance,
Gabriel Erzse


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list




--

Wyjedz z nami na Madagaskar!
Wez udzial w konkursie [ http://konkursy.onet.pl ]



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


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.