==Effects on your documents==
In BaseX, all updates are performed on database nodes. Update operations thus never affect the original input file. You can, however, use the [[Commands#EXPORT|EXPORT]] command or the fn:put() function to create an updated XML file. If the database option <code>[[Options#WRITEBACK|database optionWRITEBACK]] <code>WRITEBACK</code> is turned on, changes in your database are propagated back to the original input file. Make sure you back up your data in advance, as this approach modifies the underlying XML file.
==Indexes==