Hello List.
I've the problem storing/editing my customers list in Xindice database.
So, I use CForms binding directly to xindice url.
Mty biding file starts as:

<fb:context
                xmlns:fb="http://apache.org/cocoon/forms/1.0#binding";
                xmlns:fd="http://apache.org/cocoon/forms/1.0#definition";
                path="customers/customer"> 

But, I guess that's not correct, coz for INSERT operation it probably
could be OK, but for EDIT operation I should use some kind of xpath
pointing binding to correct customer id e.g.
<fb:context
                xmlns:fb="http://apache.org/cocoon/forms/1.0#binding";
                xmlns:fd="http://apache.org/cocoon/forms/1.0#definition";
                path="customers/[EMAIL PROTECTED] = some_id]">

My questions are:
1. Is that correct? Or I should use xpath uppon selection data in
xindice-URL (e.g. xmldb:xindice-embed:///db/void/customers/[EMAIL PROTECTED]
= $some_id];
2. If so, and I could select ALL records, how then point binding in
<fd:context> node?
3. How to separate INSERT and UPDATE in binding.
-- 
Sincerely,
Arsen A. Gutsal
SOFTSKY Ltd CEO/Executive
SOFTSKY - Cost effective Software Development


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

Reply via email to