Download exampleRun example
Executes the function for each DOM element of the xpath query;The DOM element is $el argument of the function;

Context: //app/filters/dom/filter/xpath

- filter node first processing instruction holds the function code; this function does not have to return anything since the operations are made on the DOM Element;
- xpath node text content holds the xpath;
See also:

DOMNode class || DOMElement class
Setting up the xpath
Setting up the filter code