The edition of generic XML documents in Amaya is still experimental. For the supported samples (XHTML, SVG, MathML), the edition follows the same rules as for the corresponding document type. For the other elements, only the Return command is available in this version :
You can also edit your XML documents in the Source View and use the Resynchronize command. Your modifications are then reported in the Formatted view.