Re: [Xsltforms-support] Contacts xform: problem with xsltforms
Brought to you by:
alain-couthures
From: COUTHURES A. <ala...@ag...> - 2009-09-15 08:34:35
|
> I want that you can't never delete the last element remained in the list. > After your suggestion it works. Thank you very much. > > On Tue, Sep 15, 2009 at 9:45 AM, COUTHURES Alain > <ala...@ag...> wrote: > >> nodeset="contact[position()!=last()]" >> Yes, this is a correct XPath syntax and it is already supported in XSLTForms >> but it means that the last contact element in the current list according to >> its position cannot be deleted so it doesn't allow to delete the second >> element when there are two elements and so on. Is it really what you want ? >> > > Pressing the 'add section' button, I would like also to add a new > section after it, copying the contents of the section before the > button, but it seems that the code line > > <xforms:insert nodeset="." at="last()" position="after" > ev:event="DOMActivate"/> > > doesn't work... > Is it a problem of xforms code or of xsltforms? > From my point of view, it works with the latest SVN version. Is it the one you're using ? Best regards, -Alain |