Overview
This example shows how we can change the context node for the XPATH processing so that it executes from another node than the root node.
Context Nodes
In PHP the XPATH engine uses the root node as the default context node.
In newer versions of PHP we can add an optional context node from the document which allows us to execute a query from
any node in the document.
In this case we use $node as the context node and thus are executing ./color for each car, and not for the root of the document.
Web Page Output: