Download Delve® SOA Fast-Prototyping Toolkit (Beta 1.0)
| Tutorials - How To Compare Members in an XPath Filter |
Page 1 of 2 |
Sometimes we want the result of filter execution to yield results based the values of multiple document members. More often than not, this means comparing two or more member values in some way. This lesson examines a couple ways that document members can be compared within an XPath filter.
Suppose we have a document expressing a set of temperature readings taken at various places and times.

Let’s say we way to extract the content of those locations for which inside temperatures where less than outside temperatures at the times the measurements were taken. We can do this by referencing both “inside-temp” and “outside-temp” in the same filter expression.

|
|
|