public static void TestNamespaces(Tag root) { Console.WriteLine("Doing namespaces tests..."); AssertEquals(NAMESPACES, root.GetChildrenForNamespace("person", true) .Count, 8); Tag grandparent2 = root.GetChild("grandparent3"); // get only the attributes for Akiko in the public namespace AssertEquals(NAMESPACES, grandparent2.GetChild("daughter", true) .GetAttributesForNamespace("public"), Map("name", "Akiko", "birthday", GetDate(1976,04,18))); }