1 In a recent article I discussed PHP’s implementation of the DOM and introduced various functions to pull data from and manipulate an XML structure.
2 Notice that evaluate() was used in the last example.
3 evaluate() will simply return the number so you can use it immediately instead of having to pull the data from a node.