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

Selecting lots of nodes with lots of criteria

Subject: Selecting lots of nodes with lots of criteria
From: "Fabien Tillier" <f.tillier@xxxxxxxx>
Date: Thu, 2 Sep 2010 17:12:59 +0200
 Selecting lots of nodes with lots of criteria
Hi List.
I think I have reached some limitations of the XSL parser.
I am trying to select a list of nodes from a document based on criteria
like
<xsl:call-template name="tab208">
<xsl:with-param name="rows"

select="//Row[NUMERO=1]|//Row[NUMERO=2]|//Row[NUMERO=3]|//Row[NUMERO=4]|
//Row[NUMERO=5]|//Row[NUMERO=6]|//Row[NUMERO=7]|//Row[NUMERO=8]"/>
</xsl:with-param>
</xsl:call-template>

The real selection list can have more than 2000 criteria, and Kernow
gets stuck while trying to read the xsl.
Thus, I am pretty sure I am using a bad way to make this selection.
The other side is that I have about 300 different templates, like the
one called above, each with a selection list that is different.
And the XML file I am parsing can get pretty big too... (more than 10000
"Row" nodes)
I can have the criteria as a list (like 1,2,3,etc...), but I don't know
how to express it in the select part (This XSL is generated from a big
XML file, so I haven't input the arguments by hand !).

Any help would be appreciated, I am really stuck.

Best regards,
Fabien

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.