[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] XPath challenge: can you simplify this XPath expression?
- From: Andrew Welch <andrew.j.welch@gmail.com>
- To: "Costello, Roger L." <costello@mitre.org>
- Date: Mon, 11 May 2009 17:06:57 +0100
>
> how about:
>
> count(Title, Author, Date) eq count(Author) + 2 eq count(*)
After you have corrected it, of course :)
Something like:
for $x in count((Title, Author, Date)) return $x eq count(Author) + 2
and $x eq count(*)
...but that's nasty, and David's given the best way.
--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]