Elements
Four names for the price of three:(defclass element (parent-node) ((local-name :accessor local-name) (prefix :accessor namespace-prefix) (namespace-uri :accessor namespace-uri))) (defun qualified-name (node) ...)
Rename using setf.
Hidden slots: attributes and extra namespaces.