> > We have this invalid A: <A><B/><D/></A>. > > > > User1 wants to fix this by adding C first and then by removing B. > > > > User2 wants to remove B first and then to add C. > > > > User3 wants to remove D. > > But XXE doesn't allow: > > User4 wants to convert B into C
Conversion is restricted by compatible content models. So unless the content model (sub-elements and attributes) for B and C are the same, conversion is not possible. On the other hand, you should be able to *replace* B with C (losing any content). @alex

