assertEquals(1.0d, xpath.evaluate("count(/a:feed)", feed));
assertTrue(xpath.booleanValueOf("/a:feed/a:entry", feed));
assertEquals(1.0d, xpath.numericValueOf("count(/a:feed)", feed));
assertEquals("Atom-Powered Robots Run Amok", xpath.valueOf("/a:feed/a:entry/a:title", feed));
assertEquals(1, xpath.selectNodes("/a:feed/a:entry", feed).size());
assertTrue(xpath.selectSingleNode("/a:feed", feed) instanceof Feed);
assertEquals(feed, xpath.selectSingleNode("..", feed.getTitleElement()));
assertEquals(feed, xpath.selectSingleNode("ancestor::*", feed.getEntries().get(0)));
assertEquals("The feed is is urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6", xpath
.valueOf("concat('The feed is is ',/a:feed/a:id)", feed));