Lab 5: Get the Cheap Juicers

Use p:filter to get all the juicers that cost less than 100 dollars.

Here is the XPath expression that selects all juicers under 100 dollars:


   //juicer[cost &lt; 100]


The p:filter step will result in outputting a sequence (i.e. multiple
<juicer> elements). The pipeline's p:output by default only supports the
output of one document. However, you can change this behavior by setting
its sequence attribute to true:


   <p:output port="result" sequence="true" />

 
Name your pipeline file: filter.xpl

Run it.

See lab5-pipeline.gif for an image of the pipeline you are to create.
(open the gif image in a browser)

