@Override
    public void invoke(@NotNull Project project, Editor editor, PsiFile file) throws IncorrectOperationException {
        final XmlAttribute attribute = PsiTreeUtil.getContextOfType(myToken.getContainingFile(), XmlAttribute.class, true);
        assert attribute != null;

        final ParserDefinition parserDefinition = LanguageParserDefinitions.INSTANCE.forLanguage(myToken.getLanguage());
        assert parserDefinition != null;

        final PsiFile f = XPathChangeUtil.createXPathFile(myToken, "1 " + myValue + " 2");

        final PsiElement firstChild = f.getFirstChild();
        assert firstChild != null;
//
        final XPathToken child = PsiTreeUtil.getChildOfType(firstChild, XPathToken.class);
        assert child != null;

        myToken.replace(child);
    }
@Override
    public void invoke(@NotNull Project project, Editor editor, PsiFile file)