It seam gmail just remove my message in my previous email. Let me try
again.
Thanks, Ivan, for your input and pointing me to the right document. It
looks the "vice verse" can be done with update undeep as well.
Tak
On Sat, Jul 11, 2009 at 12:56 PM, Ivan Shcheklein <shchekl...@gmail.com>wrote:
> Hi Tak-po,
>
>
> Use "update replace" (
> http://modis.ispras.ru/sedna/progguide/ProgGuidesu6.html#x12-430002.3 )
> statement to achieve this. For example:
>
> UPDATE
> replace $p in doc("foo.xml")/a
> with <a><b>{$p/m}</b></a>
>
>
> Ivan Shcheklein,
> Sedna Team
>
> On Sat, Jul 11, 2009 at 6:38 PM, Tak-po Li <takpo...@gmail.com> wrote:
>
>> I am new with Sedna. What is the best way to insert/remove a node
>> level?
>>
>> As an example, make
>> <a>
>> <m>
>> ....
>> </m>
>> </a>
>> into
>> <a>
>> <b>
>> <m>
>> ....
>> </m>
>> </b>
>> </a>
>> and vice verse.
>>
>> Thanks,
>>
>> Tak
>>
>>
>> ------------------------------------------------------------------------------
>> Enter the BlackBerry Developer Challenge
>> This is your chance to win up to $100,000 in prizes! For a limited time,
>> vendors submitting new applications to BlackBerry App World(TM) will have
>> the opportunity to enter the BlackBerry Developer Challenge. See full
>> prize
>> details at: http://p.sf.net/sfu/Challenge
>> _______________________________________________
>> Sedna-discussion mailing list
>> Sedna-discussion@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/sedna-discussion
>>
>>
>
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Sedna-discussion mailing list
Sedna-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sedna-discussion