SVG has its own XML Namespace. You need to understand it so that you write an XPath which is XML Namespace aware.