I would do it more elegant:

```java
XmlDocument node = response.node("/page/widgets/widget[@class='com.rultor.widget.BuildHealth']/builds/build[coordinates/rule='%s']").get(0);
health.add(node.xpath("code/text()").get(0));
health.add(node.xpath("duration/text()").get(0));
health.add(node.xpath("health/text()").get(0));
```

Don't you think?