XPath works for XML with namespace defined.

DocumentBuilderFactory is not namespace aware by default, so it is explicitly set to be namespace aware.