Update tests for namespaced enum variants
Move Node and Nodeset from Document crate
Use if-let syntax
Update deprecated is_digit