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

1 condition OK, adding a second blows it up

Subject: 1 condition OK, adding a second blows it up
From: "Allistair Crossley" <Allistair.Crossley@xxxxxxx>
Date: Tue, 1 Jul 2003 17:19:56 +0100
1 condition
Another one that has caused me grief..

This works

<xsl:for-each select="//employee[(./@department = $deptName) and (./approvals/approval[@timestamp > $filterFDate])]">

However, when I add a second condition it fails

<xsl:for-each select="//employee[(./@department = $deptName) and (./approvals/approval[(@timestamp > $filterFDate) and (@timestamp < $filterTDate)])]">

as does this permutation

<xsl:for-each select="//employee[(./@department = $deptName) and (./approvals/approval[@timestamp > $filterFDate]) and (./approvals/approval[@timestamp < $filterTDate])]">

$filterFDate and $filterTDate are both defined. The escaped versions of < and > also fail.


Allistair Crossley 
Senior Intranet Developer
QAS Ltd 
Direct Dial: 020 7819 5343 



<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> 
-------------------------------------------------------
QAS Ltd.
Developers of QuickAddress Software
<a href="http://www.qas.com">www.qas.com</a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>


 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.