Home Products Consulting About Us White Papers Careers Contact Us Tutorials
 

 Download Delve® SOA Fast-Prototyping Toolkit (Beta 1.0)

Tutorials - How to Apply a Simple XPath Filter
Page 2 of 2

We can make our filter criteria more sophisticated by adding logic to the filter expression. For instance, suppose we want to let the filter pass only those parents with at least one daughter and at least of son. To accomplish this, we can introduce the XPath “and” keyword into the filter, followed by an additional clause.

 

 

The same basic strategy allows us to select only those parents with at least three daughters.

 

 

In this case, we make use of the built-in XPath function “count.”


 Download Delve® SOA Fast-Prototyping Toolkit (Beta 1.0)
Previous Step

Go Back To Previous Step

View Entire Code Sample

Read a Detailed Product Description

Read About Delve and XPath in Detail

Browse Product White Papers

 
Home Products Consulting About Us White Papers Careers Contact Us Tutorials