private static Element toDom(final org.jdom2.Element element) throws Exception {
        return Objects.requireNonNull(toDom(element.getDocument())).getDocumentElement();
    }
Gets the xml signature insert location.

@param elem the elem
@return the xml signature insert location
support/cas-server-support-saml-core-api/src/main/java/org/apereo/cas/support/saml/util/AbstractSamlObjectBuilder.java