Say I have the following XML file:\n\n<parent xmlns="uri://domain.tld/"><child /></parent>\n\nIn order to query the child node I need to register the uri://domain.tld/\nnamespace with a prefix, like 'parent'. I then need to do '//\nparent:parent//parent:child'. My question is this: if one node is in\na namespace are all children to that node assumed to be in the same\nname space? In that case it seems like it's redundant to have to\nspecify the namespace for each and every successive child. I mean, is\nthere even a way to construct a child to parent:parent such that '//\nparent:parent//child' would return a node?\n\nAlso, it doesn't seem to me like there's really a lot of point in\nassigning a namespace to the root node? I mean, since there can only\nbe one root node it's not as if disambiguation is necessary. For\n<root><parent xmlns="uri://a.a" /><parent /></root>, you'd need a\nnamespace to differentiate the two parent tags, but for my initial XML\nit seems totally unnecessary? And yet I frequently see XML documents\nthat do just this - place the root node in it's own namespace.