* @throws XMLParsingException
*/
private void assertAttribute(XPathPullParser parser, XPathElement node,
String name, String value) throws XMLParsingException {
assertEquals(XPathPullParser.ATTRIBUTE, parser.next());
assertEquals(new AttributeXPathElement(new SingleSlashXPathElement(
name, node)), parser.getCurrentElement());
assertEquals(value, parser.getCurrentValue());
}