This PR fixes #10 by automatically removing all root namespaces if they haven't been mapped. The end user can now choose to map them if they decide to keep it using the second argument of the xpathElement or xpathValue method.
This PR also renames the withAttributes method to attributes for better consistency on the element and value methods.
This PR fixes #10 by automatically removing all root namespaces if they haven't been mapped. The end user can now choose to map them if they decide to keep it using the second argument of the
xpathElement
orxpathValue
method.This PR also renames the
withAttributes
method toattributes
for better consistency on theelement
andvalue
methods.