29.2 (says pg 15)
-----------------

DOMNode* root = doc.getDocumentElement();

doc is a ptr, right?


pg 18
-----
You switch the object name, attributes to nodes

DOMNamedNodeMap* attributes = price_element->getAttributes();
. . .
int i = . . .;
// A value between 0 and attributes->getLength() - 1
DOMNode* attribute_node = nodes->item(i);
. . .

29.3, pg 25
-----------

You can also set element attributes with the setAttribute function:
        ^^^^
Did you want that there?

