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

Re: unefficiate xpaths

Subject: Re: unefficiate xpaths
From: "Corey Wilson" <corey@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 9 Jun 2003 16:47:31 -0400
corey wilson
If this helps anyone out... When I try it with a smaller xml file, it will
work fine.. If I have only around 150 commission nodes it will work rather
quickly.. but the complete xml file has over 2000 commission nodes.. and
that is where it hangs up.

----- Original Message ----- 
From: "Corey Wilson" <corey@xxxxxxxxxxxxxxxxxxxxxx>
To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, June 09, 2003 16:22
Subject:  unefficiate xpaths


> I am not sure how much help anyone can give me on this, but any help would
> be very much appreciated.  I have a rather large (1.5 meg) xml file and it
> is taking about 11 mins to evaluate this xsl:for-each statement... I
haven't
> been using xsl for long, so I may be going about it completely wrong
>
> <xsl:for-each
select="//clients/client[count(commissions/commission[earnerId
> = //earners/earner[type = $rptType]/id]) = 0 and <website=$prodClass)]">
>
> $rptType and $prodClass are both global variables
>
> I know this doesn't tell you much about how much processing is going on...
> but there has to be a more efficient way of getting the nodes I want than
> the 11 min. example I have above...
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 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.