@NotNull
    public static XPathFile createXPathFile(PsiElement context, String text) {
        final XPathFile file = createXPathFile(context.getProject(), text, context.getContainingFile().getFileType());
        ContextProvider.copy(context.getContainingFile(), file);
        return file;
    }
@NotNull
    public static XPathFile createXPathFile(PsiElement context, String text)