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

Re: XPath predicate in with-param's select

Subject: Re: XPath predicate in with-param's select
From: "Felix Geller" <fgeller@xxxxxxxxx>
Date: Mon, 17 Dec 2007 15:16:27 +0100
Re:  XPath predicate in with-param's select
On Dec 17, 2007 3:03 PM, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> > The code runs fine as is. But the processing time explodes (from 6s to
> > 82m) if I change line 33 such that the select statement uses
> > a predicate on the node set.
>
> I don't think there is any intrinsic reason why that should perform badly;
> but unfortunately writing your code to achieve good performance is
> inevitably dependent (to some degree) on the processor you are using. So
> this is really a product-specific question.

I also tried SaxonB for Java, but I don't get the current version of
my stylesheet (without the predicate) to run on my XML document. It
fails with an OutOfMemoryError, also when upping the VM's maximum by
-Xmx512000000. I'm using Java 1.6.0_03 and the Saxon B 9.0.02j (I took
this from the archive's name, not sure how to get the version through
parameters.)

Here is the output I get when using SaxonB, ellipses indicate omitted
path names: http://pastebin.com/m4142863c

Any hints?

~felix

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.