Changes

Jump to navigation Jump to search
286 bytes added ,  15:04, 6 December 2010
no edit summary
<p>With the release of version 6.0, BaseX offers a complete implementation of the XQuery UpdateFacility (XQUF).</p>  ==New Expressions==<p>The XQUF offers five new expressions to modify data. While insert, delete, rename and replace basically explain themselves, the transform expression is different. Modified nodes are copied in advance and the original databases remain untouched. </p> == fn:put() Function==
==Effectson Your Documents==
<p>In BaseX, all updates are performed on database nodes. This is why update operations
never affect the original input file. You can, however, use the<a href='commands#export'><code>EXPORT</code></a> command or theXQuery function <code>fn:put()</code> function to create an updated XML file.</p>
==Indexes==
<p>As BaseX aims mainly for efficiency, the maintenance of indexes is left to the user.
This requires the user to call the <a href='commands#optimize'><code>[[OPTIMIZE]]</code></a>
</blockquote>
==fn:put()and Fragments==
<p>As a consequence, updates on a fragment are not visible in an XML file created with
<code>fn:put()</code>. If this functionality is required, the transform expression can be applied.
Anonymous user

Navigation menu