# File test/xpath_test.rb, line 105 def test_root_child assert_equal "a", XPath::first(@@doc, "/a").name c = XPath::first( @@doc, "a/b/c" ) assert_equal "a", XPath::first(c, "/a").name end