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

RE: Selecting lots of nodes with lots of criteria

Subject: RE: Selecting lots of nodes with lots of criteria
From: "Etheridge, Stephen" <stephen.etheridge@xxxxxxxxxx>
Date: Thu, 2 Sep 2010 16:57:41 +0100
RE:  Selecting lots of nodes with lots of criteria
Thanks Martin - working as expected now.

Kind regards
Stephen

-----Original Message-----
From: Martin Honnen [mailto:Martin.Honnen@xxxxxx]
Sent: 02 September 2010 16:19
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Selecting lots of nodes with lots of criteria

Fabien Tillier wrote:
> 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>

Test whether
   select="//Row[NUMERO = 1 or NUMERO = 2 or NUMERO = 3 (and so on)]"
performs better.
Or, as you mention Kernow meaning you use XSLT 2.0, you could try
   select="//Row[NUMERO = (1, 2, 3, 4, 5, 6, 7, 8)]"



--

	Martin Honnen
	http://msmvps.com/blogs/martin_honnen/



Please help Logica to respect the environment by not printing this email  /
Pour contribuer comme Logica au respect de l'environnement, merci de ne pas
imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus und helfen Sie
so Logica dabei, die Umwelt zu sch|tzen. /  Por favor ajude a Logica a
respeitar o ambiente nao imprimindo este correio electronico.



This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an intended
recipient then please promptly delete this e-mail and any attachment and all
copies and inform the sender. Thank you.

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.