public XMLValue getPropertyAsXMLValue(URI uri, String namespace, String name, Credentials credentials) throws IOException {
Property property = getProperty(uri, namespace, name, credentials);
if ( property == null ) return null;
DOMBuilder builder = new DOMBuilder();
Element element = builder.build(property.getElement());
return new ElementValue(element);
}