p.setAttributeNS("http://myAttributeNamespace", "my:attr", "attrValue");
String resAttr1 = xpath.evaluate("//*[@my:attr = 'attrValue']", contentDom);
Assert.assertTrue(resAttr1 != null);
// Test XPath on none ODF element (added explicitly via DOM)
p.appendChild(contentDom.createElementNS("http://myElementNamespace", "my:element"));
String resElement1 = xpath.evaluate("//my:element", contentDom);
Assert.assertTrue(resElement1 != null);
// Save documnet
File targetFile = ResourceUtilities.newTestOutputFile(TARGET);