void () { myFixture.configureByText("a.xml", """ <root xmlns:xi="http://www.w3.org/2001/XInclude"> <before/> <xi:include href="include1.xml" xpointer="xpointer(/include1/*)"/> <after/> </root> """); VirtualFile inc1 = myFixture.copyFileToProject("include1.xml"); assertSubtagNames("before", "foo", "bar", "after"); changeText(inc1, "<include1><a/></include1>"); assertSubtagNames("before", "a", "after"); }