public class DigesterUtils {
public static String schema2digesterConfig(Element element, Document document, Configuration configuration) {
DigesterFormat digesterFormat = new DigesterFormat();
Element baseElement = XmlSchemaUtils.getBaseElement (document, configuration);
if (baseElement==null)
return digesterFormat.schema2digesterConfig(element, configuration);
else
return digesterFormat.schema2digesterConfigExploded(baseElement, document, configuration);
}