oceatoon wrote:

Hi everyone

I'm trying to generate a new node on every pass through my Reservation Form
(Fiels id, name, date). so in my binding I added
************************************************
<fb:insert-node>
<reservation id="new" from="" to="" by="" for="" board=""/> </fb:insert-node> <fb:value id="for" path="[EMAIL PROTECTED]'new']/@for"/>
<fb:value id="resafrom" path="[EMAIL PROTECTED]'new']/@from">
<fd:convertor datatype="date" type="formatting">
<fd:patterns>
<fd:pattern>yyyyMMdd</fd:pattern>
</fd:patterns>
</fd:convertor>
</fb:value>
<fb:value id="by" path="[EMAIL PROTECTED]'new']/@by"/>


************************************************************

The only way i managed to insert all the data into my new reservation Node
is to have the id="new" and then direct the paths to this id value.

But I'm sure this can be done directly??? on the fly with the insert node


nope, I'm afraid this pretty much is the way how one would need to do it to date, and I'ld have to admit it's not all that elegant,


just a use case that wasn't considered

(you just started me thinking on a more elegant way for this, suggestions are welcomed)


regards, -marc=

Thx for your thoughts
Tibor


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


-- Marc Portier http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center Read my weblog at http://blogs.cocoondev.org/mpo/ [EMAIL PROTECTED] [EMAIL PROTECTED]

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



Reply via email to