@navin.singh
it looks like your XML has defiend a namespace (somedata, but ensure the value somedata is accepted as a valid namespace or edit it accordingly) and therefore you cannot work with local name only.
test it with a log message and yourXDocVar.Root.Name.toString