Hi Allistair,
This works
<xsl:for-each select="//employee[(./@department = $deptName) and
(./approvals/approval[(_at_)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)])]">
(Obviously the above isn't well-formed XML, so you'll get an error,
but you say that escaping the < doesn't help.) The XPath looks OK to
me. What do you mean by "fails"? What error do you get, or what does
it do differently to what you expect?
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list