Thanks Marc for the confirmation,

In this case I found a very ugly but in the end "get what I want" solution.

in my model I always keep an empty "reservation" node with an attribute I
use to integrate the new data, once the old empty node is overriden,I then
insert again a new empty reservation node for the next time around meaning
I always have this empty reservation node.

Just one important thing is to put the insert-node at the end of the bind
since its execution on binding is sequential, I want my empty tag to be
inserted last.

Ugly :( but it works :) 
****************************************************
here's the example bind:
my constant empty tag is recognised by its from value at new, from will be a
date so there"s no ambiguity
//I fill all the tags in the empty reservation
  <fb:value id="resato" path="[EMAIL PROTECTED]'new']/@to"/>
    <fb:value id="for" path="[EMAIL PROTECTED]'new']/@for"/>
    <fb:value id="by" path="[EMAIL PROTECTED]'new']/@by"/>
//finish by filling the from attribute
    <fb:value id="resafrom" path="[EMAIL PROTECTED]'new']/@from"/>
//then I insert a new empty node
    <fb:insert-node>
        <reservation from="new" to="" by="" for="" board="">
            <meal date="" breakfast="" lunch="" diner=""/>
        </reservation>
    </fb:insert-node>
******************************************************

Tib



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to