Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

<xsl:if test="not( ...

Status
Not open for further replies.

zekmek

Programmer
Jun 12, 2003
44
PT
Hello everybody,

I'm working on an wsl stylesheet in which i do a lot of tests:

<xsl:template match=&quot;flights/flight&quot;>
<xsl:if test=&quot;not(./segment/airline/@id='JR')
and not(./segment/airline/@id='Z9')
and not(./segment/airline/@id='QO')
and not(./segment/airline/@id='R7')
and not(./segment/airline/@id='X8')
and not(./segment/airline/@id='VE')
and not(./segment/airline/@id='OY')
and not(./segment/airline/@id='RK')
...

The problem is that i have a lot of them and i noticed that until 50 not ... and not ... it works fine, but above, from 51 it makes an error...

Has anybody got a solution for that ?

Thanks all ;-)
 
try it with xsl:choose instead. That should work.

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top