# File test/xpath_test.rb, line 289 def test_axe_attribute a = XPath.first( @@doc, "a/attribute::id" ) assert_equal "1", a a = XPath.first( @@doc, "a/e/f[@id='14']/attribute::a" ) assert_equal "d", a end