Add iterator for a NamedNodeMap
Redo node scanner.
cast() won't change strings to ints.

My past self didn't know how to program.