Hi,
Unfortunately, there is no explicit operation to move nodes. You have to use
either replace, or delete/insert statements within one transaction to
accomplish this task.
Ivan Shcheklein,
Sedna Team
On Wed, Aug 26, 2009 at 12:25 PM, flo <[email protected]> wrote:
> I have been searching w3.org trying to find a simple xquery update
> solution to change order of the siblings but couldn't find it. Insert and
> replace methods just don't feel right to me in such a simple operation.
> Seems strange they did not think of it considering they do state sibling
> order is significant as it is in my project.
>
> Specifically what i need is an operation switching places (indexes) of the
> two neighbor element nodes. Sadly, such an operation is bound to happen more
> than occasionally in my work so i figured i'd ask you guys
>
> Thanks and sorry for the bad english.
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Sedna-discussion mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sedna-discussion
>
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion