Adding support for XML namespaces.

As requested in #32