- What is the name of the variable that points to the root object in
a tree created by a PHP DOM parser?
- What function would you call on a DOM node object to retrieve all
children elements with the tag "price"?
- What two functions can you call on an xpath object in order to have
it evaluate an expression and return all nodes that meet the criteria
for that expression?
- What is the function that creates a new element node (not the one that
inserts it into the tree but the one that simply creates a new node)?
- What command do I call to save a modified XML document?
solutions